How can I set up different environments in Ably?

Each Ably app acts as a sandboxed environment from one another, allowing you to treat each app as its own environment. For example, let's say you wanted to have a production and a development environment for your product 'product-test'. You could create an app called 'product-test-production' and an app called 'product-test-development', then make use of each respectively within your own environments.

CAUTION: 

Ably apps within a single account will share the same account limits such as the number of connections or channels

One app e.g. a development app could therefore contribute to the whole accounts connection or channel limit inadvertently causing an issue in another app e.g a production app if a limit is reached.

See more about limits in our limits documentation

An alternative is to use a separate Ably account as a development environment