To connect your LinkedIn or Sales Navigator account to PhantomBuster, the fastest way is using the browser extension, it detects your session automatically. You can also connect manually by copying your li_at session cookie and user agent from your browser's Developer Tools. If you need to connect a teammate's or client's LinkedIn account, you can either invite them to your workspace or send them a magic link that lets them share their session without needing a PhantomBuster login.
Connect your own LinkedIn account
Option 1: Use the PhantomBuster browser extension (recommended)
The extension lets PhantomBuster detect your LinkedIn session automatically, so there's no need to copy cookies or type anything manually.
→ To install the extension and connect your session, follow the steps in our detailed extension guide.
It covers:
- Supported browsers and install links
- How session detection works
- What the extension can do on LinkedIn (lead capture, CRM export, etc.)
Once installed, the extension works silently in the background. As long as you're logged into your social media platform in that browser, your session stays active and PhantomBuster can keep automations running smoothly.
Option 2: Connect manually with a session cookie and user agent
Use this method if you're using an unsupported browser, if the extension isn't working, or if you prefer a direct setup.
This tutorial is tailored for Chrome users:
You'll need:
- Your LinkedIn session cookie (li_at)
- Your user agent string (copied from the same browser)
Steps:
- Open a window and log into your LinkedIn account.
-
Open Developer Tools: Right-click and select Inspect.
- From the Developer Tools panel, select Application.
- Look under Storage > Cookies dropdown > Cookies, find the li_at cookie and copy its Value.
-
In a new tab, search "What's my user agent" on Google and copy the full string.
- Log in to your PhantomBuster workspace.
- Whether you're setting up a new Phantom or updating an existing one, open the Phantom setup. At the Connect to LinkedIn step, click Add new LinkedIn account.
- Paste the li_at cookie and user agent, then click Save.
You're now ready to finalize your setup and launch your Phantom.
Connect a teammate's LinkedIn account: workspace member
If the account belongs to someone in your PhantomBuster workspace:
- Log in to your PhantomBuster workspace and hover over your name in the top-right corner.
- Make sure the correct workspace is selected, then go to Users & accounts under the Workspace section.
- Click + Add user, and send them an invite.
- They log into PhantomBuster with their own credentials and connect their LinkedIn account using either the extension (recommended) or manual setup.
- Once connected, their account will appear as an option in the Phantom setup.
There's no need for them to adjust any workspace settings, the session becomes available automatically.
Connect someone else's LinkedIn account: external contributor
If the account belongs to someone outside your PhantomBuster workspace, you can connect it in two ways:
Option 1: Use a magic link, no login required
This lets your contributors securely share their LinkedIn session without giving them access to your workspace.
Step 1: Generate, copy and share the magic link
- Log in to your PhantomBuster workspace and hover over your name in the top-right corner.
- Make sure the correct workspace is selected, then go to Users & accounts under the Workspace section.
- Click Add LinkedIn account.
- Copy the link and share it with your contact (valid for 24 hours only).
Step 2: Your contact shares their LinkedIn session
- Your contact opens the link. They land on a page confirming you're requesting access to their LinkedIn account, with a summary of what your Workspace will be able to do (collect LinkedIn data, send connection requests, message prospects on their behalf). They click Connect my LinkedIn account.
- On the next screen, Share access to your LinkedIn, they review the disclosure:
"By adding your session cookies, you authorize their use for the execution of your automations and, if necessary, their access by our support team for the resolution of technical issues."
This means their LinkedIn session cookie will be used to run your Phantoms, and PhantomBuster's Customer Care team may access it only when strictly necessary to diagnose and resolve technical issues (as covered in our Privacy Policy). - If they're using Chrome or Firefox, the PhantomBuster browser extension detects their LinkedIn session automatically and displays it as Connected. Otherwise, they can install the extension or paste their session cookie manually.
- They tick I agree to share access to my LinkedIn account and click Connect my LinkedIn account to finalize.
- Their LinkedIn session now appears in your workspace and can be used by your Phantoms. They keep full control: they don't have access to your Phantoms or data, only their LinkedIn session is shared, and they can revoke access anytime.
See How to Disconnect a LinkedIn Account From a Workspace.
Option 2: Connect manually with a session cookie and a user agent
You can manually connect your contributor's account using:
- Their LinkedIn session cookie (li_at)
- Their user agent string
You can collect these from your contributor and paste them into the Connect to LinkedIn step in the Phantom setup.
Refer to the manual connection steps above to complete the setup.
Where your connected LinkedIn accounts live
You can manage all your connected LinkedIn sessions from the Users & accounts section of your workspace.
Here, you can:
- View all connected LinkedIn accounts.
- Reconnect expired sessions (via new magic links).
- Disconnect accounts no longer in use.
This central view makes it easy to manage multiple reps, clients, or personas from one place.
Frequently asked questions
What's the difference between the extension and the manual method?
The browser extension detects your LinkedIn session automatically, no copying or pasting needed. The manual method requires you to open Developer Tools, find the li_at cookie and your user agent, and paste them into the Phantom setup. Both achieve the same result, but the extension is faster and less error-prone.
Does the magic link give my contact access to my PhantomBuster workspace?
No. The magic link only lets them share their LinkedIn session with your Workspace. They won't have access to your Phantoms, data, or settings. If they want to revoke access later, they can do so through the disconnect guide linked in the confirmation page.
How long does the magic link stay valid?
Magic links expire after 24 hours. If your contact doesn't use it in time, you'll need to generate a new one from the Users & accounts section of your Workspace.
Do I need a user agent for Sales Navigator?
Yes. Both LinkedIn and Sales Navigator connections require a session cookie (li_at) and a user agent. This is different from other platforms like Instagram or X, which only need a session cookie.
My account is showing as Basic or Free in PhantomBuster, but I have an active Sales Navigator subscription, why?
This usually means your browser was logged into standard LinkedIn (not the Sales Navigator interface) when the PhantomBuster extension captured your session.
To fix it:
- Open linkedin.com/sales directly in your browser.
- Confirm you're viewing the Sales Navigator interface, not standard LinkedIn.
- Open the PhantomBuster browser extension and refresh your session.
If your account still shows as Basic after doing this, contact our support team.