Configure Cursor for AI agent imports

To import Cursor Cloud agents, you need to perform configuration tasks in your Cursor account.

About this task

Early Access release

Configuring Cursor for AI agent imports requires setup in your Cursor account. In Cursor, you create a service account and generate its API key. Okta uses this API key to authenticate requests to the Cursor Cloud Agents API.

Before you begin

  • You have the admin role in Cursor.

Procedure

  • Create a service account and API key in Cursor
    1. Sign in to your Cursor dashboard.
    2. Go to Dashboard > Settings > API Keys > Service Accounts.
      A service account API key isn't tied to the account of a single team member. The key continues to work if that person leaves the team.
    3. Select New Service Account.
    4. Enter a name for the service account (for example, Okta AI Agent Import).
    5. Optional. Enter a description for the service account.
    6. Select Create.
      Cursor generates an API key for the service account.
    7. Copy the API key and store it in a secure location.

      You enter this key in the API Key field when you configure the AI agent import in Okta.