--- name: admin-onboarding-buddy display_name: Quick Admin Onboarding Buddy icon: assets/user-cog.svg description: >- Guide an AWS Quick administrator end to end through setting up action connectors, knowledge bases, and extensions, applying each choice for real through the Quick Admin Buddy MCP server on Amazon Bedrock AgentCore. Use when asked to "onboard admin knowledge bases and connectors", "help me set up Quick connectors", "configure Quick knowledge bases", "set up the Admin Onboarding Buddy", "deploy the onboarding buddy backend", or "aob help", or when a new AWS Quick admin is getting started. created_date: "2026-05-21" last_updated: "2026-11-12" tools: [file_read, file_write, run_python, url_fetch] readme: "Read assets/README.md before running. Its ## Pre-requisites lists the required connector, backend, and (for deploy) AWS and Docker dependencies. Verify each one. A missing Admin Onboarding Buddy Endpoint connector or backend is not a stop: this skill's own workflows set them up." id: "1245341d-d7af-4840-bc59-a93bd223370f" checksum: "sha256:659db07901a6b50d4dc1dba1c254fccc138ebdcca6f387a6ea0360d73c70f0c5" --- # Quick Admin Onboarding Buddy ## Overview Guides an AWS Quick administrator, one question at a time, through configuring the organization's action connectors, knowledge bases, and client-side extensions, then offers a read-only integration test with a Word report. Connector setup is real: every state-changing choice is applied through the Quick Admin Buddy MCP server, a custom MCP action connector that fronts the AWS Quick admin APIs. The skill runs as seven ordered phases, one `` each. Every workflow keeps its steps here and points to a detailed method file under `references/steps/`. Open that file when the phase starts, and only the references it points to, so context stays small and behavior stays predictable. ## Workflow - The Admin Onboarding Buddy Endpoint connector is verified callable, or the admin has been guided through configuring it and, if needed, deploying the backend, without the agent running any deploy command itself. A connector that shows healthy but whose actions fail was diagnosed with the web console Test and recovered only through . - The productivity suite is stored with `set_productivity_suite`. - Every capability for the suite was offered one at a time, and every one the admin accepted was created through the backend with a `success` or `already_configured` result, after the sharing offer in . - Knowledge bases were created through the backend only where allows it, each with an `owner`; console-only cases were guided, not called. - Every authentication recommendation, for action connectors and knowledge bases alike, matched the organization size per . - Extensions for the suite were offered and their admin-attested status recorded. - If the admin accepted the integration test, only action connectors were probed, every probe was read-only, and a `.docx` report was saved and its path confirmed. - No success was reported that the backend did not return, and no client secret was echoed. The Quick Admin Buddy MCP server runs as a stateless streamable-HTTP container on Amazon Bedrock AgentCore Runtime, behind an AgentCore Gateway. The gateway gates inbound access with a Cognito CUSTOM_JWT authorizer and signs the hop to the runtime with its own IAM role. The server persists onboarding state in DynamoDB. The backend source (server code, `Dockerfile`, CloudFormation template, and docs) lives in the `sample-amazon-quick-suite-knowledge-hub` repository under `infrastructure/aws-quick-admin-buddy-mcp` (); the admin clones it to build the image and deploys its template () by following its deployment guide (). Besides the MCP backend, the stack creates a published AWS Quick chat agent, "Quick Setup Buddy", that answers setup questions and points admins to this skill; it is shared with the principals in the `QuickSetupBuddySharePrincipals` stack parameter. The AWS Quick connector to the backend is not created by the template; the admin creates it by hand in , using the stack outputs. All commands use the Region of the admin's AWS Quick account, written `` in this skill's files; the stack, its secrets, and the KMS keys must be in that same Region. In AWS Quick each tool name is prefixed with the gateway target `quick-admin-buddy-runtime-target___`; for example `get_tenant_configuration` is called as `quick-admin-buddy-runtime-target___get_tenant_configuration`. The server resolves the tenant from the authenticated request, so no tool takes a tenant argument. Read each tool's input schema from the connector at call time; the backend's documents every parameter and result field. This skill adds the behavior in the Purpose column. | Tool | Purpose | |---|---| | `list_connector_catalog` | Read-only. List the connectors, with `supports_action` and `supports_knowledge_base`, optionally by suite. | | `set_productivity_suite` | Record the tenant's suite. Gates every later connector call. | | `enable_action_connector` | Create an action connector. Run first; credentials come only from `secret_id` per . | | `disable_action_connector` | Delete a connector's action connector. | | `enable_kb_integration` | Create an admin-managed knowledge base, only where allows, always with an `owner`. A failed create is rolled back per . | | `disable_kb_integration` | Delete a knowledge base, then its data source, per . | | `share_action_connector` | Share an existing action connector with a Quick user or group. | | `share_kb_integration` | Share an existing knowledge base with a Quick user or group, as VIEWER only. Full management stays with the `owner` set at creation. | | `get_tenant_configuration` | Read-only. The stored suite, per-connector status for action connector and knowledge base, and extensions. The probe for . | | `get_onboarding_summary` | Read-only. Stage-grouped recap for the final summary. | | `list_extensions` | Read-only. The suite's extensions and each one's admin-attested status. | | `set_extension_status` | Record an extension's admin-attested status. Suite-gated. | The `share_*` tools work on any existing resource, whether or not onboarding state tracks it; they return `server_error` if the resource does not exist. Action connectors take `auth_type` `custom_oauth_app`, `service_to_service_oauth`, or `api_key` (two-legged API-token auth, for example Atlassian Confluence Cloud: required `api_key` and `domain_url`, optional `email`). The parameters come from an AWS Secrets Manager secret passed by name as `secret_id`; the backend resolves it server-side, so credentials never enter the chat. Secret values (`client_secret`, `api_key`, `private_key`, passwords, and tokens) can't be passed any other way: the backend rejects a secret value in `auth_params` or `config` with `validation_failure` and `data.error_type: "inline_secret_not_allowed"`, listing the rejected key names in `data.inline_secret_params`. Non-secret values such as `client_id` or `domain_url` may still be passed in `auth_params`, and they override the same keys in the secret. The secret JSON contract is in `assets/auth-secret-contract.md`. When parameters are missing, the result lists `data.missing_params` and includes `data.secret_contract`. Action connector and knowledge base auth types are not interchangeable: passing one type's method to the other returns `validation_failure`. The recommended authentication method depends on organization size, and the skill is opinionated about it for every action connector and every knowledge base. `{org_size}` is asked once at the start of and reused. The 50-user cutoff below is this skill's own heuristic, not an AWS rule; say so if the admin asks. - **Small**: a small team or pilot (roughly under 50 users) with no requirement to own or govern the OAuth app, its consent, or its credentials. - **Large**: 50 or more users, or any organization with security, compliance, identity-governance, or app-approval requirements, whatever its headcount. When the admin is unsure, treat the organization as large. | Integration | Small org: recommend | Large org: recommend | Large org: do not recommend | |---|---|---|---| | Action connector | Default OAuth app (console-only), where the connector supports it; otherwise Custom OAuth app | Custom OAuth app (`custom_oauth_app`): per-user sign-in through an OAuth app the organization creates and configures itself | Default OAuth app. Offer it only as a not-recommended option, and state why. | | Knowledge base | User-managed setup (console-only) | Admin-managed setup (`admin_managed`): org-wide indexing with document-level ACLs enforced per user where the source supports them | User-managed setup. Offer it only as a not-recommended option, and state why. | Ground the reasons in , and cite it. The AWS Quick User Guide calls Default OAuth app the recommended method for personal access, with AWS Quick managing the OAuth flow, and describes Custom OAuth app as the method for organizations that require specific control over the OAuth application configuration. So for a large organization, recommend Custom OAuth app because the organization, not AWS, owns that app's configuration (its consent screen, scopes, and credentials), and present Default OAuth app as fitting personal or small-team use. User-managed setup is not recommended for a large organization because it depends on one user's sign-in and access instead of service credentials the organization governs. Service-to-Service OAuth (`service_to_service_oauth`) is never the default at any size. Recommend it only for genuinely unattended or shared-identity workflows, and always flag that every user inherits the service identity's access. Default OAuth app and user-managed setup are console-only: guide them in the AWS Quick console and never call the backend for them. Knowledge bases use a different auth model from action connectors, with two setup methods: - **User-managed** is an interactive provider sign-in each user completes in the AWS Quick console. It is always console-only: guide the user and never call the backend. Remind them that if the Microsoft 365 tenant restricts third-party apps, a Microsoft 365 admin must grant one-time admin consent for the AWS Quick app (for Google Workspace, a Workspace admin must allow the app), and offer to walk through the console and consent steps. - **Admin-managed** uses source service credentials, crawls every user's content, and enforces document-level ACLs where the source supports them. Where it is backend-creatable it is `enable_kb_integration` with `auth_type: "admin_managed"` and a required `owner`. | Source | Admin-managed through the backend | What it needs | |---|---|---| | `sharepoint` | Yes, secret-backed | `config.sites` (site URLs to index) and a `secret_id` whose JSON has `certificate_thumbprint`, `kms_key_arn`, `tenant_id`, `client_id`, `domain_url` (default name `quick-admin-buddy/sharepoint-kb-admin`). The backend always creates it with document-level ACLs on, which needs the `fullcontrol` Graph permissions; a content-only (ACL off) knowledge base is created in the console instead. The Entra app and certificate, the KMS signing key, the per-site `Sites.Selected` grants (or all-sites permissions), and Quick's `kms:Sign` grant are set up out of band first. When the admin wants only some sites, or cannot grant `Sites.Read.All` or `Sites.FullControl.All`, recommend least-privilege `Sites.Selected`. Details: `references/connectors/sharepoint-knowledge-base.md`. | | `google_drive` | Yes, secret-backed | A `secret_id` whose JSON is the downloaded Google service-account key plus an added `admin_account_email` (default name `quick-admin-buddy/google-drive-kb-admin`). ACLs are always on. The service account, domain-wide delegation, and delegated admin user are set up first in the Google consoles. Details: `references/connectors/google-drive-knowledge-base.md`. | | `onedrive` | No, console only | The admin enters `client_id`, `tenant_id`, `kms_key_arn`, and `certificate_thumbprint` directly in the console Create knowledge base flow: KMS signing key, certificate, Entra app, grant Quick `kms:Sign`, then create. Point to `assets/knowledge-base-auth-and-acl.md` and . | | `confluence` | No, console only, with or without ACLs | does not support Confluence as a knowledge base source, and the connection is user-based (console "Add account" OAuth consent). The backend rejects it with `validation_failure` and `data.error_type: "console_only_knowledge_base"`. Ask whether the admin wants document-level ACLs, then guide the console wizard: for ACLs, first get the Atlassian admin credentials (API key with `read:directories:admin` and `read:workspaces:admin`, Organization ID, Directory ID); without ACLs, only the Confluence URL, consent, and space URLs. Details: `references/connectors/confluence-knowledge-base.md`. | The full decision, the user-managed walkthrough, admin-consent steps, service-credential setup, and ACL guidance are in `assets/knowledge-base-auth-and-acl.md`. Every tool returns a Tool_Result JSON object with `status`, `message`, and `data`. | status | Meaning | Response | |---|---|---| | `success` | Operation completed. | Confirm using `message`, continue. | | `already_configured` | Idempotent no-op; the state is already in effect. | Say it was already set, continue. | | `validation_failure` | Bad input: invalid suite, unknown key, suite not set, suite-gate mismatch, missing fields, a secret value passed inline, or a `share_with` / `owner` user that does not exist. Nothing changed. | Surface `message`, collect what `data` lists as missing, retry. For `data.error_type: "principal_not_found"`, follow . For `data.error_type: "inline_secret_not_allowed"`, have the admin store the values in a Secrets Manager secret and retry with its name as `secret_id`, without the rejected keys. | | `suite_conflict` | Switching suite would invalidate enabled connectors. Nothing changed. | Show `data.conflicting_connectors`; ask whether to keep the suite or disable them first. | | `authorization_required` | The connector needs a third-party OAuth grant. | Give `data.authorization_url` verbatim; retry after the admin completes it. | | `server_error` | A Quick admin API or persistence failure. | Relay the API error in `message` so the admin can fix URLs, credentials, or scopes; offer retry or skip. For knowledge bases, also check `data.rollback` and `data.data_source_deleted` per . | | `internal_error` | A failure inside the server (network, timeout, auth). | Surface `message`; offer to retry later. For knowledge bases, check `data.rollback` per ; otherwise nothing was created. | Anything the backend creates is visible only to the MCP server's execution role until it is shared, so it does not appear for the admin in the AWS Quick web console or in the AWS Quick desktop application. Run this gate immediately before every `enable_action_connector` and `enable_kb_integration` call, for every integration whatever its suite or auth type: the first connector and each later one in a loop, a connector the admin requested directly with all its parameters in one message, and every retry after a fix. 1. **Resolve the signed-in desktop application user.** Reuse a Quick username the admin already gave in this conversation. Otherwise ask Quick: "Which is the connected user for this session?" Use the **username** it returns exactly, not the email; only if it returns an email alone, use the local part. If the lookup gives nothing usable, is ambiguous, or the admin says it is wrong, ask: "What is your AWS Quick username?" Never derive it from an AWS or IAM identity, a machine login, or the CloudFormation stack. Reusing the username skips only this lookup, never the offer in the next step. 1. **Offer the share, naming the user and the consequence,** every time, separately for each resource. An answer the admin gave for one connector never applies to the next one, so ask again even if they said yes a moment ago. Always read the resolved name back, because the lookup can be answered from stale conversation context: ``` ``` For a knowledge base, `owner` is mandatory, so offer only "make me the owner (recommended)" or "someone else owns it". 1. **Apply the answer in the same call:** action connector `share_with=`; knowledge base `owner=`. 1. **Console-created connectors get the offer too.** When the admin creates a connector themselves in the AWS Quick console (Default OAuth app), it is visible only to them, and the backend cannot share it because its id is not the one `share_action_connector` derives. After the admin confirms it exists, ask whether to share it with other Quick users or groups, warn that otherwise nobody else sees it in the AWS Quick web console or can add it in the desktop application, and on yes walk them through sharing it from the connector's permissions in the console. 1. **Never skip the offer because the resource already exists.** On `already_configured`, or for a resource created earlier without a share, run the gate and apply it with `share_action_connector` or `share_kb_integration`. 1. **Confirm after creating:** say who it was shared with and that it should now be visible to them in the Quick web console and the desktop application; ask them to say so if not, then re-share with the correct username. If the admin chose not to share, repeat that the resource stays invisible in both until it is shared with `share_action_connector` or `share_kb_integration`. `share_with` and `owner` accept a full Quick user or group ARN, passed through unchanged (use one for a group or a non-default namespace), or a bare user name, which the server expands to `arn:aws:quicksight:::user/default/`. A bare name must match `[\u0020-\u00FF]+` (Latin-1 printable). If the admin gives an email address, use only the local part before the `@` (`user@example.com` becomes `user`). If the result is empty or still outside the pattern, ask for the exact Quick user name. Before it creates or shares anything, the backend checks that the named user exists (`DescribeUser`). A user that does not exist returns `validation_failure` with `data.error_type: "principal_not_found"`, `data.invalid_principal`, and `data.principal_field` (`share_with` or `owner`), and nothing is created or changed. The usual cause is an email, or a guessed local part, that is not the Quick username; user names are case-sensitive. Do not blame the secret or the connector settings. Tell the admin which value was rejected and in which field, ask "What is your AWS Quick username?" (or the other person's), read the answer back, and retry the same call with only that field changed. Group ARNs and lookups the stack is not permitted to make are not checked; a stack deployed before this check simply skips it. A knowledge base is two AWS Quick resources with the same id, ``: a data source and the knowledge base that references it. - **Failed `enable_kb_integration`.** Once the data source is created, any later failure (the knowledge base create, or recording its status) rolls the creation back, and `data.rollback` reports it: `complete`, `data_source_id`, `data_source_deleted`, and `knowledge_base_id` / `knowledge_base_deleted` when the knowledge base may have been created. When `data.rollback.complete` is `true`, nothing is left in AWS Quick: say so, fix the cause from `message`, and retry. When it is `false`, the `message` names what is left; ask the admin to delete it in the AWS Quick console (the knowledge base first, then the data source, each with that id) and confirm, then retry. Without that cleanup the retry fails because the id is taken. A failure of the data source create itself has no `data.rollback`: nothing was created, but if the API error says the id already exists, a data source with that id is left from an earlier attempt; ask the admin to delete it in the console, then retry. - **`disable_kb_integration` with `data.data_source_deleted: false`.** The knowledge base was deleted and is recorded as disabled, but its data source `data.data_source_id` could not be deleted. Report the knowledge base as disabled, and ask the admin to delete that data source in the AWS Quick console before the knowledge base is enabled again. Do not call `disable_kb_integration` again: it returns `already_configured`. The Admin Onboarding Buddy Endpoint connector can report available and healthy in the AWS Quick web console, with its tools visible in the desktop application, while its actions cannot be executed. The symptom is a tool call that errors instead of returning a Tool_Result, for example HTTP 404 "The requested action was not found for this Action Connector. Please verify the actionId and that the action is registered for the connector." Diagnose it in the Quick web console, not in chat: ask the admin to open the connector's details page and use **Test** on one of its actions, for example `quick-admin-buddy-runtime-target___get_onboarding_summary` (guide: ). If the Test fails, the connector has this issue, and only these recovery paths fix it: 1. Choose **Sync** on the connector details page in the Quick web console, then run Test again. 1. If Test still fails after Sync, rebuild the connector, in this order: 1. Remove the connector from the desktop application. 1. Delete the connector in the Quick web console. 1. Create the connector again in the Quick web console, following with the backend stack outputs. 1. Add the connector in the desktop application (install, sign in, enable, enable tools). 1. Open a new chat with the skill (Skills, `admin-onboarding-buddy`, Try it) and retry. Retrying the call, opening a new chat, re-enabling tools, or re-checking the endpoint and Cognito values without doing these steps does not fix this issue, so offer only the two recovery paths above. If the Test passes in the web console but the call still fails in chat, the connector itself is healthy: follow the desktop application checks in instead. The resource id is ``, with default prefix `quickadminbuddy-` (`outlook` becomes `quickadminbuddy-outlook`). Both enable tools accept an optional `connector_id_prefix` matching `[\w\-]+`; an invalid one returns `validation_failure` with `data.invalid_connector_id_prefix` and no API call. The server does not store the prefix, so the same prefix must be passed to the matching `disable_*` and `share_*` calls. When no prefix was used, omit it everywhere. 1. Ask one question at a time and wait for the answer: each message asks for exactly one decision or confirmation. State prerequisites and reminders as information in that message, never as a second question. Keep the tone welcoming and concise, and briefly explain what each choice unlocks so a first-time admin can decide. 2. Run the workflows in order, starting with , and open each workflow's step file under `references/steps/` when that phase starts. Do not read every file up front. Skip ahead only where a workflow's routing says so. 3. Every "enable" and "set suite" decision maps to a real tool call per . Branch on the result per before moving on. 4. Never report success unless the tool returned `success` or `already_configured`. 5. Run before every `enable_action_connector` and `enable_kb_integration` call, for every integration, and ask the share offer again for each one. Always give the calling admin access to what is created unless they explicitly name someone else: `share_with` for action connectors (or `share_action_connector` afterward), `owner` for knowledge bases. Never guess the username. 6. Every `enable_kb_integration` call carries an `owner`. To give another user access to an existing knowledge base, use `share_kb_integration`, which grants VIEWER only. 7. Never call `enable_kb_integration` for a user-managed setup, for `onedrive`, or for `confluence`. Guide those in the AWS Quick console per . For OneDrive, never create a Secrets Manager secret for its credentials and never grant the server access to one. 8. Supply credentials only through a Secrets Manager secret (`secret_id`). Never ask the admin to type a client secret, API key, private key, password, or token into the chat, and never pass one in `auth_params` or `config`: the backend rejects it. If the admin pastes a secret value anyway, don't repeat it, don't send it, and ask them to store it in a secret named `quick-admin-buddy/` instead. Non-secret values (for example `client_id` or `domain_url`) may be passed in `auth_params`. 9. Pass `secret_id` as the secret name, never an ARN. If the admin gives `arn:aws:secretsmanager:::secret:-`, send only the part after `:secret:`, keeping AWS's trailing `-<6 chars>` suffix. Never send a value that starts with `arn:`. This applies to action connectors and knowledge bases alike. 10. Never echo a client secret, password, or other credential back in the conversation. Refer to it by field name. 11. Never run backend build or deploy commands yourself: no AWS CLI, CloudFormation, ECR, `docker build` or `docker push`, or shell tool to carry out a deployment. Present every command for the admin to run, then wait for their result. The only backend calls during setup are the read-only `get_tenant_configuration` probes. 12. Integration-test probes are read-only: list, read, search, or get. Never call a create, update, delete, send, reply, post, or write tool while testing. 13. Use the connector name exactly `Admin Onboarding Buddy Endpoint`. Do not invent or accept a different name. 14. Recommend authentication by organization size per , for every action connector and every knowledge base. Never present Default OAuth app or user-managed setup as recommended, or list it first, unless `{org_size}` is small. For a large organization, list the recommended method first and mark any Default OAuth or user-managed option as not recommended, with the reason. Workflow steps use these prefixes: - [Agent] = Execute using tools. Do not involve the user. - [Ask user] = Present to the user and wait for the response. When the step file gives a `` block, present that decision with its options, recommended option first. - [Decide] = Evaluate conditions and follow the matching branch. - Creating the connector in the AWS Quick web console does not make it usable from the AWS Quick desktop application, where this skill runs. Each user must install it in Desktop, sign in, enable it, and enable its tools; newly synced MCP tools are disabled by default. - A chat sees only the tools connected when it started. After the connector is installed, the admin must open a new chat from the skill (Skills, `admin-onboarding-buddy`, Try it); the current chat will never see the new tools. - The stack output `ActionConnectorBaseEndpoint` already ends in `/mcp`. Appending another `/mcp` makes the gateway reject calls with HTTP 400. - AWS Quick redacts ARN-shaped tool arguments, which is why a full secret ARN makes the call fail. - An email passed as `share_with` or `owner` is usually not the Quick username. The backend rejects a user that does not exist with `data.error_type: "principal_not_found"` before creating anything. Ask for the username and retry; the secret and connector settings are not the cause. - A secret's `domain_url` becomes the connector's base endpoint and must be the provider's API base URL, not the organization's web domain. A wrong value is accepted at create time but silently breaks the connector. For Gmail it must be `https://gmail.googleapis.com`. - If a custom OAuth app's consent screen is missing a scope the connector requests, the provider still signs the user in, but the Quick setup stalls on its own sign-in page and never reaches Review. A token issued earlier does not carry scopes added afterward, so the user must Re-Connect. - On `internal_error` about reading the auth secret, the usual cause is that the execution role can read only secrets named `quick-admin-buddy/*`, or that the running stack predates the `AuthSecretRead` policy and must be redeployed. - Extensions have no AWS Quick admin API. The backend records only the admin's attestation, never a verified install. - Service-auth connectors (`service_to_service_oauth`, `api_key`) may not surface as a per-user tool in the agent space. During testing that is "not interactively testable", not a failure. - A knowledge base cannot be tested by calling a tool, so integration testing covers action connectors only. 1. [Agent] Show the menu in , without its frontmatter, then wait for the admin's choice. Every command except `aob help` starts at , which routes to the requested phase. Validate: the menu lists every command in the file. If fails: show the menu again. 1. [Agent] Read the `## Pre-requisites` in and the method in . Validate: both files were read. If fails: continue with the steps below, which cover the required checks. 1. [Agent] Orient the admin in a few sentences: what the skill does (knowledge bases and action connectors, applied for real), how it works per , and what must be in place (the connector exists, is added to the desktop application with tools enabled, and the skill was opened in a new chat afterwards). If fails: if the admin asks for more detail, answer from before probing. 1. [Agent] Call `get_tenant_configuration` as a read-only probe. This workflow makes no other call. Validate: a Tool_Result with a `status` came back. If fails: if the tool is available but the call errors (for example HTTP 404 "The requested action was not found for this Action Connector"), go to the next step. If the tool is missing, or the call fails on connection or auth, skip to the connector-exists question. 1. [Ask user] Only if the tool was available but the call errored, ask the admin to open the connector in the Quick web console and run **Test** on an action such as `quick-admin-buddy-runtime-target___get_onboarding_summary`, then report whether it passed, per . Validate: Test passed or failed. If fails: on a failed Test, give the recovery paths from one at a time (Sync and retest first, then the full rebuild) and offer no other troubleshooting. After the rebuild, the admin continues in a new chat. On a passed Test, go to , starting at making it available in the desktop application. 1. [Ask user] Only if the probe failed and the stale-actions check does not apply, ask whether a connector named `Admin Onboarding Buddy Endpoint` already exists in the Quick account, using the decision in . If fails: if the admin is unsure, treat the connector as absent. 1. [Decide] Route: - Probe returned a Tool_Result: go to . If the admin asked for a specific later phase (by name or with an `aob` command from ) and the probe shows a stored suite, go straight to that phase's workflow instead. - The admin asked to deploy the backend (`aob deploy`): go to , whatever the probe returned. - Connector listed but not callable: go to , starting at making it available in the desktop application. - Connector absent: go to . ", "Returning from "] > 1. [Agent] Read . Validate: file read. If fails: use the steps below and the stack outputs named in them. 1. [Ask user] Ask whether the backend is deployed and the admin can open its CloudFormation stack Outputs. Validate: a yes or no answer. If fails: on no or unknown, go to , then return here. 1. [Ask user] Give the connector values from the step file's tables: name exactly `Admin Onboarding Buddy Endpoint`, Custom user-based OAuth, the base endpoint copied verbatim from `ActionConnectorBaseEndpoint`, and the Cognito authorization URL, token URL, client ID, and the client secret retrieved by the admin from `CognitoClientSecretArn`. Ask the admin to confirm when the connector is created. Validate: the admin confirms the connector is created and connected in the web console. If fails: re-check each value against the stack Outputs; if an output is missing, go to . 1. [Ask user] Tell the admin a new chat is required after installing, then walk through adding the connector in the desktop application (install, sign in, enable, enable tools, open a new chat from the skill) and confirm with the step file's decision. Validate: the admin confirms they are in a new chat with the connector ready. If fails: walk through the Desktop steps one at a time; if they are still in the chat they installed it from, have them open a new chat via Try it. 1. [Agent] Test with the read-only `get_tenant_configuration` call. Validate: a Tool_Result came back. Go to . If fails: tool not found means the Desktop step is incomplete, so repeat it. A visible tool whose call errors with an action-not-found message (for example HTTP 404) means stale connector actions: diagnose and recover per . Any other auth error or `internal_error` means a misconfiguration: re-check the base endpoint (exactly one `/mcp`), the Cognito URLs and Region, the client ID, and the client secret, then test again. ", "deploy the onboarding buddy backend", "aob deploy"] > 1. [Agent] Read , and fetch for the current commands, parameters, and outputs. Every command in this workflow is for the admin to run, per the deploy rule in . Validate: step file read and deployment guide fetched. If fails: if the guide cannot be fetched, use the step file and give the admin the guide's link from to open themselves. 1. [Ask user] Explain briefly why the backend is needed per , and confirm the prerequisites: Docker for a `linux/arm64` image, AWS permissions to create the stack's resources, and the image pushed to ECR. Answer questions about resources or permissions from the deployment guide or . Validate: the admin confirms the prerequisites or has the image URI. If fails: point to the build and push commands in the deployment guide and wait for the admin's result. 1. [Ask user] Ask how to deploy: download the template and deploy in the console, or a one-click quick-create link from an S3 HTTPS URL. Validate: one option chosen. If fails: default to the console download path. 1. [Ask user] For the console path, give the template's download link from and the console steps. For the link, collect the S3 HTTPS URL and the stack parameter values, then build the quick-create link in the step file's shape per . Either way, remind the admin to acknowledge `CAPABILITY_NAMED_IAM`. Validate: the admin has a template or link and the parameter values. If fails: ask for the missing parameter values from the deployment guide's parameter table. 1. [Ask user] Wait for the admin to report `CREATE_COMPLETE` and open the Outputs tab. Validate: the stack is complete. Return to . If fails: ask for the failing resource event and help troubleshoot from the deployment guide. 1. [Agent] Read . Validate: file read. If fails: use the suite values below. 1. [Ask user] Ask which suite the organization uses, unless the admin already said so in this conversation. Map Microsoft 365 to `microsoft_365` and Google Workspace to `google_workspace`. Validate: one suite chosen. If fails: re-ask with the two options. 1. [Agent] Call `set_productivity_suite` and remember the value as `{suite}`. Validate: `success` or `already_configured`. Go to , or to the later phase the admin asked for. If fails: on `validation_failure` re-ask and retry. On `suite_conflict`, show `data.conflicting_connectors` and ask whether to keep the current suite or disable those connectors first; never switch silently and never disable without the admin's go-ahead. On `server_error` or `internal_error`, surface `message` and offer to retry. 1. [Agent] Read . Do action connectors for the whole suite first, then knowledge bases. Validate: file read. If fails: use the steps below with and . 1. [Agent] Build the capability list from the step file's table: Microsoft 365 is email, instant messaging, file storage; Google Workspace is all eight action connectors in order (Gmail, Google Chat, Google Drive, Google Calendar, Google Docs, Google Sheets, Google Slides, Google Meet). Validate: the list matches `{suite}`. If fails: call `list_connector_catalog` for `{suite}` and use its action connectors. 1. [Ask user] Ask the organization's size once, using the decision in the step file, unless the admin already said it in this conversation. Remember it as `{org_size}` per . Validate: `{org_size}` is small or large. If fails: if the admin is unsure or does not answer, use large and say so. 1. [Ask user] Offer the next capability, one per turn. Validate: yes or skip. If fails: treat no answer as skip and move on. 1. [Ask user] Ask for the auth method, summarizing the trade-offs from and ordering and labeling the options for `{org_size}` per . Read the connector's file under `references/connectors/` for what the backend accepts, then fetch the AWS Quick guide in its `source_url` for the connector's current authentication methods and scopes. Offer Default OAuth app only if that guide lists it. For `custom_oauth_app`, tell the admin (as information, not a separate question) that the provider consent screen must list every scope that guide gives for the connector. Validate: an `auth_type` is chosen. If the admin chose Default OAuth app instead, guide its console setup from that guide and make no backend call for it. Then, before offering the next capability, run the console share offer in for this connector. If fails: re-present the methods with their trade-offs and the recommendation for `{org_size}`. If the guide cannot be fetched, give the admin its link and ask them to confirm the scopes from it. 1. [Ask user] Ask for the name of the Secrets Manager secret that holds the parameters, per . Use to help the admin create it, check every key and the `domain_url` value before the call, and convert any ARN to a name. If you ask the admin to confirm the secret's contents, that confirmation is the only question in the message. Validate: a secret name. If fails: list what is missing from the contract and ask for it. 1. [Ask user] Run for this connector, even when the admin named it directly with all its parameters or already answered the offer for an earlier connector. If the admin wants a custom id prefix (step file section 4b), collect it per and record it. Validate: the admin answered the share offer for this connector in this conversation (a share target, or an explicit "don't share" after hearing the warning). If fails: ask "What is your AWS Quick username?" 1. [Agent] Call `enable_action_connector` with the connector key, `auth_type`, `secret_id`, `share_with`, and any prefix. Never make this call until the admin has answered the share offer for this connector. Validate: `success` or `already_configured` (then still apply the share per ). Confirm who it was shared with, then go back to offering the next capability. If fails: branch per and the step file's error list, fix, run the gate again, and retry; or skip if the admin chooses. 1. [Decide] For each dual-capability connector (`onedrive`, `sharepoint`, `confluence`, `google_drive`) in scope, or a knowledge base the admin asked for, recommend the setup method for `{org_size}` per (admin-managed for a large organization, user-managed for a small one), then choose the path from : console guidance for user-managed, `onedrive`, and `confluence`; the backend for admin-managed `sharepoint` and `google_drive`. 1. [Ask user] For a backend knowledge base, confirm the out-of-band prerequisites in the step file one at a time (for SharePoint `Sites.Selected`: SharePoint or Global Administrator role, an RSA_2048 SIGN_VERIFY KMS key in the same Region, certificate and Entra app, per-site grants, and Quick's `kms:Sign` granted in the Quick console under Manage account, Permissions, AWS resources). For console-only cases, walk the admin through the console flow instead and skip the next two steps. Validate: every prerequisite is confirmed, or the console steps were delivered. If fails: give the setup steps for the missing prerequisite from the step file and wait for the admin to confirm it. 1. [Ask user] Run for the knowledge base `owner` and wait for the answer. Never call `enable_kb_integration` before the admin answers this offer. Validate: the owner is known. If fails: ask "What is your AWS Quick username?" 1. [Agent] Call `enable_kb_integration` with the owner from the previous step. Validate: `success` or `already_configured`, then confirm who owns it. If fails: branch per ; collect missing secret fields and retry. 1. [Agent] Recap from live state with `get_onboarding_summary`, including any custom prefix, and offer to revisit a skipped capability or disable one with the same prefix. Validate: recap shown. Go to . If fails: recap from `get_tenant_configuration`, or from the results of this conversation if both calls fail, and say so. 1. [Agent] Read and call `list_extensions`. Validate: the suite's extensions are listed (four Office add-ins for Microsoft 365, the browser extension for Google Workspace). If fails: use the step file's table for `{suite}`. 1. [Ask user] Offer the next extension, one per turn. On yes, summarize the install steps from its official guide (`docs_url`) and confirm the admin finished. Validate: installed or skipped. If fails: treat no answer as skipped. 1. [Agent] Call `set_extension_status` with `installed` or `skipped`, then offer the next extension. Validate: `success`. When none remain, go to . If fails: on `validation_failure`, use `data.valid_extensions` or `data.valid_statuses` and offer only what `list_extensions` returned. 1. [Agent] Read . Validate: file read. If fails: use the steps below and the read-only rule in . 1. [Ask user] Offer the read-only test; never skip it silently. Validate: yes or skip. If fails: on skip, go to the report and mark every integration "not tested". 1. [Agent] Build the test list from `get_tenant_configuration` live state, one entry per enabled action connector. Leave every knowledge base out (no probe, no tool lookup, no add-tool instructions) and tell the admin that knowledge bases are excluded from the test. Validate: a non-empty list, or none to test. If fails: report that live state could not be read and ask whether to continue with the report only. 1. [Agent] For one integration per turn: check its tool is connected, call the lightest read-only action from the step file's probe table, show a short sanitized excerpt (no full bodies or tokens), and classify pass, empty-ok, or fail. Validate: a classification and excerpt are recorded. If fails: if the tool is not connected, give the step file's instructions for adding it in the desktop application and record "blocked (tool not connected)", or "not testable" when only mutating tools exist. 1. [Agent] Save a `.docx` report in the working directory with `python-docx` (title and metadata, summary table of tested action connectors, integrations set up with each knowledge base marked "not tested: knowledge bases are excluded from integration testing", extensions, troubleshooting for every fail or blocked row) and confirm its path. Validate: the file exists at the confirmed path. If fails: say `python-docx` is unavailable and write a Markdown report with the same structure. assets/README.md assets/help-menu.md references/steps/step-1-verify-connector.md references/steps/step-2-configure-connector.md references/steps/step-3-deploy-backend.md references/steps/step-4-set-productivity-suite.md references/steps/step-5-setup-productivity-tools.md references/steps/step-6-setup-extensions.md references/steps/step-7-integration-testing.md https://github.com/aws-samples/sample-amazon-quick-suite-knowledge-hub/blob/main/infrastructure/aws-quick-admin-buddy-mcp/infrastructure/template.yaml https://github.com/aws-samples/sample-amazon-quick-suite-knowledge-hub/blob/main/infrastructure/aws-quick-admin-buddy-mcp/docs/deployment-guide.md https://github.com/aws-samples/sample-amazon-quick-suite-knowledge-hub/blob/main/infrastructure/aws-quick-admin-buddy-mcp/docs/tool-reference.md https://github.com/aws-samples/sample-amazon-quick-suite-knowledge-hub/tree/main/infrastructure/aws-quick-admin-buddy-mcp https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CreateKnowledgeBase.html https://docs.aws.amazon.com/quick/latest/userguide/quick-action-auth.html assets/productivity-tool-auth-methods.md assets/auth-secret-contract.md assets/knowledge-base-auth-and-acl.md references/README.md references/connectors/confluence-action.md references/connectors/confluence-knowledge-base.md references/connectors/gmail-action.md references/connectors/google-calendar-action.md references/connectors/google-chat-action.md references/connectors/google-docs-action.md references/connectors/google-drive-action.md references/connectors/google-drive-knowledge-base.md references/connectors/google-meet-action.md references/connectors/google-sheets-action.md references/connectors/google-slides-action.md references/connectors/jira-action.md references/connectors/microsoft-outlook-action.md references/connectors/microsoft-teams-action.md references/connectors/onedrive-action.md references/connectors/onedrive-knowledge-base.md references/connectors/sharepoint-action.md references/connectors/sharepoint-knowledge-base.md https://docs.aws.amazon.com/quick/latest/userguide/quick-action-auth.html#quick-custom-user-auth https://docs.aws.amazon.com/quick/latest/userguide/mcp-integration.html https://docs.aws.amazon.com/quick/latest/userguide/connections-desktop.html https://docs.aws.amazon.com/quick/latest/userguide/onedrive-knowledge-base.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stacks-quick-create-links.html https://docs.aws.amazon.com/quick/latest/userguide/integration-guides.html