Authentication
StateSet Cloud exposes both a REST and a GraphQL API. Both use token-based authentication.The model
Include a token with every request. Each token identifies a user authenticated to your StateSet instance, so a request is authenticated when the backend can securely determine which user and device is making it. That’s what lets the platform:- Attribute the action to a user
- Check that the user is permitted to perform it
Sending a token
Connecting source control
Cloud deploys from your Git provider, so the first step is linking an account. Sign up atcloud.stateset.com, then click Add New.
1. Connect GitHub or GitLab
Authorize the provider that hosts your code. This lets Cloud manage serverless functions and deployments directly from your repository.2. Import the project
Select the repository or project you want to deploy.3. Create the serverless project
Choose a project type and runtime and Cloud scaffolds the deployment.Connecting source control grants Cloud read access to the repository, including its history. If
credentials were ever committed, rotate them — and keep runtime secrets in
Action secrets rather than in the repo.