# 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>
