Skip to main content

Overview

To authenticate with Sauce Labs, you need:
  1. Data Center — the API host of the Sauce Labs data center your account is in.
  2. Username — your Sauce Labs username, or a service account username.
  3. Access Key — the access key of that user or service account.
This guide will show you how to get them.

Prerequisites

Step 1: Find your data center

  1. Log in to Sauce Labs.
  2. Check the data center shown in the top navigation bar (for example EU Central 1).
  3. Select the matching API host:

Step 2: Copy your username and access key

  1. Open the Account menu (person icon, top right) and select User Settings, or go to User Settings.
  2. Copy the User Name from the User Information section. Enter it as the Username.
  3. In the Access Key section, click the copy button next to Access Key. Enter it as the Access Key.
Sauce Labs User Settings page with the copy button next to the Access Key field
On Enterprise plans you can use a service account instead: open the Account menu, select Team management (or Organization management), open the Service Accounts tab, click + New Service Account, then copy its username and access key. The access key is shown only once.

Step 3: Enter your credentials in the Connect UI

  1. Open the form where you need to authenticate with Sauce Labs.
  2. Select your Data Center, then enter your Username and Access Key.
  3. Submit the form, and you should be successfully authenticated.
Sauce Labs connection form in the Nango Connect UI You are now connected to Sauce Labs.