# Developers

Use HQ from your terminal with the hq CLI, from your editor with the VS Code extension, and from your own code with the HQ API.



Everything you do in HQ, you can also do from your own tools.

<Cards>
  <Card title="CLI" href="/docs/cli/">
    Install `hq`, sign in, attach your terminal to a session, start and stop sessions and forward
    ports.
  </Card>

  <Card title="VS Code" href="/docs/vscode/">
    Open a team's files, join its session terminals and forward its ports from VS Code, Cursor,
    Windsurf or VSCodium.
  </Card>

  <Card title="API" href="/docs/api/">
    Manage AI Teams, sessions, schedules, secrets and more from your own code, with SDKs for
    TypeScript and Python.
  </Card>
</Cards>

## Get an API key in 2 minutes [#get-an-api-key-in-2-minutes]

<Steps>
  <Step title="Create a key">
    In HQ, open **Profile**, then **API keys**, and select **Create key**. Name it, tick the scopes
    it needs and create it. The key is shown once: copy it into your secret manager or an
    environment variable.
  </Step>

  <Step title="Call the API">
    ```bash
    curl https://api-hq.aiworkforceone.com/v1/me \
      -H "Authorization: Bearer $HQ_API_KEY"
    ```
  </Step>
</Steps>

Next, follow the [API quickstart](/docs/api/quickstart/) to start a session and send it a prompt,
or read about [authentication](/docs/api/authentication/) and service keys.

## Machine-readable docs [#machine-readable-docs]

Every page has a Markdown copy: use **Copy page**, or **Open in** to ask Claude or ChatGPT about it.
[llms.txt](/docs/llms.txt) lists every page, and [llms-full.txt](/docs/llms-full.txt) has all of
them in one file.
