When registering your application on maestrano.com, as an application provider, you will be given an access to a Maestrano App Provider Dashboard. The technical aspects of the integration can be found in your API portal (API tab in the menu). From there, you will be able to: find your application credentials, fetch or update your metadata endpoint, and launch sandboxes of your app in one of your maestrano organizations.
1 Where can I find the credentials I will have to use?
In your API portal, you will find the Production application credentials (to be used once the application goes live) and the Sandbox credentials (to be used during the integration phase, and for all non-production environment). Several Sandbox environments can be set up (with different credentials for every sandbox) if you need to manage several test environments; just ask our team if your need more sandboxes.
2 How does the metadata endpoint work?
In order to understand your application and configure webhooks properly, Maestrano expects you to create a special "metadata" endpoint exposing the configuration of your application preferences in terms of Single Sign-On, data sharing subscriptions, webhooks etc.
Why a metadata endpoint?
Once setup, enter the URL of your metadata endpoint into your Maestrano App Provider dashboard then click on 'Update/Fetch'.
3 What to include in my metadata endpoint?
The metadata endpoint should return a JSON document describing your configuration. Note that the call initiated by Maestrano to retrieve your metadata is authenticated via HTTP Basic authentication using your own API credentials (shared secret).
The main fields of your metadata are:
Field | Required for OpenID SSO | Required for SAML SSO | Change with the tenant and the environment | Defaults fields | Description |
---|---|---|---|---|---|
environment | - | - | Yes (with the env. only) | - | The environment of the platform your are integrated to; accepted values: |
app.host | Yes | Yes | Yes (with the env. only) | - | Your application host |
api.id | Yes | Yes | Yes | - | The id of your app |
api.host | Yes | Yes | Yes | - | The platform host |
sso.idm | - | - | - | same as config.app.host | Your Identity Domain Manager |
sso.init_path | - | Yes | your choice | - | Your application path that allows users to initiate |
sso.consume_path | - | Yes | your choice | - | Your application path to the SAML endpoint that allows |
sso.idp | Yes | Yes | Yes | if "environment" is set: | The platform host |
sso.x509_fingerprint | - | Yes | Yes | only if "environment" is set: | |
sso.x509_certificate | - | Yes | Yes | if "environment" is set: | |
connec.host | Yes | Yes | Yes | if "environment" is set: | The Connec! endpoint used to fetch data from |
webhook.account.group_path | Yes | Yes | your choice | - | Your application path where a notification will be posted |
webhook.account.group_users_path | Yes | Yes | your choice | - | Your application path where a notification will be posted |
webhook.connec.notifications_path | Yes | Yes | your choice | - | Your application path where notifications |
wenhook.connec.subscriptions | Yes | Yes | No | false for all entities | The list of entities (organizations, people, invoices etc.) |
4 How to test my integration?
The sandbox application should be used during the integration phase. You can add the application to your dashboard easily by clicking on the Start Sandbox App button and then choosing the appropriate company.
Once added to your dashboard, you can initiate the SSO process by starting the application, clicking on the application tile.
To test the data sharing end-to-end between your application and another application from the Maestrano platform, you will have to launch an other application on your dashboard. When records are created/updated in a system, notifications will be sent to the other applications from your Maestrano eco-system.