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

# Sync local and cloud cookies

> Sync your local browser cookies to the cloud — instantly authenticate without managing credentials.

```bash theme={null}
export BROWSER_USE_API_KEY=your_key && curl -fsSL https://browser-use.com/profile.sh | sh
```

This opens a browser where you select which accounts to sync. After syncing, you receive a `profile_id` to use in your tasks.

<CodeGroup>
  ```python Python theme={null}
  from browser_use_sdk.v3 import AsyncBrowserUse

  client = AsyncBrowserUse()
  session = await client.sessions.create(profile_id="your_synced_profile_id")
  result = await client.run("Check my LinkedIn messages", session_id=session.id)
  ```

  ```typescript TypeScript theme={null}
  import { BrowserUse } from "browser-use-sdk/v3";

  const client = new BrowserUse();
  const session = await client.sessions.create({ profileId: "your_synced_profile_id" });
  const result = await client.run("Check my LinkedIn messages", {
    sessionId: session.id,
  });
  ```
</CodeGroup>
