> For the complete documentation index, see [llms.txt](https://docs.dataloy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataloy.com/release-8.31/voyage-management-system/step-by-step-guides/setup/m2m-users.md).

# M2M users

### Overview

M2M (Machine-to-Machine) users enable secure API integrations between Dataloy VMS and external systems. These automated users authenticate using client credentials rather than traditional username/password combinations, allowing systems to communicate without human intervention.

### Access Requirements

To create and manage M2M users, you need one of the following roles:

* **Administrator**
* **M2MProvisioning**

### Creating an M2M User

#### Step 1: Navigate to M2M Users

From the main menu, go to **Setup** → **M2M users**

The M2M users page displays all existing machine users with their names and Client IDs.

#### Step 2: Create New User

Click the **"+"** button in the top right corner to open the creation dialog.

Insert a username and necessary security groups.

<figure><img src="https://content.gitbook.com/content/zjy4yJFZRJooU1EGrLs5/blobs/gwFHGj9QyRDR5pyF8Hzp/Screenshot%202025-09-03%20at%2010.23.27.png" alt=""><figcaption></figcaption></figure>

Click **Confirm** to create the user.

### Managing M2M Users

#### Viewing User Details

Click on any M2M user from the list to view and manage its configuration:

<figure><img src="https://content.gitbook.com/content/zjy4yJFZRJooU1EGrLs5/blobs/WNx8mSdJzcDcr9H1zcXV/Screenshot%202025-09-03%20at%2010.23.45.png" alt=""><figcaption></figcaption></figure>

The detail view shows:

* **M2M Name**: The integration identifier
* **Client ID**: The unique identifier used for authentication
* **Client Secret**: The secure token (masked by default)
* **Security Groups**: Current permission assignments
* **Business Units**: Assigned business units

#### Sharing Credentials

Provide the following to your integration partner:

1. **Client ID**
2. **Client Secret**
3. Link to authentication documentation: [Authentication & Authorization](https://app.gitbook.com/o/-LhoT2vqihl0pYiCeolt/s/wrvQUTAwc00ji4moOvmW/dataloy-rest-api/authentication-authorization)

### Related Documentation

* [Authentication & Authorization](https://app.gitbook.com/o/-LhoT2vqihl0pYiCeolt/s/wrvQUTAwc00ji4moOvmW/dataloy-rest-api/authentication-authorization) - Technical implementation details for API authentication
* [Data Control](https://app.gitbook.com/o/-LhoT2vqihl0pYiCeolt/s/yYbNukLL3zJksOADeOR7/voyage-management-system/step-by-step-guides/setup/data-control) - Managing business unit access restrictions


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dataloy.com/release-8.31/voyage-management-system/step-by-step-guides/setup/m2m-users.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
