I want to set up Segment for multiple environments (Development, Production, Testing, etc.) should I create multiple workspaces or multiple sources?

We recommend that instead of setting up separate workspaces for different environments (local/dev/prod), you set upone workspace and make each of these environments a different source.

We bill per workspace, and on our Team or Business plans you can create as many sources as you need. Each Segment source will have its own Write Key, so you can easily keep things separate.

For each source, you also get to choose which integrations you want it to send data to.


If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!