SeeStack

Installation

Install the SeeStack SDK in your project.

Prerequisites

  • Node.js 18 or later (for server-side usage)
  • Any modern browser (for client-side usage)
  • Python 3.8 or later
  • pip or poetry package manager
  • Go 1.21 or later
  • Go modules enabled

Install the SDK

npm install @seestack/sdk
yarn add @seestack/sdk
pnpm add @seestack/sdk
bun add @seestack/sdk
pip install seestack-sdk
go get github.com/seestack/seestack-go

CDN (Browser Only)

For browser-only usage without a build step, you can load the SDK via a script tag:

<script src="https://cdn.seestack.io/sdk/latest/seestack.min.js"></script>

This exposes a global SeeStack object you can use directly.

Verify Installation

verify.js
import SeeStack from '@seestack/sdk';

SeeStack.init({
  apiKey: 'seestack_live_your_key_here',
  host: 'https://your-seestack-instance.com',
  debug: true,
});

SeeStack.captureLog('info', 'SeeStack SDK installed successfully');
verify.py
import seestack

seestack.init(
    api_key="seestack_live_your_key_here",
    host="https://your-seestack-instance.com",
    debug=True,
)

seestack.capture_log("info", "SeeStack SDK installed successfully")
verify.go
package main

import "github.com/seestack/seestack-go"

func main() {
    seestack.Init(seestack.Config{
        APIKey: "seestack_live_your_key_here",
        Host:   "https://your-seestack-instance.com",
        Debug:  true,
    })
    defer seestack.Flush()

    seestack.CaptureLog("info", "SeeStack SDK installed successfully", nil)
}

If debug: true is set, you should see outgoing payloads logged to your console or stderr.

Next Steps

On this page