Skip to main content
A Dedicated Sticky IP ensures that a specific profile uses by default the same IP address, reserved exclusively for that profile. This is helpful when IP consistency is required across sessions.
Extra Stealth mode is automatically enabled for all sessions using a Dedicated Sticky IP profile.
1

Create a profile with a dedicated sticky IP

Use the Create Profile API to create a profile with a dedicated sticky IP by setting dedicated_sticky_ip to true:
import AnchorBrowser from 'anchorbrowser';

const anchorClient = new AnchorBrowser({ apiKey: process.env.ANCHOR_API_KEY });

const profile = await anchorClient.profiles.create({
  name: 'my-sticky-profile',
  dedicated_sticky_ip: true,
});

console.log('Profile created:', profile.data);
This allocates a dedicated IP that is not shared with other profiles.
2

Start a session using the profile

Start a browser session with the profile. Set persist to true so the browser state (cookies, localStorage, etc.) is saved when the session ends.
import AnchorBrowser from 'anchorbrowser';

const anchorClient = new AnchorBrowser({ apiKey: process.env.ANCHOR_API_KEY });

const session = await anchorClient.sessions.create({
  browser: {
    profile: {
      name: 'my-sticky-profile',
      persist: true,
    },
  },
});

console.log('Session created:', session.data);
The session will automatically use the reserved sticky IP and Extra Stealth mode.
3

Do your work in the session

Connect to the session via live view, CDP, or the session view in the dashboard. Log in to accounts, configure settings, or perform any actions you need.When you’re done, close the session. The profile state (cookies, localStorage, etc.) will be persisted automatically because persist was set to true.
4

Start future sessions with the same profile

Any new session started with this profile will use the same dedicated sticky IP and have all the saved browser state from previous sessions.
5

Override the IP with a custom proxy (optional)

To override the default sticky IP, set the proxy field when using the Start Browser Session API.