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.


Non-production vs. Production environments

Stigg supports 2 environment types:

  1. Non-production - an isolated sandbox that can be used for testing and iterating on pricing and packaging without affecting your real customers
  2. 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 environmentProduction environment
PurposeAn isolated sandbox that can be used for testing and iterating on pricing and packaging without affecting your real customersA live environment where your real customers interact with the final, stable version of your product
Stripe integrationOnly to test Stripe accountsOnly to production Stripe accounts
Environment usage (number of products, number of subscriptions, reported events)Excluded from your Stigg subscriptionEnforced according to your Stigg subscription
SLA commitmentNoYes

πŸ“˜

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:

  1. Environment name
  2. Color which will be used to distinguish different environments from one another
  3. Description (optional)
  4. 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.

Delete an environment

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.

Copying configuration between environments

We've made it possible to copy configuration between environments with just a few clicks.
Learn here how this can be done.