Connect Linear with a personal API key. The key's permissions and team restrictions determine which operations and records the workflow can access.
Keys are bound to the user who creates them: every action a workflow takes is attributed to that user, and the key stops working if the user is deactivated or leaves the workspace. For production workflows, create the key from a dedicated service user (e.g. sim-bot@yourcompany.com) rather than a personal account.
Prerequisites
A Linear account that is allowed to create API keys. Workspace admins can disable API-key creation for members (Settings → Administration → API → Member API keys) — if the option is missing for you, ask an admin, or have an admin create the key (the restriction doesn't apply to admins).
Creating the API Key
Log in as the service user, open Linear Settings, and go to Security & access → Personal API keys
Click New API key and give it a label (e.g. Sim Integration)
Choose the key's permissions. For full parity with Sim's Linear blocks, create it with full access — or, if you restrict it, grant at least Read and Write with no team restriction. A key limited to specific teams will fail on issues and projects outside those teams
Copy the key — it starts with lin_api_ — and store it somewhere safe.
The API key is limited by the creating user's access and any permissions or team restrictions selected for the key. Treat it like a password — do not commit it to source control or share it publicly. Sim encrypts the key at rest.
Adding the API Key to Sim
Open Integrations from your workspace sidebar
Search for "Linear" and open it, then click Add to Sim and choose Add API key
Paste the API key (lin_api_...) and optionally set a display name and description
Click Add API key. Sim verifies the key by querying Linear's viewer — if it fails, you'll see a specific error explaining what went wrong.
The key must be able to read its own user to pass connection validation. Grant write permissions only for workflows that write, and include the teams those workflows need. Successful validation does not prove access to every operation.
Using the Credential in Workflows
Add a Linear block to your workflow. In the credential dropdown, select the saved Linear API key. Select it and configure the block as you normally would.
The block calls Linear's GraphQL API (api.linear.app/graphql) with the key. Everything the workflow does — creating issues, adding comments, updating projects — is attributed to the user who created the key.