Onboarding

Getting Started with BuzzBlazor

From zero to a working production-style page in a beginner-friendly sequence.

Implementation Path

Configure services

Add Buzz services and provider failover in Program.cs.

1) Setup Provider and Services

Codecsharp
builder.Services.AddBuzzFramework(builder.Configuration, options =>\n{\n    options.DefaultProviderName = \"openai\";\n    options.ProviderFailoverOrder = [\"openai\", \"ollama\", \"mock\"];\n    options.EnableAiSuggestions = true;\n    options.AiMaxPromptCharacters = 1800;\n    options.AiMaxUserInputCharacters = 350;\n    options.AiMaxRequestsPerDay = 400;\n    options.AiBudgetExceededBehavior = \"fallback-mock\";\n});

2) Add Components to a Page

Coderazor
<BuzzTextBox\n    Label=\"Issue Summary\"\n    @bind-InputText=\"_issueSummary\"\n    ReferenceText=\"@_sampleContext\" />\n\n<BuzzCard Title=\"Case Overview\"\n          EnableAiSummary=\"true\"\n          SourceText=\"@_sampleContext\" />

3) Validate UI Quality

4) Continue Learning

Next Stop: Installation, Components, and Tutorial

After setup, validate behavior in component demos, then complete the medical triage tutorial end-to-end.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.