Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Use Algolia credentials to make authenticated API calls through Alter Vault without exposing your API keys in code.
PropertyValue
Provider IDalgolia
CategorySearch
Credential TypeAPI Key

Step 1: Get Your Credentials

1

Log in to the Algolia Dashboard

Log in to the Algolia Dashboard at dashboard.algolia.com.
2

Go to Settings → API Keys

Go to Settings → API Keys at dashboard.algolia.com/account/api-keys/all.
3

Copy the Admin API Key

Copy the Admin API Key (or create a new one with specific permissions).
4

Copy the Application ID

Copy the Application ID for the Application ID field.
Never share your credentials publicly. Store them securely and only enter them in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Algolia

Go to Managed Secrets > Add Provider > Algolia.
3

Enter your credentials

Paste your Admin API Key and Application ID into their respective fields.
4

Save

Click Save. You’ll receive a grant_id to use with the SDK.

Using in Code

response = await vault.request(
    HttpMethod.POST,
    "https://YOUR_APP_ID-dsn.algolia.net/1/indexes/YOUR_INDEX/query",
    grant_id="YOUR_GRANT_ID",
)