Skip to main content
By default, SDKs connect to the cloud instance at s2.dev, and only require an access token to get started, which can be generated from the dashboard. SDKs can also connect to any S2-compatible endpoint, such as s2-lite for local development:

Environment Variables

SDKs can read endpoint configuration from the environment variables below, but none of them do so automatically. Use the associated helper for reading from the environment:
The CLI reads these variables automatically.