Automa supports Linear integration for:
  • Project Management: Allows users to create tasks from Linear issues and update issues based on bot actions.

Creating app

You can create a Linear App by going to Settings > API > + in Linear.
1

Get server URL

Retrieve the URL for the API service after you set up Automa.
2

Callback URL

Set the callback URL to https://<your-api-server>/callbacks/linear.
3

Turn on webhooks

Switch on the toggle for “Webhooks” to enable webhook support.
4

Webhook URL

Set the webhook URL to https://<your-api-server>/hooks/linear.
5

Select events

Choose the events you want to receive webhooks for:
  • Comments
  • Inbox notifications
  • Permission changes
6

Copy the secrets

Copy the required secrets:
  • Client ID
  • Client Secret
  • Webhook Signing Secret

Adding environment variables

To configure the Linear integration, you need to set the following environment variables:
  • LINEAR_API_CLIENT_ID: The client ID of your Linear App.
  • LINEAR_APP_CLIENT_SECRET: The client secret of your Linear App.
  • LINEAR_APP_WEBHOOK_SECRET: The webhook secret for the webhook in your Linear App.
Depending on your self-hosting setup, you can configure environment variables in different ways. You can find the relevant instructions for your setup below: