Overview
To authenticate with Meilisearch, you will need:- Instance URL - The base URL of your Meilisearch instance
- API Key - A Meilisearch API key (not the master key)
Prerequisites
- A Meilisearch Cloud project, or a self-hosted Meilisearch instance launched with a master key
Instructions
Step 1: Find your instance URL
Meilisearch Cloud- Sign in to Meilisearch Cloud.
- Select your project.
- Copy the Database URL shown in the project overview, e.g.
https://ms-1a2b3c4d5e6f.meilisearch.io.
https://search.example.com or http://localhost:7700. Do not add a trailing slash.
Step 2: Get an API key
Meilisearch Cloud- In your project, open the Settings tab and select API keys.
- Copy the Default Admin API Key (full read/write on documents and indexes), or create a custom key scoped to the actions you need.
key value of the Default Admin API Key, or create a custom key restricted to specific actions and indexes.
A custom key needs the actions your use case requires (e.g.
search, documents.*, tasks.get), plus version for connection verification. Include keys.get if you plan to generate tenant tokens without providing the key uid manually.Step 3: Enter credentials in the Connect UI
- Open the form where you need to authenticate with Meilisearch.
- Enter your Instance URL and API Key in their respective fields.
- Submit the form to connect your instance.