Skip to main content

Authorization

Follow this guide to create a new Together AI credential that will allow Nexla to authenticate to and exchange data with your Together AI account.
together_ai_api_auth.png

Together AI

Prerequisites

Before creating a Together AI credential, you'll need to obtain an API key from your Together AI account. Together AI provides API keys for programmatic access to their LLM platform through the Together AI dashboard.

To obtain a Together AI API key:

  1. Log in to your Together AI account at https://api.together.xyz or navigate to the Together AI dashboard.

  2. Navigate to your account settings or API dashboard. This is typically accessible from the user menu or dashboard navigation.

  3. In the API settings or API Keys section, locate the option to create or manage API keys.

  4. Click Create API Key or Generate New Key to create a new API key for your application. You may need to provide a name or description for the API key.

  5. Copy the API key immediately after generation, as it may only be displayed once for security purposes. Store it securely, as you'll need it to authenticate API requests.

  6. Note your Base URL and API Version. The base URL is typically https://api.together.xyz and the API version is typically v1. These values may vary depending on your Together AI deployment.

Together AI API keys are used as Bearer tokens in the Authorization header for all API requests. The API key is sensitive information and should be kept secure. If you've lost your API key, you'll need to generate a new one in your Together AI account settings.

For detailed information about Together AI API authentication and API key management, refer to the Together AI Documentation.

Create a Together AI Credential

  • To create a new Together AI credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

New Credential Overlay – Together AI

TogetherCred.png

Credential Name & Description

  1. 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 provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

Credential Settings

  1. In the API Key Value field, enter the API key that you obtained from your Together AI account. This is the secret API key used to authenticate requests to the Together AI API.

  2. In the Base URL field, enter the base URL for your Together AI API account. This is typically https://api.together.xyz but may vary depending on your deployment. This field is required and should be kept secure.

  3. In the API Version field, enter the API version for your Together AI API requests. The default value is v1. This field is required and should be kept secure.

    The API key, base URL, and API version are sensitive information and should be kept secure. If you've lost your API key, you'll need to generate a new one in your Together AI account settings. API keys are used as Bearer tokens in the Authorization header for all API requests.

Save the Credential

  1. 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.

  2. 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.