Skip to main content
You can send data to Squasher in several ways, and you can use more than one in the same project. Errors from an SDK and logs from your host then appear side by side in the project.

Compare the ways

You can start with a log drain for fast coverage, then add an SDK where you want stack traces and user context.

Pick a guide for your stack

The npm packages under @squasher-ai/ are for JavaScript and TypeScript. There is no Squasher package on PyPI or crates.io. For other languages, follow the guide for your language.

Set up a log connector

A log connector gives a log source its own destination URL and key. Hosting platforms, log pipelines, and the HTTP API use connectors.
The dashboard has no page for log connectors yet. Create and manage them with the CLI, the API, or the MCP server.
Sign in to the CLI first with squasher login.
1

Find the connector key

List the connector types. Each has a key, for example vercel_drain, railway_drain, otlp_http, http_api, or vector.
2

Create the connector

onboard creates the connector and returns the setup steps for that source, with the destination URL and the headers to use.
3

Send a test log and verify

Configure the source with the values from the last step. Send one error-level log, then check the delivery:
The other subcommands are list, get, update, delete, and rotate-key. For the API, see Log connectors. Before you send a large volume of logs, read Design queryable logs.

Next steps

Quickstart

Connect your app and see your first issue.

Troubleshooting

Find out why data does not appear.