Sign up to create a workspace. New workspaces start paused. During onboarding, connect your MCP client where browser sign-in is available. You can also skip agent setup and return to Settings → Agents later.
When your client opens Barua, confirm the workspace and review what the agent can do. Choose any actions you want to approve yourself before granting access.
Start with one custom event or a test email to yourself. A broader setup review is recommended, but optional.
Connect the agent first
With a connected MCP client, ask “What’s left to set up?” Confirm the workspace and allowed actions in its reply.
For scripts with an existing management key
Install the skill in your repository:
npx skills add getbarua/skills --skill barua-setup
Set BARUA_SKILL to the installed skill directory, for example $PWD/.agents/skills/barua-setup. Read its SKILL.md task router, then only the complete sections for your chosen task. The installation reference covers portable fallback and helper dependencies. No particular model or native tool names are required.
Set BARUA_MANAGEMENT_KEY from your private store and BARUA_WORKSPACE_ID to the selected UUID, then run:
node "$BARUA_SKILL/scripts/manage.mjs" capabilities
node "$BARUA_SKILL/scripts/manage.mjs" setup
Confirm connection.tenant_id matches that UUID and inspect the allowed actions. A grant controls Barua only. The agent should discover its repo, hosting, DNS, database and browser access, then ask about missing access only when needed.
Reach the first sample
Choose a forwarded email design or a brand sample. With an explicit test:send grant, the agent can prepare an owner-only sample using Barua's sender before customer DNS or server events. Mailbox confirmation and sample sending are separate actions. The sample never enables customer email.
After each milestone, the agent recommends one relevant next task and explains why. It respects completed, skipped or deferred steps and continues authorized work. It reports when required setup is verified complete. Pixel setup and imports remain optional.
Add custom events
Start with one event or any chosen set, up to 100 custom event types per workspace. Name what you need, such as report_exported. Your agent can define its properties, add it to your existing plan and test it through your product's server. Follow Start with one event for the schema and commands. Existing events and pending work must be preserved.
This works in a new workspace without a complete journey map or independent review. Test events validate data and send no email. The owner sample is a separate test; it does not prove the event triggered an automated email.
For customer automation, configure a Play under your existing permissions. Custom-event Plays currently follow the person's latest occurrence and marketing rules. They do not guarantee a separate email for every occurrence. The built-in receipt and order updates have separate service-email behavior.
Optional broader setup review
When you want a complete email strategy, ask your agent to follow the journey reference. It creates a local HTML plan and matching JSON. You choose the scope and review workflow. Customer sending retains its own approval and sender requirements.
Verify the result
For one event or sample, report its actual result and any relevant pending action. A full review package is optional for this path. Only a delivery confirmation establishes that mail was delivered. Customer activation uses the separate fresh-event proof; historical imports and duplicate events cannot prove live deployment.
If work stops, use Recover a blocked task and resume the saved operation.