Multi-region

Control where your Steel browser sessions are hosted for optimal performance and latency.

Overview

By default, Steel automatically selects the data center closest to the client’s request location when creating a new browser session. This ensures optimal performance and minimal latency for your browser automation tasks. However, you can also manually specify which region you want your browser session to run in using the region parameter.

This region selection determines the physical location of the browser instance itself, which can help reduce latency for applications targeting specific geographic areas or comply with data residency requirements.

Automatic Region Selection

When you create a session without specifying a region, Steel automatically determines the closest data center based on your request location:

1
import Steel from 'steel-sdk';
2
3
const client = new Steel();
4
5
// Automatically uses the closest region
6
const session = await client.sessions.create();

Manual Region Selection

To specify a particular region for your browser session, use the region parameter when creating a session:

1
import Steel from 'steel-sdk';
2
3
const client = new Steel();
4
5
// Create session in Los Angeles data center
6
const session = await client.sessions.create({
7
region: "LAX"
8
});

Available Regions

Steel is available in the following regions:

RegionCodeData Center Location
Los AngelesLAXLos Angeles, USA
ChicagoORDChicago, USA
Washington DCIADWashington DC, USA
SantiagoSCLSantiago, Chile
FrankfurtFRAFrankfurt, Germany

Region vs Proxy Selection

Region selection determines where your browser session runs, which is different from proxy selection. The region parameter controls the physical location of the browser instance, while the useProxy and proxyUrl parameters control the network routing and IP address used by the browser for web requests.

You can combine region selection with proxy settings:

1
// Browser runs in Frankfurt, but uses a US proxy for requests
2
const session = await client.sessions.create({
3
region: "FRA",
4
useProxy: true
5
});
6

We'll be launching new features soon to allow you to control regions for proxies as well. Right now, all are US based.

Need help building with multi-region?

Reach out to us on the #help channel on Discord under the ⭐ community section.