> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/tally.md).

# 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&amp;token=06a0ad23-27ad-4c47-8c06-23b9031849e0" alt="Screenshot of a MESA workflow Tally step connection panel. Spotlight the API Key field."><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&amp;token=96c18203-6f79-4bd4-a7b9-e2853acc3e17" alt="Screenshot of the Tally Settings page. Spotlight the API keys option."><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&amp;token=ebe74624-a64e-4d51-b83a-6d4597b9a811" alt="Screenshot of the Tally API keys page. Spotlight the Create API key button, entering MESA as the API key name."><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&amp;token=64815d6f-d2cc-4fd4-bbf7-f91594127564" alt="Screenshot of a MESA workflow Tally step connection panel with the copied API key pasted in. Spotlight the Add connection button."><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getmesa.com/connect/tally.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
