> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oloid-demo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to generate Role based Credential API token in Tenant Admin Portal

> This document provides step-by-step instructions to generate Role based Credential API token in Tenant Admin Portal.

## Introduction

In the Oloid Tenant Admin Portal, role-based Credential API tokens allow administrators to generate secure tokens that inherit permissions from predefined roles. This ensures that integrations and applications can access only the Oloid services appropriate for their intended function.

## Pre-Requisite

You must have a Tenant Admin account.

## Steps to generate Role based Credential API token

1. Log in to the **Tenant Admin Portal**.
2. On the homepage, click **User Profile** icon from the bottom left.

   ![How to generate Role based Credential... - screenshot 1](https://mintcdn.com/oloid-999c42b2/V2g4fo96eCTFLcNy/images/intercom/11659590/image-137c75b5.png?fit=max\&auto=format\&n=V2g4fo96eCTFLcNy\&q=85\&s=b7d47f58d1f0723e423f03588f20330f)

   The **user profile menu** is displayed.
3. Click **Tenant Settings**.

   ![How to generate Role based Credential... - screenshot 2](https://mintcdn.com/oloid-999c42b2/V2g4fo96eCTFLcNy/images/intercom/11659590/3c649d53-b16c-412a-a578-21f8056ce052-a2ebc3ec.png?fit=max\&auto=format\&n=V2g4fo96eCTFLcNy\&q=85\&s=f83916e8b32a3c7637d0ec06319b8896)

   The **Tenant Settings** page is displayed.
4. Go to **Security** tab > select **Role Based Credential** under **API Token** dropdown menu.
5. Click **Generate**.

   ![How to generate Role based Credential... - screenshot 3](https://mintcdn.com/oloid-999c42b2/V2g4fo96eCTFLcNy/images/intercom/11659590/image-13f53056.png?fit=max\&auto=format\&n=V2g4fo96eCTFLcNy\&q=85\&s=0f58342ffba0c525a48b55a4973b692e)

   The **Generate Role based Credentials** pop-up box is displayed.
6. Do the following:
   1. Enter **Token Name.**
   2. Select **Read Activity Logs** to allow users to only view the activity log
   3. Select **Read Transaction Data** to allow users to only view the transaction data.
   4. Select **Download Consent List** to allow users to download the consent data.

Click **Generate**.

![How to generate Role based Credential... - screenshot 4](https://mintcdn.com/oloid-999c42b2/V2g4fo96eCTFLcNy/images/intercom/11659590/image-056000f5.png?fit=max\&auto=format\&n=V2g4fo96eCTFLcNy\&q=85\&s=0015de24a763c0efdbd7d9dcbf43ef14)

The Role Based Credential is generated successfully.
