Plugins are flexible data connectors to connect data stores, APIs or open datasets to Luzmo.
If a built-in Luzmo connector is not yet available for your database or service, or if you already have an API for your company data and want to reuse it, building a plugin is the way to go!
Building plugins: more information about developing Plugins can be found in the Plugin API chapter.
Registering plugins: once your plugin is built, you can register it either via the Luzmo UI or use the Core API to automatically register a plugin for your user.
Your base URL should not end with / . The endpoints that will be called are: BASE_URL/datasets , BASE_URL/query , etc.
When you build a plugin, you essentially host an API with authentication and several standard endpoints. The create action in the Core API registers the plugin in the platform for a specific user. You can then later associate it to an organization in order to make it available for the organization.
The effect will be that users of your organization will see this plugin when they add new data.
npm install @luzmo/nodejs-sdk{
"id": "6b297528-91e5-4655-99a3-fe200f91b64b",
"slug": "myplugin9974880",
"name": {
"en": "My Internal Api Plugin"
},
"description": {
"en": "Since we already have an API, we wrote a simple plugin around our API"
},
"url": "https://url-to-some-product-info.com",
"license": "Create Commons 0",
"base_url": "https://8017349d.ngrok.io",
"authorize": "token",
"tiles": true,
"search": false,
"public": false,
"reviewed": false,
"color": "#00FF00"
}