Getting Started
Learn how to get started with Hologram as a
Getting Started Example: Important NoteWhat is a Verifiable Service Agent?
To build services compatible with Hologram, all you need is VS Agent, a web application that can be used as a framework for building conversational Verifiable Services (VS). It enables developers to create, deploy, and manage agents that provide trustworthy, verifiable information and actions in chat conversations.Get VS Agent
Pull the Container
docker pull io2060/vs-agent:devRun your own Hologram Verifiable Service
AGENT_PUBLIC_DID
In order to conform with Verifiable Trust concepts, a service needs to have a public decentralized identifier (DID). Hologram supports did:webvh method, a web-based identifier. For this you’ll need to have a public endpoint for your agent and prefix it with did:webvh.did:webvh:mypublichost.comAGENT_LABEL
String to be shown in invitationsAGENT_INVITATION_IMAGE_URL
URL of a logo to be shown in invitations alongside the label
Run the Container
docker run -p 80:3001 -p 3000:3000 \
-e AGENT_PUBLIC_DID=did:webvh:myhost.com \
-e AGENT_LABEL="My First Hologram VS" \
-e AGENT_INVITATION_IMAGE_URL=https://hologram.zone/images/ico-hologram.png \
--name io2060/vs-agent:devCreate QR codes for invitations
/invitation, which generates an invitation URL, or /qr, which renders this URL as a QR code so the user can simply scan it using their Hologram app.Invitation URL
GET/invitationQR Code
GET/qrSending chat messages
Admin API
You can send messages to users using VS Agent Admin API. Check out VS Agent API documentation and the Swagger UI of your deployed Agent at /api to know more.API Documentation
Complete reference for all VS Agent API endpointsInteractive API
Access Swagger UI at:/api