Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Akta Pro

Scalekit connector
Open markdown

The Akta Pro connector lets your AI agent act in each user's Akta Pro account. Each user connects their own Akta Pro API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 1 tool.

Tools
1
What they doRead · write · destructive
1 · 0 · 01 read0 write0 destructive
Users sign in with

Setup

  1. Install the SDK

    Terminal window
    npm install @scalekit-sdk/node dotenv
  2. Set your credentials

    Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Create the Akta Pro connection

    In AgentKit > Connections, create an Akta Pro connection. The name you give it is the connection_name your code passes. See Configure connections.

  4. Authorize a user and make your first call

    quickstart.mts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    import { createInterface } from 'node:readline/promises'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENVIRONMENT_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'aktapro'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Akta Pro:', link)
    const rl = createInterface({ input: process.stdin, output: process.stdout })
    await rl.question('Press Enter after authorizing...')
    rl.close()
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'aktapro_search_news',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Akta Pro credentials there. See Authorize a user for the full flow and statuses.

Tools

Pass the exact name to execute_tool
Try in PlaygroundRequest a tool
  • aktapro_search_newsSearch company news signals with filters for company, industry, sentiment, entities, and date range.Read-only

    Search News Signals

    Search company news signals with filters for company, industry, sentiment, entities, and date range. Returns article title, URL, publisher, sentiment, AI summary, and classification metadata.

    Inputs

    blacklistedstring
    Comma-separated publisher domains to exclude.
    companystring
    Company website URL or company UUID to filter news for. Mutually exclusive with primary_company.
    countriesstring
    Comma-separated 3-letter ISO country codes to filter by.
    end_datestring
    End date filter, format YYYY-MM-DD. Defaults to today.
    entity_event_liststring
    Comma-separated events to filter by.
    entity_location_liststring
    Comma-separated locations to filter by.
    entity_person_liststring
    Comma-separated person names to filter by.
    entity_product_liststring
    Comma-separated products to filter by.
    iab_code_liststring
    Comma-separated IAB codes to filter by.
    industrystring
    Comma-separated industry codes to filter by.
    iptc_code_liststring
    Comma-separated IPTC codes to filter by.
    limitinteger
    Number of results to return. Default 10, max 1000.
    naics_code_liststring
    Comma-separated NAICS codes to filter by.
    news_score_liststring
    Filter by newsworthiness score: High, Medium, Low, or all (default).one of HighMediumLowall
    offsetinteger
    Offset for pagination. Default 0.
    primary_companystring
    Company website URL or UUID where the company is the primary subject of the article. Mutually exclusive with company.
    querystring
    Topic or keyword search. Mutually exclusive with title.
    sentiment_liststring
    Comma-separated sentiment filters: positive, negative, neutral, or all.
    sic_code_liststring
    Comma-separated SIC codes to filter by.
    start_datestring
    Start date filter, format YYYY-MM-DD.
    titlestring
    Search by article title. Mutually exclusive with query.
    type_liststring
    Comma-separated news category filters.
    unique_articleboolean
    Group similar articles together.