> 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/smartrr.md).

# Smartrr

## Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Smartrr, you'll need to connect MESA with Smartrr.

<figure><img src="/files/9fQFbi7SZLSV3Smfifo9" alt="Screenshot of the Smartrr connection panel in the MESA workflow builder. Spotlight the Smartrr Access Token field."><figcaption></figcaption></figure>

1. To locate your Smartrr Access Token, login into your [Smartrr account](https://app.smartrr.com/login/).
2. From the left hand sidebar and under Configuration, click on Integrations.

<figure><img src="/files/LCVemDHDZLPW2jow0BBA" alt="Screenshot of the Smartrr dashboard left-hand sidebar under Configuration. Spotlight the Integrations option."><figcaption></figcaption></figure>

3. Click on API Keys from the top navigation.
4. If you already have an existing API Key, skip to Step 7. Otherwise, click on Create Key.

<figure><img src="/files/GJWzfqgZ8T9D5aIMDLyO" alt="Screenshot of the Smartrr Integrations page on the API Keys tab. Spotlight the Create Key button."><figcaption></figcaption></figure>

5. Input names for Token Nickname and Application Name. If you need an idea, you can input "MESA Token" and "MESA" into the two fields.

<figure><img src="/files/Qv7Nte70F9SyxmVI32sI" alt="Screenshot of the Smartrr Create Key form. Spotlight the Token Nickname and Application Name fields."><figcaption></figcaption></figure>

6. Scroll down to set the Reward Program dropdown menu to "Read and Write" while leaving the rest of the dropdown menus to their default, and click on the green Create button.

<figure><img src="/files/77gA0EKcw6JtgpskiJDk" alt="Screenshot of the Smartrr Create Key form. Spotlight the Reward Program dropdown set to Read and Write and the green Create button."><figcaption></figcaption></figure>

7. Afterwards, click on the clipboard to the right of your preferred API Key and click on Copy API Key.

<figure><img src="/files/6aR08fZIfFWY2z6r8y3m" alt="Screenshot of the Smartrr API Keys page. Spotlight the clipboard Copy API Key icon next to your API key."><figcaption></figcaption></figure>

8. Go back into your MESA workflow and paste what you just copied into the Smartrr Access Token field within the Connection section. The API Key is also known as the Access Token.
9. Lastly, click on Add Connection and then you are all set!

## Technical Notes

* The Add Loyalty Points to Customer action requires Smartrr's Loyalty feature, which is available on the Excel plan. [Learn more here](https://smartrr.com/pricing).
