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

# Workspaces

> Create shared environments for teams, projects, and deployment stages in PromptLayer.

## Workspaces

Workspaces are collaborative environments within your organization where teams can:

* Share prompt templates and evaluations
* Collaborate on projects
* Organize resources by team or project
* Maintain separate environments (dev, staging, production)

### Creating a Workspace

You can create a new workspace by clicking the 'Create Workspace' button from the workspace dropdown.

<img src="https://mintcdn.com/promptlayer/v0RzaTvbzopITX7U/images/workspaces-create-button.png?fit=max&auto=format&n=v0RzaTvbzopITX7U&q=85&s=c529d20b4d81d03c049a4be51d043928" alt="Create Workspaces Button" width="838" height="434" data-path="images/workspaces-create-button.png" />

Choose a unique name for your workspace to enhance its identity and ease of recognition among team members.

<img src="https://mintcdn.com/promptlayer/v0RzaTvbzopITX7U/images/workspaces-create-modal.png?fit=max&auto=format&n=v0RzaTvbzopITX7U&q=85&s=9324170340085a292b32b5b7e81bce0c" alt="Create Workspaces Modal" width="1188" height="728" data-path="images/workspaces-create-modal.png" />

### Workspace Management

Upon creating a workspace, you'll be designated as the workspace administrator. This role empowers you to:

* Invite new members to the workspace
* Manage member permissions
* Remove members from the workspace
* Configure workspace-specific settings
* Delete the workspace if needed

<img src="https://mintcdn.com/promptlayer/v0RzaTvbzopITX7U/images/workspaces-management.png?fit=max&auto=format&n=v0RzaTvbzopITX7U&q=85&s=61728c5ac22db8f3790d753ef32d10f5" alt="Workspaces Management" width="1484" height="882" data-path="images/workspaces-management.png" />

### Workspace Roles and Permissions

Each workspace supports granular permission control:

* **Workspace Admin**: Full control over workspace settings and members
* **Editor**: Can create, edit, and delete resources within the workspace
* **Viewer**: Read-only access to workspace resources

## Best Practices

Organizations typically structure workspaces by team (Engineering, Data Science, Product), by project, or by environment (dev, staging, production). When managing access, follow the principle of least privilege and regularly review workspace memberships to ensure proper access control.
