Connecting to Meilisearch on Layerbase Cloud

Meilisearch exposes its normal HTTPS API for full-text search, instant search, and lightweight relevance tuning.

Best for: Product search, documentation search, app-wide search, autocomplete, and searchable admin tools.

1

Open your database in the dashboard

Go to /cloud, click the database you just created, and the connection panel shows the host, port, username, password, and a ready-to-paste connection string for the engine.

Use the generated master key or scoped API key from the dashboard.

2

TLS is required, on by default

Use the https:// endpoint from Quick Connect.

Meilisearch HTTP API over HTTPS

3

Use any standard client

Meilisearch works with the normal client family for that engine. Start with the dashboard snippet, then move the same URL and credentials into your app environment.

If your client has separate direct, pooled, TLS, or HTTP options, prefer the exact variant shown in Quick Connect.

bashMeilisearch
curl -H "Authorization: Bearer YOUR_TOKEN" "https://your-host.cloud.layerbase.dev/indexes"

Meilisearch notes

  • Create scoped keys for browser-side search experiences.
  • Keep write-capable keys in trusted server code only.