Nova Integration for WebPros Cloud
Overview
This document explains how to connect your Nova WebPros Cloud server to your customer portal.
Integration steps for Plesk partners
Step 1: Create a Nova Prompt page and embed the Nova script
You must create a Nova Prompt page and embed the Nova script. You can customize the script to:
- Adjust the styles of the prompt field.
- Pass the user-entered prompt as a parameter.
For more information, read our Nova Prompt Integration Widget Guide documentation and our example of an embedded prompt.
Step 2: User sign-up, sign-in, and prompt handling
When a user enters a prompt and selects Start Building, your integration should initiate the Nova sign-up and sign-in process.
Account creation and license provisioning
Use the Nova’s createKey function to create a new user account and provision a Nova license for that user. For more information, read the createKey function documentation.
User authentication
To sign the user in to Nova, use Nova’s getSsoLink function. This function returns a Single Sign-On (SSO) link that authenticates the user and redirects them to the Nova application.For more information, read the getSsoLink function documentation.
Passing the prompt into Nova (optional)
If you want Nova to prefill or use the prompt the user entered in Step 1, pass it as a Base64-encoded string:
- Encode the user’s prompt into Base64.
- Include the encoded value in the
promptTokenparameter when using thegetSsoLinkfunction.
Step 3: Upgrade a user’s plan
If a user purchases a higher-tier plan, you can upgrade their Nova license by using Nova’s modifyKey function. For more information, read the modifyKey function documentation.
- Provide the new license identifier that should replace the user’s current license.
Step 4: Terminate a user’s Nova account
If you need to permanently deactivate a user’s Nova account, use Nova’s terminateKey function. For more information, read the terminateKey function documentation.
Executing this function will:
- Permanently delete the user’s Nova account.
- Remove access to all Nova projects that account owns.
- Revoke the license you provisioned for the user.
This action is irreversible.