Environments
Overview
Stigg supports the creation of multiple environments in each account in order to support your existing product development process, for example: Development, Staging, Production, etc.
Every environment is isolated from one another.
Environment types
Stigg supports 2 environment types:
- Non-production - an isolated sandbox that can be used for testing and iterating on pricing and packaging without affecting your real customers
- Production - a live environment where your real customers interact with the final, stable version of your product
The following table summarizes the main difference between each environment type:
Non-production environment | Production environment | |
---|---|---|
Purpose | An isolated sandbox that can be used for testing and iterating on pricing and packaging without affecting your real customers | A live environment where your real customers interact with the final, stable version of your product |
Stripe integration | Only to test Stripe accounts | Only to production Stripe accounts |
Environment usage (number of products, number of subscriptions, reported events) | Excluded from your Stigg subscription | Enforced according to your Stigg subscription |
SLA commitment | No | Yes |
By default, when a Stigg account is created it includes 2 environment - development (non-production) and a production environment
Creating a new environment
To create a new environment, navigate to the Settings > Environment section.
Click on "+ Add".
Enter the following information:
- Environment name
- Color which will be used to distinguish different environments from one another
- Description (optional)
- Environment type - production, non-production
After an environment is created, its environment type (non-production / production) can't be modified.
When a new environment is created, a default product for that environment will be automatically created.
The product name will be the same name as the account name, for example: if your account name is "Acme", an "Acme" product will automatically be created in every newly created environment.
You can edit the name of the default product, or even remove it altogether and create a new one.
Enforcing client-side security
When your client-side (frontend) application is integrated with Stigg it uses the Client API key, which is publicly accessible to anyone.
While the Stigg platform limits access for that API key to a minimum, some sensitive data may still be accessible by a malicious actor (e.g. by guessing customer ID).
To ease the integration process, Stigg doesn't enforce client-side security in newly created environments.
It's highly recommended to prevent any un-authenticated access to data using Client API key, by configuring Stigg to verify the identity of requests that originate from your client-side application.
For more details see:
Editing environment details
To edit the details of an environment, click on the dotted menu of the relevant environment and select the "Edit" action.
Save the changes.
Deleting environments
To delete the details of an environment, click on the dotted menu of the relevant environment and select the "Delete" action.
Enter the environment name in the confirmation dialog and click on "Delete".
Deleting an environment is an irreversible action that will cause the permanent removal of all of its data from Stigg.
Updated 21 days ago