All three options use the same embed settings, usage credits, and conversation
limits.
Start With the Default Embed
Every ready avatar has a default embed. It is enabled and works on any website, so you can use its Share Link or Embed Code right away. To find it:- Open Avatars in the Protoface dashboard.
- Find a ready avatar and select Embed.
- The default embed appears under Current Embed.
Create Another Embed
Select New Embed if you want different settings for another website, environment, or campaign. New embeds start enabled with Domain Restrictions off, just like the default embed. To limit where an embed can run, open Advanced Options and turn on Domain Restrictions. Add each permitted domain under Allowed Website Origins. These entries are origins, not full page URLs. An origin contains only the protocol, domain, and optional port.
Put one origin on each line. Do not add a path, query string, fragment, or
wildcard.
Share Link
Use the Share Link when you want to send someone directly to the avatar. Copy or open it from the Embed panel. The link opens a Protoface-hosted page, so there is nothing to add to a website.iFrame Embed
The iFrame embed is the quickest way to add an avatar to your site. Select Embed Code, copy the code from the Embed panel, and paste it into your page:Respond to Embed Events
The iFrame embed can notify your page when something happens inside it. These notifications are called browser events. You might use them to update text on the page, record that a conversation started, or display a final transcript in another part of your interface. Events are optional. The embed works normally if your website does not listen for them. Each event is sent from the<protoface-avatar> element. The event’s
detail property contains information about what happened. For example, this
updates a status message when a conversation starts and ends:
For transcript events,
role is either user or agent, content contains
the transcribed speech, and final is true once that part of the transcript
is complete. The room value identifies the individual conversation.
You can listen on the <protoface-avatar> element or one of its parent
elements. Events can report activity, but they do not provide methods for
starting or controlling a conversation.
Custom UI With Protoface Client
Useprotoface-client when you want to design the whole interface yourself,
including consent, controls, avatar placement, transcripts, errors, and status
messages.
Start with the
Protoface Conversations quickstart,
then replace its embed ID with the public ID from your Embed panel.
Your frontend only needs the public embed ID. Protoface still applies the saved
embed settings and account limits behind the scenes.
What Visitors Experience
The iFrame embed and Share Link show the avatar portrait and intro. Before a conversation begins, visitors are guided through consent and microphone access. A custom UI presents the same steps in its own design. Visitors can end a conversation at any time. The hosted options also explain when an embed is disabled, has reached a limit, or is temporarily unavailable. Conversation starts consume the embed owner’s Protoface credits and count toward the account’s concurrent-session limits.Manage Access and Limits
- Deactivate stops new conversations but keeps the embed’s settings.
- Regenerate Link creates a new public ID. Anything using the old ID will stop working, including iFrame embeds, custom UIs, and Share Links.
- Starts per Hour limits new conversations started through that embed.
- Active per Visitor limits simultaneous conversations by the same visitor.
- Max Seconds ends an individual conversation after the configured time, up to 3,600 seconds.

