> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce (Sandbox) - How do I link my account?

## Overview

To authenticate with Salesforce Sandbox, you will need:

1. **Hostname** *(optional)* — Your Salesforce sandbox instance hostname.

This guide will walk you through finding your hostname in Salesforce.

### Prerequisites

* A Salesforce sandbox account

### Instructions

#### Step 1: Finding your Hostname

1. Log in to your Salesforce sandbox account.
2. Once logged in, click on your profile to view your hostname (e.g. `acme--sandboxname.sandbox.my.salesforce.com`).

![](https://mintcdn.com/nango/IuAZEbXtz_qKHJSu/api-integrations/salesforce/hostname.png?fit=max\&auto=format\&n=IuAZEbXtz_qKHJSu\&q=85\&s=e2a9f4de05132bf51ebc513700cef99d)

> [!NOTE]
>
> The hostname is optional. If not provided, Nango uses Salesforce's default sandbox login endpoint (`test.salesforce.com`).

#### Step 2: Enter credentials in the Connect UI

Once you have your **Hostname** (optional):

1. Open the form where you need to authenticate with Salesforce Sandbox.
2. Enter your **Hostname** in the respective field, or leave it blank to use the default sandbox login endpoint.
3. Submit the form, and you should be successfully authenticated.

![](https://mintcdn.com/nango/e7LEc872uXAtV9bd/api-integrations/salesforce-sandbox/form.png?fit=max\&auto=format\&n=e7LEc872uXAtV9bd\&q=85\&s=1242d3edaa04a827b3105a69f79d018c)

You are now connected to Salesforce (Sandbox).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.