# 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="/files/CmVGxzHJiTTvO03WOyVC" 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="/files/COnUfDdzHbkkDid3HhlN" 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: 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 current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
