Register and authenticate add-ons
This guide explains how to register a new add-on application in Nexudus, configure its installation URL and required roles, and authenticate API requests using your application credentials.💡 Before you start Add-ons (also called published add-ons) are third-party integrations that can be installed by Nexudus customers. If you’re building a custom integration for your own space only, you may not need this flow — consider using a standard API access token instead.
Overview
Every add-on in Nexudus has two key credentials:
When a customer installs your add-on, Nexudus redirects them to your Installation URL with a set of parameters that your application uses to generate an authentication token. This token then allows your add-on to make API calls on behalf of the customer’s account.
Step 1: Register your add-on
You can register a new add-on application in two ways:- Nexudus Dashboard
- REST API
- Sign in to your Nexudus account as an Admin.
- Navigate to Settings > Add-ons > Manage add-ons.
- The management page is available at:
https://dashboard.nexudus.com/apps/applications/manage - Click Create to add a new application.
- Fill in the required fields:
Step 2: Retrieve your application credentials
After creating the application, you need to retrieve the Application Key and Secret Key. You can find these in the Dashboard or via the REST API.- Nexudus Dashboard
- REST API
After creating the application in the Dashboard, your credentials are displayed on the application’s detail page. Navigate to Settings > Add-ons > Manage add-ons, click on your application, and you will see the Application Key and Secret Key listed.
🚨 Important Never share your Secret Key. If someone obtains your Secret Key, they can impersonate your add-on and access customer data. Store it securely in your application configuration.
Step 3: Handle the installation callback
When a user installs your add-on, Nexudus redirects them to the Installation URL you configured. The redirect includes several query parameters:
Example redirect URL:
Validating the request
Before proceeding, verify the request is genuinely from Nexudus by recalculating the hash:- Take the parameters
token(t),applicationKey(a), andtimespan(d). - Sort them alphabetically.
- Join them with a pipe (
|) separator. - Append your Secret Key to the end.
- Calculate the MD5 hash of the resulting string.
- Compare your calculated hash with the
hparameter.
Generating the authentication token
Once the request is validated, generate the authentication token:authToken is used as the password in Basic Authentication when making API calls.
Step 4: Make authenticated API requests
After installation, your add-on can make API requests using Basic Authentication:
Example request:
💡 Note The authentication token is generated once during installation and is tied to the specific customer account that installed your add-on. You should store this token securely for subsequent API calls.
What happens during installation
When a user approves the installation of your add-on, Nexudus performs the following actions behind the scenes:- Creates an API access user — A new system user is created with the email format
{applicationKey}_{businessId}_api@nexudus.comandAPIAccess = true. This user is linked to your add-on. - Records the installation — An
InstalledApplicationrecord is created, linking your application to the customer’s business. - Generates credentials — The authentication token is computed and passed to your installation URL.
- Redirects to your app — The user is redirected to your Installation URL with the generated parameters.
Related entities
The following Nexudus entities are involved in the add-on system:
For the full API reference, see the Apps & Marketplace section.
Submit your application for approval
Once your add-on is ready, follow these steps to submit it for approval to the Nexudus team:-
Update your application details — Make sure the following fields are meaningful and accurate:
-
Send an approval request — Email support@nexudus.com with the following information:
- Your add-on URL (the public URL where your add-on is hosted)
- Your Privacy Policy URL
- Your Terms of Service URL
Best practices
- Store your Secret Key securely — Never commit it to source control or expose it in client-side code.
- Validate every installation request — Always recalculate the hash before trusting any parameters from the installation callback.
- Use HTTPS — Your Installation URL should always use HTTPS to protect the credentials in transit.
- Check required roles — Ensure the installing user has the roles your add-on requires before proceeding.
- Handle re-installation — If a user already has your add-on installed, Nexudus may redirect directly without showing the installation prompt.