Prerequisites
Before we get started, please ensure you have the following:- An active account with Portal.
- Access to the Portal web app.
- Access to the Portal SDK you’re using.
- Wallets that have been tested in your “Development” environment and have successfully been generated, backed up, recovered, and signed.
Step 1: Switch to “Production” in the Web App
The first step is to switch your web app to the Production environment. This can be accomplished within your Portal web app. Follow the steps outlined below:- Log into your Portal account.
- Locate the Environment dropdown in the bottom-right corner of your screen.
- Switch it to Production.
Step 2: Create a Production API Key
The next step is to create an API key that will be used in the Production environment. Here’s how to do it:- After switching to the Production environment, navigate to the API Keys section on the Settings page.
- Click on the New + button.
- A modal will pop up. Give your new Production API key a recognizable name. For instance, “Production Key”.
- Click on Create.
Step 3: Configure a Production Self-Managed Backup Webhook (Optional)
This step only applies if you chose to use Self-Managed Backups to store backup shares on your own backend instead of Portal Managed Backup which stores the backup shares in Portal’s backend. If so follow the Self-Managed Backup instructions to:- Set up your database schema to store Portal backup shares.
- Spin up a webhook server to accept backup and recovery webhook requests. Be sure to add IP Allowlisting and authenticate the Webhook Secret.
- Update the Portal webhook configuration with your webhook URL.