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. Users who elect to use Private Networking can provide the relevant endpoints as an override when configuring the client. SDKs can also connect to any S2-compatible endpoint, such as s2-lite for local development:Documentation Index
Fetch the complete documentation index at: https://s2.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
- TypeScript
- Python
- Go
- Rust
Environment Variables
SDKs can read some common configuration keys from environment variables:| Variable | Description |
|---|---|
S2_ACCOUNT_ENDPOINT | Account-level API endpoint |
S2_BASIN_ENDPOINT | Basin-level API endpoint (may include {basin} placeholder for DNS-based routing) |

