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

# Claude

## Connection

Connections provide secure access to the integrated app that you use in a MESA workflow. Your Claude connection securely links your workflows with your Anthropic account.

When you're setting up your first workflow with Claude, you'll need to create an Anthropic API Key.

<figure><img src="/files/Y0IzXPazXeXEYCashrhW" alt="Screenshot of the MESA Claude step connection setup, linking your workflow with your Anthropic account. Spotlight the API Key credential field."><figcaption></figcaption></figure>

To find your Anthropic API Key, go to: <https://console.anthropic.com/settings/keys>. Click the Create Key button and name your key (e.g. MESA).

<figure><img src="/files/wyknPkTwlg6sStTB2qcg" alt="Screenshot of the Anthropic Console API Keys settings page where you name the key MESA. Spotlight the Create Key button."><figcaption></figcaption></figure>

Click the Copy Key from the pop-up that appears. Once you obtain your API key, you can paste the API key into your workflow connection's API Key field.

<figure><img src="/files/dHww0dq8XrC5OyF0zTUJ" alt="Screenshot of the Anthropic Console API key created pop-up. Spotlight the Copy Key button."><figcaption></figcaption></figure>

## Configure <a href="#configuring" id="configuring"></a>

#### Following Anthropic's Usage Policies <a href="#policy" id="policy"></a>

Please ensure that you follow Anthropic's Usage Policies when using MESA's Claude integration: <https://www.anthropic.com/legal/aup>

#### ShopPad's Recommendation <a href="#recommendation" id="recommendation"></a>

We recommend testing the prompt in the Anthropic dashboard before using MESA's Create Message action. This allows you to try different models and prompts and will estimate the token cost for each automation.

As Claude is not our product, we would like to note that we are not responsible for its output. We recommend replicating your preferred prompt using the Claude UI to verify that it meets your expectations before automating it with MESA.

## How Claude Uses Your Data <a href="#data-security" id="data-security"></a>

The Claude app makes API calls to Anthropic. Only the variables explicitly configured in the MESA builder will be shared with Anthropic. MESA does not store any of this information beyond your data retention date. Anthropic does not use data submitted to and generated by their API to train Anthropic models or improve Anthropic's service offering.

To opt out of any data sharing with AI models, simply do not use the Claude step in any of your workflows.

[Learn more](https://support.anthropic.com/en/articles/7996885-how-do-you-use-personal-data-in-model-training) about how and when Anthropic uses use to train their models. Read [MESA's Data Processing Agreement](https://www.getmesa.com/dpa).
