Linear Integration

Platform Configuration

Step 1: Create Service Account

  1. Access Team Settings
    • Log in to Linear as a team admin
    • Go to Settings > Members
  2. Invite Service Account
    • Click Invite members
    • Email: openhands@yourcompany.com (replace with your preferred service account email)
    • Role: Member (with appropriate team access)
    • Send invitation
  3. Complete Setup
    • Accept invitation from the service account email
    • Complete profile setup
    • Ensure access to relevant teams/workspaces

Step 2: Generate API Key

  1. Access API Settings
    • Log in as the service account
    • Go to Settings > API
  2. Create Personal API Key
    • Click Create new key
    • Name: OpenHands Cloud Integration
    • Scopes: Select the following:
      • Read - Read access to issues and comments
      • Create comments - Ability to create or update comments
    • Select the teams you want to provide access to, or allow access for all teams you have permissions for
    • Click Create
    • Important: Copy and store the API key securely

Step 3: Configure Webhook

  1. Access Webhook Settings
    • Go to Settings > API > Webhooks
    • Click New webhook
  2. Configure Webhook
    • Label: OpenHands Cloud Integration
    • URL: https://app.all-hands.dev/integration/linear/events
    • Resource types: Select:
      • Comment - For comment events
      • Issue - For issue updates (label changes)
    • Select the teams you want to provide access to, or allow access for all public teams
    • Click Create webhook
    • Important: Copy and store the webhook secret securely (you’ll need this for workspace integration)

Workspace Integration

Step 1: Log in to OpenHands Cloud

  1. Navigate and Authenticate
    • Go to OpenHands Cloud
    • Sign in with your Git provider (GitHub, GitLab, or BitBucket)
    • Important: Make sure you’re signing in with the same Git provider account that contains the repositories you want the OpenHands agent to work on.

Step 2: Configure Linear Integration

  1. Access Integration Settings
    • Navigate to Settings > Integrations
    • Locate Linear section
  2. Configure Workspace
    • Click Configure button
    • Enter your workspace name and click Connect
      • If no integration exists, you’ll be prompted to enter additional credentials required for the workspace integration:
        • Webhook Secret: The webhook secret from Step 3 above
        • Service Account Email: The service account email from Step 1 above
        • Service Account API Key: The API key from Step 2 above
        • Ensure Active toggle is enabled
  3. Complete OAuth Flow
    • You’ll be redirected to Linear to complete OAuth verification
    • Grant the necessary permissions to verify your workspace access. If you have access to multiple workspaces, select the correct one that you initially provided
    • If successful, you will be redirected back to the Integrations settings in the OpenHands Cloud UI

Managing Your Integration

Edit Configuration:
  • Click the Edit button next to your configured platform
  • Update any necessary credentials or settings
  • Click Update to apply changes
  • You will need to repeat the OAuth flow as before
  • Important: Only the original user who created the integration can see the edit view
Unlink Workspace:
  • In the edit view, click Unlink next to the workspace name
  • This will deactivate your workspace link
  • Important: If the original user who configured the integration chooses to unlink their integration, any users currently linked to that integration will also be unlinked, and the workspace integration will be deactivated. The integration can only be reactivated by the original user.

Screenshots