# Tally

## Connection

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

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FRxxzMJieMYkB7oM2aWZ2%2Fimage.png?alt=media&#x26;token=06a0ad23-27ad-4c47-8c06-23b9031849e0" alt=""><figcaption></figcaption></figure>

To establish your connection, login to your Tally account and navigate to Settings. Then, click API keys.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FxintMvP2ywSr5ezV3OKm%2Fimage.png?alt=media&#x26;token=96c18203-6f79-4bd4-a7b9-e2853acc3e17" alt=""><figcaption></figcaption></figure>

Click the Create API key button and enter MESA for the API key name, then click Create.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2F6fnUMVXz5KcvRVe9iR4r%2Fimage.png?alt=media&#x26;token=ebe74624-a64e-4d51-b83a-6d4597b9a811" alt=""><figcaption></figcaption></figure>

Once your API key is generated, copy it and paste it into the API Key field in the Tally step of your MESA workflow. Then, click Add connection to complete the process.

{% hint style="warning" %}
You will only be able to see the API key once after it's created.
{% endhint %}

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FlxqLQL04isqRy1F0DTjs%2Fimage.png?alt=media&#x26;token=64815d6f-d2cc-4fd4-bbf7-f91594127564" 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/tally.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.
