Clustermarket Integration
Clustermarket Integration
Introduction
Clustermarket offers a laboratory equipment scheduling & management system. Using the eLab SDK, it is now easy
to integrate Clustermarket's solution into your eLab (on premise) instance.
This document describes how to setup the Clustermarket Integration on your on premise instance.
Setting up a new OAuth 2.0 application in Clustermarket
To connect eLabNext with Clustermarket
- Go to https://app.clustermarket.com/oauth/applications/new
- Fill in Name, Company Name, Website URL and your Company Logo
- Select all Scopes
- Check Confidential
- Don't check Visible
- Fill in the following Callback url: https://[your-elab-next-instance-host-url]/api/v1/oauth2/redirect
- In CORS Domains make sure to add
https://[your-elab-next-instance-host-url]
(e.g. https://elab.yourorganisation.com) - Click Save
- We need the values from Client ID and Client Secret in the next step
- Contact Clustermarket in order to approve your oauth2 app.
Update Clustermarket OAuth 2.0 add-on in ELab
This step requires admin user access.
- Go to https://[your-elab-next-instance-host-url]/admin/marketplace/addons/
- Search for
Clustermarket’s Equipment Scheduler
- Click on the OAuth2.0 config icon
- Check
I understand and want to use my own settings.
- Click Custom configuration
- Add a Description
- Fill https://app.clustermarket.com/oauth/authorize in Authorization URL
- Fill https://app.clustermarket.com/oauth/token in Token request URL
- Fill https://app.clustermarket.com/oauth/token in Refresh request URL
- Fill
read_user+read_accounts+read_equipment+read_bookings
in Scope (use scoped you selected upon OAuth2.0 creation in Setting up a new OAuth 2.0 application in Clustermarket) - Paste the value ClientID from the app you created at Clustermarket
- Paste the value from Client Secret from the app you created at Clustermarket
- Uncheck Share configuration
- Click Save
Use the updated configuration
- Go to the marketplace and make sure the add-on
Clustermarket’s Equipment Scheduler
is installed. - Go to
Configuration -> Equipment
- Click on Connect to Clustermarket (this step requires the Administrator role for the current group)
- Login to the Clustermarket account that you used in Setting up a new OAuth 2.0 application in Clustermarket
- Select the lab that you want to connect and click Authorize
Updated 7 months ago