Affinidi Portal (Affinidi-hosted)
Affinidi-hosted DIDComm Mediator is in Beta Programme. To get access, join the Beta Programme.
Using the managed DIDComm Mediator removes the need to maintain self-hosted infrastructure. It enables deployment with customisable configurations, in the appliance sizes your plan allows.
Sign in to the Affinidi Portal and follow these steps.
1. Create mediator configuration
Sign in to Affinidi Portal and select the project where you want to set up the DIDComm Mediator.
In the Affinidi Elements section of the sidebar, go to DIDComm Mediator, and select Create configuration.

Create Mediator Configuration page
- Set the following details to create the instance.
| Field | Description |
|---|---|
| Name of configuration | A label for your mediator instance in Affinidi Portal, from 3 to 64 characters. It starts as “Default DIDComm Mediator”. |
| Description [Optional] | A short note on the purpose of the mediator instance. |
| Version | The mediator version to deploy. This field appears only when more than one version is available. |
| Appliance size | The server size for hosting the mediator: Basic (for testing; deleted automatically after 60 days on the Essential and Community plans, and kept on Standard, Premium and partner plans), Enhanced, or Custom. Choosing a size shows how long Portal keeps it on your plan. The sizes you can choose depend on your plan. You cannot update this field after creating the configuration. |
| Mediator ACL mode | Sets the default access policy. Explicit Deny (default) allows all DIDs unless denied. Explicit Allow requires adding specific DIDs to authenticate and connect. You cannot update this field after creating the configuration. |
Review your settings for the mediator configuration and select Create.
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 URL to the mediator’s DID document. |
Separately from the Mediator ACL mode, the DIDComm Mediator server enforces a MODE_EXPLICIT_ALLOW policy by default at the DID-level ACL. This policy permits message delivery only from explicitly authorised DIDs. Enforcing this policy helps prevent unsolicited communication and reduces the risk of spam from unknown or untrusted DIDs.
The Affinidi-hosted mediator accepts management requests only as Trust Tasks. Rust clients need affinidi-messaging-sdk 0.26.13 or later to open an account when the mediator’s access is closed. Dart clients need didcomm 2.4.0 or later to manage access lists.
2. Test mediator connection
After deployment, refer to Test Mediator Connection, which contains options for verifying your deployment and configuration.
What’s next
Glad to hear it. Thanks for letting us know.
Sorry to hear that. Thanks for letting us know.
Still stuck? Ask the community on Discord or contact us.