Skip to main content
Retain has an official SDK for Node.js. If you are using another language or runtime, just use the HTTP API. There is nothing to install.

Node.js

Install the SDK with your preferred package manager. Requirements: Node.js 20 or later.
Continue the Quickstart with Authentication, then Identify and Track.

Other languages

You don’t need to install anything Just grab your Project Token in Authentication then move on to Identify and Track for HTTP examples in your language. If you need more details, check the API reference.
Official SDKs for other languages are coming soon.

Next steps

Authentication

Get your Project Token and use it from the SDK or HTTP client.

Identify

Register users in Retain before tracking events.

Track

Record events as they happen in your product.