1
Enable secure mode
Reach out to Village support to activate secure mode and enforce a more robust authentication flow, ensuring only verified users can integrate with Village.
2
Generate a token to authorize the user
In your server, send a request to the Village API to create a token to authorize the user. Check the API Reference for more details.
Generating an authorization token does not automatically provision a new user or impact billing. A user is only added as a provisioned user once they initiate their network sync.
3
Initialize the SDK
Copy the snippet below to add the Village SDK to your application. You should use the generate token from the previous step.
4
🎉 Go live!
How to invalidate a token
How to invalidate a token
When a subscription is canceled the tokens are automatically invalidated.
