Introduction
Målbar uses one distinct type of authentication:| Key type | Use case | Where to use |
|---|---|---|
| API keys | Server-to-server (REST APIs) | Back-end only; store securely, never expose to client |
API keys
API keys on Målbar allow you to access Målbar LCA programmatically. This is useful for integrating Målbar into your application or with other tools and services. Each API key is tied to a specificCustomer – meaning you can use it to access that Customers’s resources.
API keys on Målbar follow the format:
.env
Create an API key
You can create an API key by following these steps:Go to Målbar LCA
Go to API Keys in the dropdown > API Keys in your workspace.
Create an API Key
Click on the “Create API key” button.Input a name for the API key that describes the intent with the integrationClick on the Create API Key button to create the key. Make sure to copy your API key and store it in a safe place. You won’t be able to see it again.