# Algolia

## Connection

When you're setting up your first workflow with Algolia, you will need to create a [Connection](https://docs.getmesa.com/going-further/credentials) in order to connect MESA with Algolia.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FHhWgM6DBszjWWfXG4sR6%2Fimage.png?alt=media&#x26;token=2a421901-b1de-4720-8289-0eab37c4f9bc" alt=""><figcaption></figcaption></figure>

To create your connection, login to your Algolia account and navigate to Settings.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FTzD2pudzcSfj8w9NBAXc%2Fimage.png?alt=media&#x26;token=c1b4f81f-cb59-49bc-bcd9-bdf97ce79fc5" alt=""><figcaption></figcaption></figure>

Then, select API Keys in the Team and Access section and copy your Application ID. Paste the Application ID in the Application ID field of your MESA Algolia step.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fxv1maAi2WpS8qC2nW44r%2Fimage.png?alt=media&#x26;token=b85d42d8-ca56-45aa-84a7-24de1b0d10e8" alt=""><figcaption></figcaption></figure>

Next, copy the Write API Key and paste it in the Write API Key step of your MESA Algolia step.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FtxIk9ZSbbHF4TwLvnsec%2Fimage.png?alt=media&#x26;token=f64d4f93-5e5a-4d38-985e-363b0af5b868" alt=""><figcaption></figcaption></figure>

Once those fields are populated, click the Add connection button in your Algolia step to complete your connection.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FxxM7x7LqKcrwmMd3AhxE%2Fimage.png?alt=media&#x26;token=ff15e153-20d1-4dbe-81aa-35c756dc7305" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getmesa.com/connect/algolia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
