> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up UniMicro in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/unimicro
Last updated: 2026-11-24

Share UniMicro with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 16 tools, all read-only.

---

To give your team UniMicro in Claude, ChatGPT, Cursor and other AI clients, an admin shares the UniMicro integration in a Metorial portal, and each person signs in to UniMicro with their own account. Agents can connect to UniMicro accounting and ERP data. The integration has 16 tools, all read-only.

**What you will learn**

- How an admin shares UniMicro in a portal and how each person connects
- The 8 OAuth scopes UniMicro can request, and what each one allows
- How to check the connection with `metorial call`

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with UniMicro for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **UniMicro OAuth** | OAuth | Signs in to UniMicro |

### UniMicro OAuth

People sign in to UniMicro and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `openid` | OpenID | Access OpenID identity claims. |
| `profile` | Profile | Access profile claims for the authenticated user. |
| `offline_access` | Offline Access | Issue refresh tokens so Slates can refresh UniMicro access tokens. |
| `AppFramework` | AppFramework | Access UniMicro AppFramework business APIs. |
| `Sales.Invoice` | Sales Invoice | Read customer invoice data. |
| `Accounting.Reporting` | Accounting Reporting | Read reports such as profit and loss, balance, and trial balance. |
| `Accounting.Journal` | Accounting Journal | Read journal entry and account data. |
| `READ_ONLY` | Read Only | Read-only API access where enabled by the UniMicro application. |

### Setup settings

Setup also asks for:

- `environment`: UniMicro platform environment. Use custom for DNB, Eika, Azets, SpareBank 1, or private platform hosts. One of "test", "unimicro", "custom".
- `companyKey` (optional): Default UniMicro CompanyKey for business API calls. Use list_companies to discover available company keys.
- `customAppFrameworkUrl` (optional): Custom AppFramework/base URL, for example https://system.eikaregnskap.no/. Required when environment is custom unless the OAuth token contains an AppFramework claim.
- `customIdentityUrl` (optional): Custom identity/login URL for OAuth when environment is custom, for example https://login.regnskap.sparebank1.no/.
- `customFilesUrl` (optional): Custom file server URL when environment is custom.
- `defaultTop` (optional): Default page size for UniMicro list tools. Defaults to 50.

## Use your own UniMicro OAuth app

With your own OAuth app, people see your company's name on the UniMicro consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose UniMicro and copy the **Redirect URI**.

2. **Register the app with UniMicro**

   Create an OAuth app or client in UniMicro and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in [UniMicro OAuth authentication](https://developer.unimicro.no/guide/authentication/auth-code).

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the UniMicro integration.

## Admin: share UniMicro in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose UniMicro. For how members connect, choose **Each person connects**, so everyone signs in to UniMicro as themselves.

3. **Choose who gets it**

   Add the access groups that should see UniMicro. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user UniMicro integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search unimicro
```

## Employee: connect UniMicro

### In the portal

1. **Open UniMicro in the catalog**

   Sign in to your portal and open UniMicro. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A UniMicro sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search unimicro
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your UniMicro connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list unimicro
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Every UniMicro tool only reads, so the connection is read-only as it is.

## Check it worked

```bash
metorial list unimicro
metorial tools <integration-id>
metorial call <integration-id> list_companies -d '{}'
```

`metorial tools` lists the 16 tools, minus any you rejected. `list_companies` takes no input. It lists companies available to the authenticated UniMicro user so callers can choose the CompanyKey required by business tools.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (16)

- `get_trial_balance`: Get the UniMicro trialbalance account report.
- `list_products`: List UniMicro products and services for invoice/order setup, product sync, pricing, VAT, and account mapping workflows.
- `list_customers`: List UniMicro customer master records for CRM, billing, accounting sync, and invoice lookup workflows.
- `list_accounts`: List UniMicro chart of accounts records for accounting, invoice coding, journal, and reporting workflows.
- `list_supplier_invoices`: List UniMicro supplier invoices for AP visibility, approval state review, payment status review, and export workflows.
- `download_file`: Download a UniMicro file through the UniMicro Files endpoint and return the contents as a Slate attachment.
- `list_companies`: List companies available to the authenticated UniMicro user so callers can choose the CompanyKey required by business tools.
- `list_suppliers`: List UniMicro supplier master records for procurement, accounts payable, and supplier invoice workflows.
- `get_customer`: Get one UniMicro customer by numeric customer id. Needs `id`.
- `get_customer_invoice`: Get one UniMicro customer invoice by numeric invoice id. Needs `id`.
- `get_balance_sheet`: Get the UniMicro balance account report.
- `get_supplier_invoice`: Get one UniMicro supplier invoice by numeric supplier invoice id. Needs `id`.
- `list_journal_entries`: List UniMicro journal entry headers for general ledger audit, voucher lookup, and accounting export workflows.
- `get_profit_and_loss`: Get the UniMicro profit-and-loss-periodical account report.
- `list_customer_invoices`: List UniMicro customer invoices for AR visibility, customer invoice investigation, payment status review, and export workflows.
- `list_projects`: List UniMicro projects for dimensional reporting, invoice context, and project accounting workflows.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use UniMicro there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [UniMicro on metorial.com](https://metorial.com/integrations/unimicro): the integration overview