---
title: "Workspace-level API keys in Salesforge"
description: "Learn how to create an API key that works in only one workspace, and when to use it instead of an account-wide key."
url: https://help.salesforge.ai/en/articles/10333674-workspace-level-api-keys-in-salesforge
collection: "API & Developers"
updated: 2026-11-02
language: en
---

# Workspace-level API keys in Salesforge

Learn how to create an API key that works in only one workspace, and when to use it instead of an account-wide key.

You can now create API keys that only work in one workspace, right from the Salesforge dashboard. This makes it safer to give API access to a client, a contractor, or a third-party tool, because the key cannot reach anything outside that workspace.

### Workspace key vs account-wide key

<table data-id="d1406bf5-9e5d-4959-a719-2f0100ce2f61" style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1"><p data-id="2a036da2-3b03-488d-afc9-543f8136815d"></p></th><th colspan="1" rowspan="1"><p data-id="d65775f2-3244-4b1d-88f1-642a7c163ea3">Workspace key</p></th><th colspan="1" rowspan="1"><p data-id="bcb25d9f-1b1f-468a-82eb-c7fe605fb718">Account-wide key</p></th></tr><tr><td colspan="1" rowspan="1"><p data-id="7476240b-b8f4-4054-927b-033794a2c827">Access</p></td><td colspan="1" rowspan="1"><p data-id="59ac8217-aad0-49df-b872-82dac2a43aa1">Only the workspace it was created in</p></td><td colspan="1" rowspan="1"><p data-id="db421839-56b6-4001-8548-2b7987f34d92">All workspaces in your account</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="b9efc619-7ae2-48b2-be75-0ad364859454">Other workspaces</p></td><td colspan="1" rowspan="1"><p data-id="828ee13e-daf7-4d73-b9c6-339d7efcb390">Stay out of reach</p></td><td colspan="1" rowspan="1"><p data-id="a82bfa89-761c-43ed-96cb-88eb0eb4923a">Accessible</p></td></tr><tr><td colspan="1" rowspan="1"><p data-id="44471abe-9cc2-40a0-bb8e-60ff199671c1">Best for</p></td><td colspan="1" rowspan="1"><p data-id="eaae06c2-0165-4e64-a9b6-57fce7517754">Clients, contractors, third-party tools</p></td><td colspan="1" rowspan="1"><p data-id="0ee19a45-467a-4a46-99ef-ab4590b4c876">Your own internal use across workspaces</p></td></tr></tbody></table>

### Create a workspace-level API key

1.  Log in to your Salesforge account and switch to the workspace you want the key to work in.
    
2.  Go to **Settings**.
    
3.  Open the **API & MCP** tab.
    
4.  Click **Add new key**.
    

![Settings screen with the API & MCP tab selected; red boxes mark Settings and API & MCP, and arrows point to the Add new key buttons. Visible: Settings, API & MCP, API, Connect Salesforce with your apps and tools, API Docs, Add new key.](https://staticfiles.gleap.io/ghelparticle/0abLxeLock7b1aCAwz49GNW1jYWmT6oS0I0CjllKCEvfihLe2EavOn8WeZ8Wwm49bqNxxbhljHb.png)

5.  In the **Add new API key** pop-up, enter a descriptive name in **API key name**. This field is required.
    
6.  Keep **Limit this key to the current workspace** ticked.
    
7.  Click **Generate API key**.
    

![The Add new API key dialog shows a name field, a checked workspace limit option, and Discard and Generate API key buttons. Visible: Add new API key, API key name, Enter descriptive name, Limit this key to the current workspace, Discard, Generate API key.](https://staticfiles.gleap.io/ghelparticle/ho0PRObES3B4M2u7UJlApxVpb2HMd9CnHP4WwKicmnxmmRQtbPI9ovNtZFLQL4EcW2nbDYsI1bc.png)

To create a key that works across your whole account, untick **Limit this key to the current workspace** before you click **Generate API key**. This works the same way as API keys did before this option was added.
