Authorization

Anthropic AI
Prerequisites
Before creating an Anthropic AI credential, you'll need to obtain API credentials from Anthropic. The Anthropic API uses API key authentication with additional version headers.
Anthropic Account Setup
To obtain the required API credentials for Anthropic:
-
Sign in to Anthropic Console: Navigate to https://console.anthropic.com/ and sign in to your Anthropic account. If you don't have an account, you can create one by clicking Sign up and following the registration process.
-
Access Account Settings: Once signed in, navigate to Account Settings in the Anthropic console. You can access this from the account menu or dashboard.
-
Generate API Keys: In Account Settings, navigate to the API Keys section. Click the Create Key button to generate a new API key. Provide a name for the key to help identify its purpose (e.g., "Nexla Integration").
-
Copy API Key: After creation, copy the API key immediately. Anthropic API keys are only displayed once for security reasons. Store this key securely, as you'll need it when creating the credential in Nexla.
Anthropic also supports workspaces to segment API keys and control spend by use case. You can organize your API keys within different workspaces for better management and billing control.
Anthropic API keys are sensitive credentials that provide access to your Anthropic account and API usage. Keep these keys secure and never share them publicly or commit them to version control systems.
API Configuration Details
The Anthropic API requires the following configuration:
- Base URL: The base URL for Anthropic API requests. The default is
https://api.anthropic.com. - API Version: The API version to use for requests. The default is
v1. - Anthropic Version: The
anthropic-versionheader value that specifies the API version format. This is required for all API requests and should match the API version you're using (e.g.,2023-06-01for v1 API).
All requests to the Anthropic API must include the x-api-key header with your API key. The API accepts JSON in request bodies and returns JSON in response bodies, so ensure you send the Content-Type: application/json header in requests.
For complete information about Anthropic API authentication and getting started, see the Anthropic API Getting Started Documentation.
Create an Anthropic AI Credential
- To create a new Anthropic AI credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – Anthropic AI

Credential Name & Description
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
Resource descriptions are recommended but are not required. They should be used to provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.
API Key Configuration
-
API Key Value: Enter your Anthropic API key in the API Key Value field. This is the secret token that authenticates your application with the Anthropic API. You can obtain this key from the Anthropic console under API Keys.
-
Base URL: Enter the base URL for your Anthropic API requests in the Base URL field. The default value is
https://api.anthropic.com. This should match the Anthropic API endpoint you're using. -
API Version: Enter the API version for your Anthropic API requests in the API Version field. The default value is
v1. This version determines which API endpoints and features are available. -
Anthropic Version: Enter the
anthropic-versionheader value in the Anthropic Version field. This header is required for all Anthropic API requests and specifies the API version format. The value should match the API version you're using (e.g.,2023-06-01for v1 API). This header is sent asanthropic-versionin the request headers. For complete information about versioning, see the Anthropic API Versioning Documentation.
The API key is sensitive information that should be kept secure. Nexla will store this credential securely and use it only for API authentication purposes. The Anthropic-Version header is required for all API requests and must match a supported API version format.
Save the Credential
-
Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.
-
The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.