Developers / Quickstart

Capture your first lead through the API in ten minutes.

Get a test key, install an SDK, create a lead and receive the webhook that follows it. By the end you'll have the building blocks of any BuzinessAI integration.

quickstart.ts
import { Buziness } from "@buziness/node"

const buziness = new Buziness(process.env.BUZINESS_TEST_KEY)

const lead = await buziness.leads.create({
  name: "Asha Rao",
  email: "asha@example.com",
  source: "website_form",
})

console.log(lead.id, lead.stage)

Ten minutes, start to finish

No approvals, no sales call. Sign up, grab a test key and make your first request straight away.

Safe by default

The quickstart runs entirely in the sandbox, so nothing you do reaches a real ad account or customer.

Built to extend

The same client and webhook handler you write here are the foundation for everything you build next.

Where to go next. Popular integrations, one Expert at a time.

  • Lead ExpertSync leads to your CRMPush every new lead and stage change to your CRM
  • Post ExpertPublish from your CMSSchedule a social post whenever an article goes live
  • Design ExpertRender from product dataGenerate on-brand creative for every product in a feed
  • Ad ExpertPull insights into a warehouseLoad daily spend and results into your own reporting

Four steps to a working integration. Copy, paste, run.

  1. 01

    Get a test key

    Create a free workspace, then copy your test secret key from Settings → Developers.

  2. 02

    Install the SDK

    Pick your language. This guide uses Node.js.

    terminal
    npm install @buziness/node
  3. 03

    Create a lead

    Run the snippet above. The lead appears in your sandbox pipeline straight away.

  4. 04

    Receive the webhook

    Forward events to your machine with the CLI and watch lead.created arrive.

    terminal
    buziness listen --forward-to localhost:3000/webhooks

Ready to start building?

Get an API key, follow the quickstart and send your first request in minutes.

Webhooks

Hear about new leads, posts and campaign changes as they happen.

Set up webhooks

Sandbox

Test against realistic data without touching live accounts.

Open the sandbox docs