Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Connect AI agents to bunny.net

Scalekit connector
Open markdown

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

Tools
56
What they doRead · write · destructive
25 · 20 · 1125 read20 write11 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 bunny.net connection

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

    Each user opens the link once and enters their bunny.net 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
  • bunnynet_audit_log_getGet the account audit log for one day: who changed which resource and how.Read-only

    Get Audit Log

    Get the account audit log for one day: who changed which resource and how. Returns log entries with actor, product, resource, action and time, and a continuation token for more. Pass the token back to get the next page.

    Inputs

    datestringrequired
    Day to read, YYYY-MM-DD. Example: 2026-05-20.
    actor_idarray
    Only changes by these users or API keys. Example: ["9a8b7c6d"].
    continuation_tokenstring
    Token from the previous page. Example: eyJwIjoxfQ.
    limitinteger
    Maximum entries. Example: 100.
    orderstring
    Sort order. Example: Ascending.one of AscendingDescending
    productarray
    Only these products. Example: ["PullZone"].
    resource_idarray
    Only these resource IDs. Example: ["1234567"].
    resource_typearray
    Only these resource types. Example: ["PullZone"].
  • bunnynet_dns_records_listList the records in a DNS zone, with paging, a type filter and a search.Read-only

    List DNS Records

    List the records in a DNS zone, with paging, a type filter and a search. Returns each record's ID, type, name, value, TTL and routing settings.

    Inputs

    dns_zone_idintegerrequired
    ID of the DNS zone. Get it from bunnynet_dns_zones_list. Example: 123456.
    pageinteger
    Page number, starting at 1. Example: 1.
    per_pageinteger
    Items per page (5 to 1000). Example: 100.
    searchstring
    Text to filter results by name. Example: example.
    typeinteger
    Only records of this type. Example: 0.one of 0123456789101112131415
  • bunnynet_dns_zone_availability_checkCheck whether a domain can be added as a DNS zone.Read-only

    Check DNS Zone Availability

    Check whether a domain can be added as a DNS zone. Returns whether the name is available.

    Inputs

    namestringrequired
    Domain name to check, such as example.com. Example: example.com.
  • bunnynet_dns_zone_exportExport a DNS zone's records as a BIND zone file.Read-only

    Export DNS Zone

    Export a DNS zone's records as a BIND zone file. Returns the zone file as text.

    Inputs

    dns_zone_idintegerrequired
    ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.
  • bunnynet_dns_zone_getGet one DNS zone by ID.Read-only

    Get DNS Zone

    Get one DNS zone by ID. Returns the zone's domain, nameserver settings, SOA email, DNSSEC state and its records.

    Inputs

    dns_zone_idintegerrequired
    ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.
    viewinteger
    0 = Full 1 = Lite. Example: 0.one of 01
  • bunnynet_dns_zone_statistics_getGet DNS query statistics for a zone over a period.Read-only

    Get DNS Zone Statistics

    Get DNS query statistics for a zone over a period. Returns total queries and queries by type and over time.

    Inputs

    dns_zone_idintegerrequired
    ID of the dns zone. Get it from bunnynet_dns_zones_list. Example: 123456.
    date_fromstring
    Start of the period, ISO 8601 date or date-time. Defaults to 30 days ago. Example: 2026-05-01.
    date_tostring
    End of the period, ISO 8601 date or date-time. Defaults to now. Example: 2026-05-31.
  • bunnynet_dns_zones_listList DNS zones in the account, with paging and a name search.Read-only

    List DNS Zones

    List DNS zones in the account, with paging and a name search. Returns each zone's ID, domain, nameservers and record count. Use bunnynet_dns_zone_get for one zone with its records.

    Inputs

    pageinteger
    Page number, starting at 1. Example: 1.
    per_pageinteger
    Items per page (5 to 1000). Example: 100.
    searchstring
    Text to filter results by name. Example: example.
    viewinteger
    0 = Full 1 = Lite. Example: 0.one of 01
  • bunnynet_load_balancer_getGet one load balancer profile with its origin groups and origins.Read-only

    Get Load Balancer

    Get one load balancer profile with its origin groups and origins. Returns the profile's name, balancing method, sticky sessions and origins.

    Inputs

    load_balancer_idintegerrequired
    ID of the load balancer. Get it from bunnynet_load_balancers_list. Example: 4567.