This guide gives you a checklist of what's required to ship your Knock notifications to a non-development environment.
What's an environment? Remember that in Knock each environment is logically isolated and shares no data by default. That means users, workflows, and configurations such as API keys won't be shared across your Knock environments.
- Set API keys: your secret and public API keys are unique per environment so you'll need to configure each environment's API keys in your server-side and client-side applications.
- Synchronize recipient data: you'll need to synchronize any recipient data in your new environment into Knock. All recipient (user and object) data is unique per environment.
- Push commits: you'll need to push any commits between your environments to ensure that most recent changes to workflows and email layouts are available in the environment. You can do this from the "Commits" tab in the starting environment (e.g. development to push to production).
Additionally, if you're using Knock to power your in-app notifications you'll need to:
- Generate signing keys: if you're building in-app notifications experience on the client, you'll need to generate a signing key for each environment.
- Secure your applications: using the generated signing key, you'll need to generate a JWT to secure each user's connection to Knock. Read more on security and authentication.