Masker integrates with Bolna by acting as an OpenAI-compatible LLM endpoint. You point Bolna’s LLM provider configuration at Masker’s base URL instead of OpenAI directly. Bolna sends each conversation turn to Masker, which strips PHI from the prompt, forwards it to your upstream model, and rehydrates the response before returning it — all within the same request cycle.Documentation Index
Fetch the complete documentation index at: https://docs.masker.dev/llms.txt
Use this file to discover all available pages before exploring further.
The steps below use the public demo at try.masker.dev. For a production deployment with your own portal agent, follow the Quickstart first and substitute that agent’s URL where the demo URL appears below.
Set up the integration
Get your session URL
Open try.masker.dev. The dashboard mints a session token for your browser tab. Your Masker base URL for Bolna looks like this:Copy the full URL. The
/s/<your-session>/ path segment scopes all events from this session to the correct tab in the Masker dashboard.Open your Bolna agent configuration
Log in to the Bolna dashboard and open the agent you want to route through Masker.
Set the LLM provider to Custom OpenAI-compatible
In the agent’s LLM settings, select Custom OpenAI-compatible as the provider type.
Paste the base URL
Paste your Masker URL into the Base URL field:Bolna appends
/chat/completions to this base URL when it makes requests — do not include that suffix yourself.Set the model name
In the Model field, enter any OpenAI-shaped model string. Masker forwards this value to your upstream provider:You can use any model your upstream provider supports —
gpt-4o, gpt-4-turbo, or a compatible model name. The value just needs to be a valid string for the upstream API you’ve configured in Masker.Verify redaction is working
During a call, open the Masker dashboard tab you used in step 1. The live transcript view shows:- Left of the firewall: the caller’s raw speech, including any PHI spans.
- Right of the firewall: the masked version forwarded to your LLM, with PHI replaced by stable tokens like
[PHONE_01]or[NAME_01].
/s/<your-session>/ segment from the same browser session as your open Masker tab.
Demo URL vs. production URL
| Environment | URL format |
|---|---|
| Public demo | https://try.masker.dev/agents/bolna-public-demo/s/<your-session>/v1 |
| Production (portal) | URL shown in the Masker portal under your agent’s settings |