---
title: "Share access to Salesforce Environment"
url: "https://blog.beyondthecloud.dev/tips/share-access-to-salesforce-environment"
category: "DevOps & CLI"
tags: "sfdx, security, admin"
published: "2025-01-06"
---

# Share access to Salesforce Environment

sf org open --url-only prints a login URL backed by your access token, so a teammate can get into the environment for troubleshooting without you handing over credentials.

```bash
sf org open --url-only
```

Easily share access to your Salesforce environment using the above command.

This generates a login URL using an access token, allowing others to access the environment without sharing credentials directly.

It's a great tool for collaborative work and troubleshooting.

Treat the generated URL as a credential — anyone holding it is logged in as you until the session expires. Share it over a private channel, and only for sandboxes and scratch orgs.
