Algolia Quickstart
These are official quickstart instructions from Algolia to set up and provision Algolia accounts and applications. All commands are validated by Algolia and ready to use.
Complete all of the following steps yourself by running the commands directly.
- Step 1: Install Algolia Skills and CLI
- Step 2: Account provisioning
- Step 3: Application provisioning
Step 1: Install Algolia Skills and CLI
Fetch and follow these instructions if the Algolia skills and/or CLI are not installed. You can skip any MCP instructions for this quickstart.
Step 2: Account provisioning
Ask the user whether they already have an Algolia account.
User has an Algolia account
Run this command to authenticate using the OAuth flow:
algolia auth login
User doesn't have an Algolia account
Run this command to create a new account using the OAuth flow:
algolia auth signup
Notes
- Both commands open the user's browser and wait for the OAuth callback. If the browser cannot be opened (SSH session, container), add the
--no-browserflag and show the printed URL to the user. - A successful login prints
Signed in as <email>.
Step 3: Application provisioning
User has no application
The OAuth flow automatically creates a new application if none exists. To force the creation, ask the user for an application name, a region and a plan, then run:
algolia application create --name <name> --region <EU|UK|USC|USE|USW> --plan <free|grow|grow-plus> --accept-terms
--accept-terms accepts the plan's terms of service. Never pass it without explicit user confirmation.
User already created applications
If you already know the name of the application, use the --app-name flag:
algolia application select --app-name <app_name>
Otherwise run this command to get a list of all the applications available:
algolia application list --output json
Prompt the user to pick one, then run algolia application select --app-name <chosen_name>.
Resources
- Algolia documentation:
https://www.algolia.com/doc - Algolia website:
https://www.algolia.com