Quickstart

Go from zero to a running stealth browser session in 5 minutes flat.

Step 1: Install

npm install @sessionkit/sdk playwright

Step 2: Create a Session

import { SessionKit } from '@sessionkit/sdk'

const sk = new SessionKit({ apiKey: process.env.SESSIONKIT_API_KEY })

const session = await sk.sessions.create({
  stealth: 'max',
  fingerprint: 'auto',
})

Step 3: Connect & Automate

import { chromium } from 'playwright'

const browser = await chromium.connectOverCDP(session.cdpUrl)
const page = await browser.newPage()

await page.goto('https://example.com')
const title = await page.title()
console.log(`Page title: ${title}`)

await browser.close()

Step 4: Clean Up

await sk.sessions.destroy(session.id)

That's it! You've launched a stealth browser, navigated to a page, and cleaned up.

What's Next?