A
Algolia CLI
Details
- Command
-
algolia - Docs
- https://www.algolia.com/doc/tools/cli/get-started
Authentication
Algolia application ID + API key compound discovered
$ algolia indices list --application-id ALGOLIA_APPLICATION_ID --api-key ALGOLIA_API_KEY env ALGOLIA_APPLICATION_ID, ALGOLIA_API_KEY /$ algolia profile add Acquired by the CLI — running algolia indices list --application-id ALGOLIA_APPLICATION_ID --api-key ALGOLIA_API_KEY opens the auth flow and stores the credential.
OAuth 2.0 oauth2 discovered
$ algolia auth login Acquired by the CLI — running algolia auth login opens the auth flow and stores the credential.
env ALGOLIA_CRAWLER_USER_ID, ALGOLIA_CRAWLER_API_KEY In the Algolia dashboard, select your application, then go to Data sources → Crawler → Settings to find the Crawler user ID and Crawler API key. The CLI docs describe storing them in ALGOLIA_CRAWLER_USER_ID and ALGOLIA_CRAWLER_API_KEY or in ~/.config/algolia/config.toml.