🚀 Quickstart
Connect to LiveSwitch with Nango and make your first API request.1
Create the integration
In Nango (free signup), go to the Integrations tab, select Configure New Integration, then select LiveSwitch. In Scopes, add
openid, profile, email, and me for this quickstart. The offline_access scope is selected by default.For agents
For agents
Ask the user to sign in to Nango and create an Environment API key under Environment Settings > API Keys. Send it as
Authorization: Bearer <NANGO-API-KEY> when calling Nango’s HTTP APIs.Create the LiveSwitch integration with POST /integrations, setting provider to liveswitch, choosing a unique_key for the integration ID, and supplying the OAuth credentials described in the setup guide below. Include openid, profile, email, me, and offline_access in the comma-separated credentials.scopes value. To initiate authorization, create a short-lived session with POST /connect/sessions, include that integration ID in allowed_integrations, and open the returned connect_link so the user can complete LiveSwitch’s interactive OAuth flow.3
Call the LiveSwitch API
Fetch the current user. This request requires the ✅ You’re connected! Check the Logs tab in Nango to inspect requests.
me scope selected in the first step. Replace the placeholders below with your Nango API key, integration ID, and connection ID:- cURL
- Node
4
Implement Nango in your app
Follow Nango’s Auth implementation guide. To obtain production LiveSwitch credentials, follow the setup guide below.
📚 LiveSwitch integration guides
- How to register your own LiveSwitch API OAuth app Request a LiveSwitch Developer App and configure its callback URL and scopes.