At a Glance
| Prompt | Category | What It Does |
|---|---|---|
embed-existing-dashboard | Setup | Embed a dashboard that already exists in the Databrain UI |
embed-blank-dashboard | Setup | Create per-client dashboard embeds for multi-tenant apps |
brand-my-embed | Customization | Customize colors, fonts, cards, charts, responsive layout, and access presets |
query-data | Data exploration | Query a datamart with natural language and use the semantic layer |
populate-semantic-layer | Data setup | Generate and save table/column descriptions, synonyms, and examples |
customize-customer-dashboard | Dashboard updates | Add, update, remove, or generate widgets for one customer’s dashboard |
sql-to-metric-migration | Production migration | Validate SQL, dry-run metric creation/update, then apply with explicit confirmation |
Setup Prompts
embed-existing-dashboard
embed-existing-dashboard
Embed a dashboard you’ve already built in the Databrain UI.The most common starting point. Walks through data app selection, API token creation, workspace and dashboard selection, embed creation or reuse, guest token generation, and frontend code generation.Example asks:
- “Embed my sales dashboard in my React app”
- “Set up a Databrain embed for my dashboard”
- “I want to embed the revenue overview dashboard”
list_data_apps -> list_api_tokens / create_api_token -> list_workspaces -> list_dashboards -> list_embeds -> create_embed -> get_embed_details -> generate_guest_token -> generate_embed_codeSee full workflow ->embed-blank-dashboard
embed-blank-dashboard
Multi-tenant setup where each client gets their own dashboard.Creates per-client dashboard embeds using
clientId for customer-specific dashboard copies. This is the right flow when customers need different layouts, self-serve metrics, or per-client dashboard isolation.Example asks:- “Create per-client dashboard embeds for my SaaS app”
- “Set up multi-tenant embeds with separate dashboards per customer”
- “I need each client to have their own dashboard copy”
list_data_apps -> list_api_tokens / create_api_token -> list_dashboards -> list_datamarts -> create_embed per client -> generate_guest_token -> generate_embed_codeSee full workflow ->Data Prompts
query-data
query-data
Query your data with natural language and manage semantic context.Ask questions about your data without setting up dashboards. The assistant verifies the datamart and semantic layer before calling
ask_question.Example asks:- “What was total revenue last month?”
- “Compare sales across regions for Q1”
- “Show me the top 10 products by revenue”
list_datamarts -> get_semantic_layer -> update_semantic_layer or start_semantic_layer_generation if needed -> ask_questionSee full workflow ->populate-semantic-layer
populate-semantic-layer
Generate and save table/column descriptions to improve natural language querying.Bootstraps the semantic layer by generating business-friendly descriptions, synonyms, and example questions, then pushes them to Databrain.Example asks:
- “Set up the semantic layer for my orders datamart”
- “Add descriptions to all my tables and columns”
- “Improve the semantic layer quality for better query accuracy”
list_datamarts -> get_semantic_layer -> update_semantic_layer -> get_semantic_layer -> ask_questionSee full workflow ->Embed Customization Prompt
brand-my-embed
brand-my-embed
Customize colors, fonts, chart styles, responsive layout, cards, and access presets.Applies visual theming to match your product’s branding. Supports theme presets, custom colors, font family, card styling, chart appearance, responsive breakpoints, and access presets.Example asks:
- “Make my embed match our brand: primary color #4F46E5, dark mode”
- “Apply the corporate theme and use Inter font”
- “Customize chart colors to use our brand palette”
list_embeds -> get_embed_details -> customize_embed_theme -> update_embed when advanced patching is neededSee full workflow ->Customer Dashboard Prompts
customize-customer-dashboard
customize-customer-dashboard
Add, modify, remove, or generate widgets for one customer’s dashboard.This flow is designed for customer-specific dashboard updates. The assistant asks for
clientId and dashboardName, resolves the required resources automatically, and keeps every change scoped to one customer.Example asks:- “Add the Calls per Day widget to Acme’s dashboard”
- “Remove the billing widget for one client only”
- “Generate a widget showing disqualification reasons for this customer”
- “Give me a demo link so I can see what this client sees”
list_tenants when clientId is unknown -> list_widgets -> generate_widget or add_widget -> update_widget / remove_widget -> list_widgets -> get_demo_linkSee full workflow ->sql-to-metric-migration
sql-to-metric-migration
Production-safe SQL-to-metric migration.Converts validated warehouse SQL into a Databrain metric/widget with an explicit validation, dry-run, review, apply, and verification sequence.Example asks:
- “Validate this SQL as a new metric on my operations dashboard”
- “Dry-run creating this converted query as a metric, then show me the plan”
- “Apply the approved metric migration”
list_workspaces -> list_dashboards -> list_widgets -> validate_metric_spec -> create_or_update_metric_from_query in dry_run -> create_or_update_metric_from_query in apply with confirm: "APPLY_TO_PRODUCTION" -> list_widgets -> get_demo_linkSee full workflow ->Prompt Behavior
- Prompt flows are interactive. The assistant presents results and waits for user input before the next mutating step.
- Token and resource details stay in your MCP configuration and Databrain workspace. The assistant does not need service tokens, API tokens, data app IDs, datasource IDs, or embed IDs unless you provide them proactively.
- Use
list_tenantsto discover validclientIdvalues from the workspace tenancy database before guest-token, demo-link, scheduled-report, or customer-dashboard widget work. - Use
externalMetricId, notmetricId, forupdate_widgetandremove_widget. create_datamart,create_workspace_metric, andcreate_or_update_metric_from_queryapply operations requireconfirm: "APPLY_TO_PRODUCTION".
Related
Workflows
See these prompts in action with end-to-end walkthroughs
Tools Reference
Detailed docs for every tool

