> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cohere

> How to set up the Cohere connector, plus the actions that are available.

<div className="connector-page-header">
  <img src="https://stackone-logos.com/api/cohere/filled/svg" alt="Cohere" className="connector-page-icon" />

  <div className="connector-page-changelog">
    <div className="connector-page-version"><span>v1.1.0</span></div>
    <div><a href="/connectors/cohere/changelog">See changelog</a></div>
  </div>

  <div className="connector-page-header-meta">
    <div className="connector-page-subtitle"><a href="#actions">14 actions</a> · 1 auth method</div>

    <div className="connector-page-category-tags">
      <span className="connector-page-category-tag">AI</span>
    </div>
  </div>
</div>

## Getting Started

<Steps>
  <Step title="Create or Select a Project">
    Set up a new project or select an existing one. See [Organizations & Projects](/gateway/concepts/organizations-and-projects).
  </Step>

  <Step title="Configure the Connector">
    Enable the connector and set up a Connector Profile in your project. See [Setup Connector Profile](/gateway/quickstart#setup-connector-profile).

    <Columns cols={2}>
      <Card title="Connector Profile · API Key" href="/connectors/cohere/guides/connector-profile/api-key" icon="https://stackone-logos.com/api/cohere/filled/svg" horizontal>
        Connect your Cohere account using an API Key from the Cohere Dashboard.
      </Card>
    </Columns>
  </Step>

  <Step title="Link an Account">
    Link an account [from the dashboard](/connect/managing-connectors/linking-accounts#link-from-the-dashboard) (or via [StackOne Hub](/embed/account-linking/overview)).

    See the guide for the authentication type chosen in the Connector Profile:

    <Columns cols={2}>
      <Card title="Link Account · API Key" href="/connectors/cohere/guides/link-account/api-key" icon="https://stackone-logos.com/api/cohere/filled/svg" horizontal />
    </Columns>
  </Step>

  <Step title="Use Actions">
    Connect an AI platform to the linked account's actions. See [AI Platforms](/connect/ai-platforms/overview).

    Other ways to call actions are listed in [Protocols & SDKs](/connect/protocols-and-sdks).
  </Step>
</Steps>

## Actions

<div className="connector-meta-library-section">
  <div className="connector-actions-controls not-prose" data-connector-actions-controls>
    <div className="connector-actions-controls__row">
      <input type="search" className="connector-actions-search" data-connector-actions-search placeholder="Search actions" aria-label="Search actions" />
    </div>
  </div>

  <div className="meta-library-count" data-connector-actions-count>14 actions</div>

  <div className="not-prose meta-library-table-container" data-connector-actions-table>
    <div className="connector-meta-library-grid">
      <div className="connector-meta-library-row">
        <div className="meta-library-grid-header-cell">Action</div>
        <div className="meta-library-grid-header-cell">Description</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_list_models" data-action-label="List Models" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>List Models</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_list_models" aria-label="Copy cohere_list_models"><code className="connector-page-code">cohere\_list\_models</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List available Cohere models</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_get_model" data-action-label="Get Model" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Model</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_get_model" aria-label="Copy cohere_get_model"><code className="connector-page-code">cohere\_get\_model</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get details of a specific model</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_chat" data-action-label="Chat" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Chat</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_chat" aria-label="Copy cohere_chat"><code className="connector-page-code">cohere\_chat</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Generate a text response to a conversation</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_embed" data-action-label="Embed" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Embed</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_embed" aria-label="Copy cohere_embed"><code className="connector-page-code">cohere\_embed</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Generate embeddings for text inputs</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_create_embed_job" data-action-label="Create Embed Job" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Embed Job</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_create_embed_job" aria-label="Copy cohere_create_embed_job"><code className="connector-page-code">cohere\_create\_embed\_job</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create an async embed job for a dataset</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_list_embed_jobs" data-action-label="List Embed Jobs" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>List Embed Jobs</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_list_embed_jobs" aria-label="Copy cohere_list_embed_jobs"><code className="connector-page-code">cohere\_list\_embed\_jobs</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List all embed jobs</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_rerank" data-action-label="Rerank" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Rerank</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_rerank" aria-label="Copy cohere_rerank"><code className="connector-page-code">cohere\_rerank</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Rerank documents by relevance to a query</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_create_dataset" data-action-label="Create Dataset" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Dataset</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_create_dataset" aria-label="Copy cohere_create_dataset"><code className="connector-page-code">cohere\_create\_dataset</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a dataset by uploading a file</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_list_datasets" data-action-label="List Datasets" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>List Datasets</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_list_datasets" aria-label="Copy cohere_list_datasets"><code className="connector-page-code">cohere\_list\_datasets</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List all datasets</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_get_dataset" data-action-label="Get Dataset" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Dataset</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_get_dataset" aria-label="Copy cohere_get_dataset"><code className="connector-page-code">cohere\_get\_dataset</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get details of a dataset</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_get_dataset_usage" data-action-label="Get Dataset Usage" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Dataset Usage</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_get_dataset_usage" aria-label="Copy cohere_get_dataset_usage"><code className="connector-page-code">cohere\_get\_dataset\_usage</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get organization storage usage for datasets</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_delete_dataset" data-action-label="Delete Dataset" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Delete Dataset</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_delete_dataset" aria-label="Copy cohere_delete_dataset"><code className="connector-page-code">cohere\_delete\_dataset</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Delete a dataset</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_tokenize" data-action-label="Tokenize" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Tokenize</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_tokenize" aria-label="Copy cohere_tokenize"><code className="connector-page-code">cohere\_tokenize</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Convert text to tokens</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_detokenize" data-action-label="Detokenize" data-action-scopes="" data-action-auth="API Key" data-action-auth-scopes="{&#x22;API Key&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Detokenize</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="cohere_detokenize" aria-label="Copy cohere_detokenize"><code className="connector-page-code">cohere\_detokenize</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Convert tokens back to text</div>
      </div>
    </div>
  </div>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.