This guide will help you configure Atlas to authenticate and proxy requests to the Linear API.
Public beta. This integration is available to all Atlas users, but the API may change.
Follow these directions to get a Linear API key. You must provide an API key in the next step to authorize requests.
Go to Atlas Configuration settings and follow the steps to configure and deploy the Linear adapter using the API key from the previous step.
You can make requests with atlasProxyFetch.
Add a code cell to your canvas with the following:
const query = `
query Me {
viewer {
id
name
email
}
}
}
`;
const resp = await atlasProxyFetch(`/v1/apis/http/linear/`, {
method: "GET",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ query }),
});
return resp.json();