Prerequisites:
- Node.js version 16 or higher
- An Uplink account (sign up at console.uplink.build)
- A mobile device with the Connect app installed, or your own app with the SDK integrated
Step 1: Install the JavaScript SDK
Install the Uplink SDK in your project:Step 2: Create a session
Log in to your Uplink Console and create a new automation session.1
Generate API key
Navigate to Settings → API Keys and create a new API key
2
Create session
Go to Sessions → New Session to generate a session JWT token
3
Copy session URL
Copy the WebSocket URL in the format:
wss://relay.uplink.build/session/<jwt>Session tokens are scoped to specific permissions and can be configured with expiration times for security.
Step 3: Connect a device
Choose your integration method:- Connect App (Quick)
- SDK Integration
1
Install Connect app
Download the Uplink Connect app from the App Store or Play Store
2
Join session
In the Console, get the QR code or session code for your session, then scan it or enter it in the Connect app
3
Verify connection
You should see the device appear as “connected” in your Console
Step 4: Run your first automation
Create a new JavaScript file and add the following code:<your-jwt> with the session token from your Console, then run:
What’s next?
Core concepts
Learn about devices, browsers, and pages
Sessions & auth
Understand session management and authentication
API reference
Explore the full JavaScript SDK API
Device management
Learn how to manage multiple devices
Example use cases
Once you’re comfortable with the basics, try these common automation scenarios:Wait for user login, then automate
Wait for user login, then automate
Extract data from a page
Extract data from a page
Monitor network requests
Monitor network requests