# Affinidi Portal (Affinidi-hosted)

> Affinidi provides a fully managed, hosted DIDComm Mediator, a secure message relay service for decentralised messaging built on the DIDComm v2.1 protocol.

Release Note

Affinidi-hosted DIDComm Mediator is in Beta Programme. To get access, simply join the [Beta Programme](https://www.affinidi.com/affinidi-messaging-beta).

Using the managed DIDComm Mediator removes the need to maintain self-hosted infrastructure. It enables deployment with customisable configurations and offers predefined appliance sizes to suit different workloads (e.g., development, small, medium, large).

To get started, log in to the [Affinidi Portal ](https://portal.affinidi.com/messaging) and follow these steps.

## 1. Create mediator configuration

- 
Log in to the Affinidi Portal and select the project where you want to set up the DIDComm Mediator. If you are new to the Affinidi Portal, it automatically creates a default project for you.

- 
Go to Affinidi Messaging, and click on the Create configuration button.

Create Mediator Configuration page

- Set the following details to create the instance.

| Field | Description |
| Name | A friendly label for your mediator instance (helps with identification in the portal). Autogenerates if blank. (e.g., “local-mediator”). |
| Description 
 [Optional] | A short note on the purpose of creating the mediator’s instance. |
| Appliance Size | The size of the server to be created and host the mediator. Provide options such as Dev, Small, Medium, Large depending your workload requirements. 
You can’t update this field after creating the configuration. |
| ACL Mode | Explicit Deny (default), Explicit Allow requires adding specific DIDs to authentic and connect to the mediator in the Access Controls list. 
You can’t update this field after creating the configuration. |

Review your settings for the mediator configuration and click on Create. Deployment typically takes 2-5 minutes.

Once deployment is complete, Affinidi Portal displays the following details required to integrate with the DIDComm Mediator.

| Field | Description |
| Mediator DID | The Decentralised Identifier (DID) assigned to the mediator used to authenticate, connect and send/receive messages. |
| Mediator URL | The endpoint containing the DIDComm mediator’s did document. You can use this URL to check the DID document of the mediator. |

Important Note

By default, the DIDComm Mediator server enforces a MODE_EXPLICIT_ALLOW policy at the [DID-level ACL](/products/affinidi-elements/affinidi-messaging/didcomm-mediator/supported-acls.md#did-level-acls). This policy permits message delivery only from explicitly authorized DIDs.
Enforcing this policy helps prevent unsolicited communication and reduces the risk of spam from unknown or untrusted DIDs.

## 2. Test mediator connection

After deployment, refer to [Test Mediator Connection](/products/affinidi-elements/affinidi-messaging/didcomm-mediator/test-mediator-connection.md), which contains options for verifying your deployment and configuration.

                DIDComm SDK for Dart

Test mediator connection and send messages using the DIDComm SDK for Dart.

                DIDComm SDK for Rust

Test mediator connection and send ping message using the DIDComm SDK for Rust.

## What’s next

  [Explore Meeting Place, an implementation of Affinidi Messaging](/products/affinidi-elements/affinidi-messaging/meeting-place.md)

  [Integrate Affinidi Messaging into your applications](/products/affinidi-elements/affinidi-messaging/integration-guides.md)
