What is a Workspace?
A workspace in Dub represents your organization or project. Each workspace has:- Unique slug: Used for your workspace URL and partner programs
- Custom domains: Connect your own domains for branded short links
- Team members: Collaborate with different permission levels
- Usage limits: Based on your plan (links, clicks, conversions)
- Analytics: Track performance across all your links
Workspaces are also referred to as “projects” in the Dub codebase and API.
Creating a Workspace
Navigate to Workspace Creation
From your dashboard, click the workspace selector and choose “Create workspace” or visit the workspaces page.
Enter Workspace Details
Fill in the required information:
- Workspace Name
- Workspace Slug
- Workspace Logo
Name: The display name of your company or product (e.g., “Acme, Inc.”)This is how your workspace will appear throughout the Dub interface.
Configure Conversion Tracking (Optional)
Enable automatic conversion tracking for all new links created in this workspace.
You can always enable conversion tracking for individual links later, but enabling it workspace-wide ensures all new links are tracked by default.
Workspace Settings
After creating your workspace, you can configure various settings:General Settings
- Name and Logo: Update your workspace branding
- Slug: Cannot be changed after creation
- Billing Cycle: View when your billing cycle starts
- Plan Tier: See your current plan and limits
Usage and Limits
Each workspace has usage limits based on your plan:Team Management
Invite team members with different permission levels:Workspace Roles
Workspace Roles
- Owner: Full access to all workspace settings, billing, and resources
- Member: Can create and manage links, view analytics
- Viewer: Read-only access to links and analytics
- Billing: Manage billing and subscription settings only
Domain Management
Configure DNS
Add the required DNS records to your domain provider:
- A record pointing to Dub’s servers
- TXT record for domain verification
Conversion Tracking Settings
Enable conversion tracking features for your workspace:- Conversion Enabled: Automatically enable tracking for new links
- Publishable Key: Client-side key for tracking scripts
- Allowed Hostnames: Whitelist domains for client-side tracking
Workspace API Integration
Creating a Workspace via API
Workspace Schema
The workspace object returned from the API:Best Practices
Organize with Folders and Tags
Organize with Folders and Tags
Set Usage Alerts
Set Usage Alerts
Monitor your workspace usage regularly to avoid hitting limits during critical campaigns.
Use Role-Based Access
Use Role-Based Access
Assign appropriate roles to team members to maintain security and prevent accidental changes.
Enable Conversion Tracking
Enable Conversion Tracking
Turn on workspace-wide conversion tracking to automatically track all links without manual configuration.
Switching Between Workspaces
You can be a member of multiple workspaces:- Click the workspace selector in the top navigation
- Choose the workspace you want to switch to
- All links, analytics, and settings will update to reflect the selected workspace
Each workspace is completely isolated with its own links, domains, and analytics.
Deleting a Workspace
To delete a workspace:- Navigate to Settings > General
- Scroll to the “Danger Zone”
- Click “Delete Workspace”
- Confirm by typing the workspace slug
- All data will be permanently removed