Skip to content
Talk to an Engineer Dashboard

Attention

Connect to Attention for AI insights, conversations, teams, and workflows

Connect to Attention for AI insights, conversations, teams, and workflows

Attention logo

Supports authentication: API Key

Connect a user’s Attention account and make API calls on their behalf — Scalekit handles OAuth and token management automatically.

You can interact with Attention in two ways — via direct proxy API calls or via Scalekit optimized tool calls. Scroll down to see the list of available Scalekit tools.

Proxy API Calls

import { ScalekitClient } from '@scalekit-sdk/node';
import 'dotenv/config';
const connectionName = 'attention'; // get your connection name from connection configurations
const identifier = 'user_123'; // your unique user identifier
// Get your credentials from app.scalekit.com → Developers → Settings → API Credentials
const scalekit = new ScalekitClient(
process.env.SCALEKIT_ENV_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET
);
const actions = scalekit.actions;
// Authenticate the user
const { link } = await actions.getAuthorizationLink({
connectionName,
identifier,
});
console.log('🔗 Authorize Attention:', link);
process.stdout.write('Press Enter after authorizing...');
await new Promise(r => process.stdin.once('data', r));
// Make a request via Scalekit proxy
const result = await actions.request({
connectionName,
identifier,
path: '/v1/users/me',
method: 'GET',
});
console.log(result);

Scalekit Tools