Quick Start
Get up and running with SeeStack in under 5 minutes.
Follow these four steps to start capturing telemetry from your application.
Install the SDK
Follow the Installation guide for your language and package manager.
Initialize SeeStack
Call init once at application startup with your API key and host URL. You can find your API key in the SeeStack console under Project Settings > API Keys.
import SeeStack from '@seestack/sdk';
SeeStack.init({
apiKey: 'seestack_live_your_key_here',
host: 'https://your-seestack-instance.com',
environment: 'production',
release: 'v1.0.0',
});import seestack
seestack.init(
api_key="seestack_live_your_key_here",
host="https://your-seestack-instance.com",
environment="production",
release="v1.0.0",
)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",
Environment: "production",
Release: "v1.0.0",
})
defer seestack.Flush()
}Set debug: true during development to see all outgoing payloads logged to your console.
Capture Your First Error
Trigger a test error to verify data flows end-to-end.
try {
throw new Error('Test error from SeeStack SDK');
} catch (e) {
SeeStack.captureError(e);
}try:
raise ValueError("Test error from SeeStack SDK")
except Exception as e:
seestack.capture_error(e)import "errors"
err := errors.New("Test error from SeeStack SDK")
seestack.CaptureError(err, nil)Verify in the Dashboard
Open the SeeStack console and navigate to Errors. You should see your test error appear within a few seconds. If debug mode is enabled, you will also see the HTTP request and response logged in your terminal.