Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to Productlane

Scalekit connector
Open markdown

The Productlane connector lets your AI agent act in each user's Productlane account. Each user connects their own Productlane access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 43 tools.

Tools
43
What they doRead · write · destructive
20 · 17 · 620 read17 write6 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 Productlane connection

    In AgentKit > Connections, create a Productlane 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 = 'productlane'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Productlane:', 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: 'productlane_companies_list',
    toolInput: {},
    })
    console.log(result)
    Terminal window
    npx tsx quickstart.mts

    Each user opens the link once and enters their Productlane 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
  • productlane_changelog_getGet one changelog entry by ID with its Markdown content.Read-only

    Get Changelog

    Get one changelog entry by ID with its Markdown content. Returns the changelog object. Get IDs from productlane_changelogs_list.

    Inputs

    changelog_idstringrequired
    Changelog ID, from productlane_changelogs_list. Example: clx9z8y7x0000chg456.
    workspace_idstringrequired
    Productlane workspace ID. Use productlane_workspace_get to check it. Example: clx1a2b3c0000wsabc123.
    languagestring
    Language code of the translation to return, for example en or de. Example: en.
  • productlane_changelog_tags_listList the changelog tags in a workspace.Read-only

    List Changelog Tags

    List the changelog tags in a workspace. Returns tag IDs and names. Pass the IDs as tag_ids to productlane_changelog_create and productlane_changelog_update.

    Inputs

    workspace_idstringrequired
    Productlane workspace ID. Use productlane_workspace_get to check it. Example: clx1a2b3c0000wsabc123.
  • productlane_changelogs_listList a workspace's changelog entries, including unpublished ones for your own workspace.Read-only

    List Changelogs

    List a workspace's changelog entries, including unpublished ones for your own workspace. Returns changelogs with their title, date and published state. Use productlane_changelog_get for one entry.

    Inputs

    workspace_idstringrequired
    Productlane workspace ID. Use productlane_workspace_get to check it. Example: clx1a2b3c0000wsabc123.
    languagestring
    Language code of the translation to return, for example en or de. Example: en.
    skipinteger
    Number of records to skip for pagination. Example: 0.
    takeinteger
    Number of records to return. Example: 25.
  • productlane_companies_by_external_id_getFind the companies that carry a given external ID, such as a CRM account ID.Read-only

    Get Companies by External ID

    Find the companies that carry a given external ID, such as a CRM account ID. Returns the matching companies. Use it to map a record from another system to Productlane.

    Inputs

    external_idstringrequired
    External ID to look up, for example a CRM account ID. Example: crm-48213.
  • productlane_companies_listList the workspace's companies, optionally filtered by domain or name, 10 per page unless take is set.Read-only

    List Companies

    List the workspace's companies, optionally filtered by domain or name, 10 per page unless take is set. Returns companies with their domains, size, revenue, tier and status. Use productlane_company_get for one company with its upvotes.

    Inputs

    domainstring
    Filter by company email domain. Example: acme.com.
    namestring
    Filter by company name. Example: Acme Inc.
    skipinteger
    Number of records to skip for pagination. Example: 0.
    takeinteger
    Number of records to return. Example: 25.
  • productlane_company_getGet one company by ID, optionally with its upvotes grouped by project and issue.Read-only

    Get Company

    Get one company by ID, optionally with its upvotes grouped by project and issue. Returns the company object. Get company IDs from productlane_companies_list or productlane_companies_by_external_id_get.

    Inputs

    company_idstringrequired
    Upvote ID, from productlane_upvotes_list. Example: clx6c7o8m0000cmp333.
    group_upvotesboolean
    Set to true to group the company's upvotes by project and issue. Example: true.
  • productlane_company_linear_options_getGet the Linear customer statuses and tiers available to the workspace.Read-only

    Get Linear Customer Options

    Get the Linear customer statuses and tiers available to the workspace. Returns status and tier IDs and names, or null when Linear is not connected. Use the IDs as tier_id and status_id on companies.

    Inputs

    This tool takes no inputs.

  • productlane_contact_getGet one contact by ID or email address.Read-only

    Get Contact

    Get one contact by ID or email address. Returns the contact with its name, email and company. Use productlane_contacts_list to search by partial email.

    Inputs

    contact_idstringrequired
    Contact ID or email address. Example: jane.doe@acme.com.