Autodock turns your GitHub PR page into a command center for a preview environment. From spinning up
environments to automated testing to leaving artifacts, the GitHub App makes sure your PR is on-spec
and bug-free while giving you full SSH access to the dev boxes that back these environments.
No configuration required. Install the app, and Autodock posts a comment on every PR with
options to spin up a preview. Claude analyzes your changes and handles the rest.
When: The GitHub App is installed but hasn’t been linked to an Autodock account yet.What you see: A message prompting you to complete setup by linking the installation to your
Autodock account. Once linked, preview environments will be created automatically for future PRs.Action: Click the setup link and sign in or create an Autodock account.
When: A PR is opened and Autodock is analyzing the changes.What you see: Claude is reviewing the PR to determine if a preview environment would be helpful.
This typically takes a few seconds.Action: Wait for analysis to complete.
When: Claude analyzed the PR and determined a preview isn’t needed.What you see: An explanation of why a preview isn’t recommended (e.g., documentation-only
changes, config tweaks). A button to spin up a preview anyway if you want one.Action: Click “Spin up environment” if you still want a preview.
When: Claude recommends a preview and is waiting for you to trigger it.What you see: A button to spin up the preview environment. Options for different setup modes.Action: Click the button to start provisioning.
When: Autodock is claiming a VM from the warm pool.What you see: Progress indicators showing the setup stage. Once claimed, MCP and SSH connection
commands appear (you can connect immediately even while setup continues).Action: Optionally connect early via MCP or SSH to watch setup in real-time.
When: The environment is cloning your PR branch.What you see: Progress indicator updated to show cloning is in progress. Connection info
available.Action: Wait for cloning to complete, or connect to watch.
When: Claude is installing dependencies (npm install, pip install, etc.).What you see: Progress indicator showing installation step. Connection info available.Action: Wait for installation to complete.
When: Claude is building your project (next build, webpack, etc.).What you see: Progress indicator showing build step. Connection info available.Action: Wait for build to complete.
When: Claude is running final setup (starting dev servers, exposing ports, etc.).What you see: Progress indicator showing setup step. Connection info available.Action: Wait for setup to complete.
When: You pushed new commits and changes are syncing to the environment.What you see: Progress indicator showing sync is in progress. Environment remains accessible.Action: Wait for sync to complete. You can keep using the environment.
When: Automated tests are running against your preview.What you see: A table with test checks (page load, console errors, network, auth test) showing
pending status.Action: Wait for tests to complete.
When: The environment has been destroyed (typically when PR is closed).What you see: Confirmation that the environment is destroyed.Action: No action needed. Open a new PR to get a new preview.
Environment is stuck provisioningCheck the session log link in the PR comment. You can also connect via MCP or SSH to see what’s
happening in real-time.Secrets aren’t being recognizedMake sure your .env files are in the project directory when you run the upload command. The script
searches for all .env* files.Preview URL returns 502Your dev server might not be running or might be bound to localhost. Autodock exposes ports bound to
0.0.0.0. Check if the server is running via SSH.GitHub App not posting commentsVerify the app is installed for your repository and linked to an Autodock account. Check the
installation settings at
github.com/settings/installations.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Autodock","colors":{"primary":"#3B82F6","light":"#60A5FA","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/autodock/Hbl9_eSsPpl_TRko/images/logo.png?fit=max\u0026auto=format\u0026n=Hbl9_eSsPpl_TRko\u0026q=85\u0026s=fb2531dfdf79a2f9b6c1da6098e5b130","dark":"https://mintcdn.com/autodock/Hbl9_eSsPpl_TRko/images/logo.png?fit=max\u0026auto=format\u0026n=Hbl9_eSsPpl_TRko\u0026q=85\u0026s=fb2531dfdf79a2f9b6c1da6098e5b130"},"favicon":"/favicon.png","navbar":{"links":[{"label":"Support","href":"mailto:support@autodock.io"}],"primary":{"type":"button","label":"Dashboard","href":"https://autodock.io/dashboard"}},"footer":{"socials":{"discord":"https://discord.gg/GKJJgtvmtU"}},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/GKJJgtvmtU"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"autodock","hasAudioNarration":false,"actualSubdomain":"autodock","customDomains":[],"gitSource":{"type":"github","owner":"mikesol","repo":"autodock","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92b326621259a32464d90:success","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":5},{"language":"default","tag":"Browser Listener","count":1},{"language":"default","tag":"Dev Box","count":1},{"language":"default","tag":"GitHub App","count":1},{"language":"default","tag":"Getting Started","count":1},{"language":"default","tag":"MCP Server","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"github-app","slug":"/github-app","pageMetadata":{"title":"GitHub App","description":"Turn every PR into a command center for preview environments","href":"/github-app/index"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Turn every PR into a command center for preview environments\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`github-app`,children:`GitHub App`}),`\n`,_jsx(_components.p,{children:`Autodock turns your GitHub PR page into a command center for a preview environment. From spinning up\nenvironments to automated testing to leaving artifacts, the GitHub App makes sure your PR is on-spec\nand bug-free while giving you full SSH access to the dev boxes that back these environments.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`No configuration required.`}),` Install the app, and Autodock posts a comment on every PR with\noptions to spin up a preview. Claude analyzes your changes and handles the rest.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`quick-start`,children:`Quick Start`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Install the GitHub App`}),` at\n`,_jsx(_components.a,{href:`https://github.com/apps/autodock-preview`,children:`github.com/apps/autodock-preview`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Link your account`}),` - You’ll be redirected to Autodock to connect the installation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Open a PR`}),` - Autodock automatically posts a comment with preview options`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`That’s it. No YAML files, no secrets, no workflow configuration.`}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsx(_components.p,{children:`When you open a pull request:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Autodock analyzes your PR to determine if a preview environment would be helpful`}),`\n`,_jsx(_components.li,{children:`If recommended, you click to spin up a preview environment`}),`\n`,_jsx(_components.li,{children:`Claude Code clones your repo, installs dependencies, builds, and runs setup`}),`\n`,_jsx(_components.li,{children:`The PR comment updates in real-time with progress and connection details`}),`\n`,_jsx(_components.li,{children:`Push more commits and changes sync automatically`}),`\n`,_jsx(_components.li,{children:`Close the PR and the environment is destroyed`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`pr-comment-states`,children:`PR Comment States`}),`\n`,_jsx(_components.p,{children:`The Autodock PR comment acts as a live dashboard for your preview environment. Here are all the\npossible states you’ll encounter:`}),`\n`,_jsx(Heading,{level:`3`,id:`setup-required`,children:`Setup Required`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` The GitHub App is installed but hasn’t been linked to an Autodock account yet.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` A message prompting you to complete setup by linking the installation to your\nAutodock account. Once linked, preview environments will be created automatically for future PRs.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Click the setup link and sign in or create an Autodock account.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`analyzing`,children:`Analyzing`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` A PR is opened and Autodock is analyzing the changes.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Claude is reviewing the PR to determine if a preview environment would be helpful.\nThis typically takes a few seconds.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for analysis to complete.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`not-recommended`,children:`Not Recommended`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Claude analyzed the PR and determined a preview isn’t needed.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` An explanation of why a preview isn’t recommended (e.g., documentation-only\nchanges, config tweaks). A button to spin up a preview anyway if you want one.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Click “Spin up environment” if you still want a preview.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`trigger-posted`,children:`Trigger Posted`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Claude recommends a preview and is waiting for you to trigger it.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` A button to spin up the preview environment. Options for different setup modes.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Click the button to start provisioning.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`claiming-environment`,children:`Claiming Environment`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Autodock is claiming a VM from the warm pool.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Progress indicators showing the setup stage. Once claimed, MCP and SSH connection\ncommands appear (you can connect immediately even while setup continues).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Optionally connect early via MCP or SSH to watch setup in real-time.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`cloning-repository`,children:`Cloning Repository`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` The environment is cloning your PR branch.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Progress indicator updated to show cloning is in progress. Connection info\navailable.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for cloning to complete, or connect to watch.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`installing-dependencies`,children:`Installing Dependencies`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Claude is installing dependencies (npm install, pip install, etc.).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Progress indicator showing installation step. Connection info available.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for installation to complete.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`building-project`,children:`Building Project`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Claude is building your project (next build, webpack, etc.).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Progress indicator showing build step. Connection info available.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for build to complete.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`running-setup`,children:`Running Setup`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Claude is running final setup (starting dev servers, exposing ports, etc.).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Progress indicator showing setup step. Connection info available.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for setup to complete.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`ready`,children:`Ready`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Your preview environment is fully operational.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`What you see:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Preview URL (if a web server is exposed)`}),`\n`,_jsx(_components.li,{children:`MCP connection command`}),`\n`,_jsx(_components.li,{children:`SSH access details`}),`\n`,_jsx(_components.li,{children:`Setup summary from Claude`}),`\n`,_jsxs(_components.li,{children:[`Instructions for running tests via `,_jsx(_components.code,{children:`/autodock-test`}),` comments`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Click the preview URL, connect via MCP, or run tests.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`waiting-for-secrets`,children:`Waiting for Secrets`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Your project requires environment variables that weren’t provided.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`What you see:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`List of missing environment variables`}),`\n`,_jsxs(_components.li,{children:[`A curl command to upload your local `,_jsx(_components.code,{children:`.env`}),` files securely`]}),`\n`,_jsx(_components.li,{children:`Instructions for running the upload command`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Run the provided curl command in your project directory. Setup continues automatically\nafter upload.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`syncing`,children:`Syncing`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` You pushed new commits and changes are syncing to the environment.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Progress indicator showing sync is in progress. Environment remains accessible.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for sync to complete. You can keep using the environment.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`running-automated-tests`,children:`Running Automated Tests`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Automated tests are running against your preview.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` A table with test checks (page load, console errors, network, auth test) showing\npending status.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for tests to complete.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`automated-tests-complete`,children:`Automated Tests Complete`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Automated tests have finished.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`What you see:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Test results table with pass/fail status`}),`\n`,_jsx(_components.li,{children:`Page load time`}),`\n`,_jsx(_components.li,{children:`Console error count`}),`\n`,_jsx(_components.li,{children:`Network failure count`}),`\n`,_jsx(_components.li,{children:`Auth test result`}),`\n`,_jsx(_components.li,{children:`Screenshots (if captured)`}),`\n`,_jsx(_components.li,{children:`Button to re-run tests`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Review results. Click re-run if needed.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`running-user-test`,children:`Running User Test`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` You triggered a test via `,_jsx(_components.code,{children:`/autodock-test \u003cprompt>`}),` comment.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`What you see:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The test prompt you provided`}),`\n`,_jsx(_components.li,{children:`Live progress of test steps`}),`\n`,_jsx(_components.li,{children:`Status for each step (pending, running, passed, failed)`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Wait for the test to complete.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`user-test-complete`,children:`User Test Complete`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` A user-triggered test has finished.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`What you see:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Test results with step-by-step breakdown`}),`\n`,_jsx(_components.li,{children:`Screenshots captured during the test`}),`\n`,_jsx(_components.li,{children:`Summary of what happened`}),`\n`,_jsx(_components.li,{children:`Previous test results (up to 3 runs)`}),`\n`,_jsx(_components.li,{children:`Button to re-run the last test`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Review results. Run additional tests as needed.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`failed`,children:`Failed`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` Setup encountered an error and couldn’t complete.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`What you see:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Error message explaining what went wrong`}),`\n`,_jsx(_components.li,{children:`Exit code (if applicable)`}),`\n`,_jsx(_components.li,{children:`Link to full session log`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` Review the error and session log. Fix the issue and push a new commit, or use MCP/SSH to\ndebug manually.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`destroyed`,children:`Destroyed`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`When:`}),` The environment has been destroyed (typically when PR is closed).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you see:`}),` Confirmation that the environment is destroyed.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Action:`}),` No action needed. Open a new PR to get a new preview.`]}),`\n`,_jsx(Heading,{level:`2`,id:`running-tests`,children:`Running Tests`}),`\n`,_jsx(_components.p,{children:`Once your environment is ready, you can run tests by commenting on the PR:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/autodock-test Navigate to the homepage and verify it loads correctly`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Claude will:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open a browser in the environment`}),`\n`,_jsx(_components.li,{children:`Execute the test steps you described`}),`\n`,_jsx(_components.li,{children:`Capture screenshots at each step`}),`\n`,_jsx(_components.li,{children:`Report results back in the PR comment`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`example-test-prompts`,children:`Example Test Prompts`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/autodock-test Test the login flow with valid credentials`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/autodock-test Click the sign up button and fill out the registration form`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/autodock-test Navigate to /dashboard and verify user data displays`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/autodock-test Add an item to the cart and proceed to checkout`})}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Environment is stuck provisioning`})}),`\n`,_jsx(_components.p,{children:`Check the session log link in the PR comment. You can also connect via MCP or SSH to see what’s\nhappening in real-time.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Secrets aren’t being recognized`})}),`\n`,_jsxs(_components.p,{children:[`Make sure your `,_jsx(_components.code,{children:`.env`}),` files are in the project directory when you run the upload command. The script\nsearches for all `,_jsx(_components.code,{children:`.env*`}),` files.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Preview URL returns 502`})}),`\n`,_jsxs(_components.p,{children:[`Your dev server might not be running or might be bound to localhost. Autodock exposes ports bound to\n`,_jsx(_components.code,{children:`0.0.0.0`}),`. Check if the server is running via SSH.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`GitHub App not posting comments`})}),`\n`,_jsxs(_components.p,{children:[`Verify the app is installed for your repository and linked to an Autodock account. Check the\ninstallation settings at\n`,_jsx(_components.a,{href:`https://github.com/settings/installations`,children:`github.com/settings/installations`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"GitHub App","description":"Turn every PR into a command center for preview environments","href":"/github-app/index"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"GitHub App","slug":"github-app","depth":1,"children":[]},{"title":"Quick Start","slug":"quick-start","depth":2,"children":[]},{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"PR Comment States","slug":"pr-comment-states","depth":2,"children":[{"title":"Setup Required","slug":"setup-required","depth":3,"children":[]},{"title":"Analyzing","slug":"analyzing","depth":3,"children":[]},{"title":"Not Recommended","slug":"not-recommended","depth":3,"children":[]},{"title":"Trigger Posted","slug":"trigger-posted","depth":3,"children":[]},{"title":"Claiming Environment","slug":"claiming-environment","depth":3,"children":[]},{"title":"Cloning Repository","slug":"cloning-repository","depth":3,"children":[]},{"title":"Installing Dependencies","slug":"installing-dependencies","depth":3,"children":[]},{"title":"Building Project","slug":"building-project","depth":3,"children":[]},{"title":"Running Setup","slug":"running-setup","depth":3,"children":[]},{"title":"Ready","slug":"ready","depth":3,"children":[]},{"title":"Waiting for Secrets","slug":"waiting-for-secrets","depth":3,"children":[]},{"title":"Syncing","slug":"syncing","depth":3,"children":[]},{"title":"Running Automated Tests","slug":"running-automated-tests","depth":3,"children":[]},{"title":"Automated Tests Complete","slug":"automated-tests-complete","depth":3,"children":[]},{"title":"Running User Test","slug":"running-user-test","depth":3,"children":[]},{"title":"User Test Complete","slug":"user-test-complete","depth":3,"children":[]},{"title":"Failed","slug":"failed","depth":3,"children":[]},{"title":"Destroyed","slug":"destroyed","depth":3,"children":[]}]},{"title":"Running Tests","slug":"running-tests","depth":2,"children":[{"title":"Example Test Prompts","slug":"example-test-prompts","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"autodock","siteName":"Autodock","title":"GitHub App - Autodock","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"github-app/index.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Turn every PR into a command center for preview environments\">\u003cmeta data-mint-head name=\"application-name\" content=\"Autodock\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"GitHub App - Autodock\">\u003cmeta data-mint-head property=\"og:description\" content=\"Turn every PR into a command center for preview environments\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Autodock\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://autodock.mintlify.app/github-app\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://autodock.mintlify.site/_mintlify/api/og/v2?division=GitHub+App\u0026amp;title=GitHub+App\u0026amp;description=Turn+every+PR+into+a+command+center+for+preview+environments\u0026amp;theme=05f15570549929676828ee6c\u0026amp;signature=f644c30702e686536c1ce504d98d9be8904affa898f1845869544c0c810a397b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"GitHub App - Autodock\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Turn every PR into a command center for preview environments\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://autodock.mintlify.site/_mintlify/api/og/v2?division=GitHub+App\u0026amp;title=GitHub+App\u0026amp;description=Turn+every+PR+into+a+command+center+for+preview+environments\u0026amp;theme=05f15570549929676828ee6c\u0026amp;signature=f644c30702e686536c1ce504d98d9be8904affa898f1845869544c0c810a397b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/autodock/Yg3tqK3x5lQEFpi_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Autodock\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3B82F6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://autodock.mintlify.app/github-app\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/github-app.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://autodock.mintlify.app/#organization\",\"name\":\"Autodock\",\"url\":\"https://autodock.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/autodock/Hbl9_eSsPpl_TRko/images/logo.png?fit=max\u0026auto=format\u0026n=Hbl9_eSsPpl_TRko\u0026q=85\u0026s=fb2531dfdf79a2f9b6c1da6098e5b130\"}},{\"@type\":\"WebSite\",\"@id\":\"https://autodock.mintlify.app#website\",\"name\":\"Autodock\",\"url\":\"https://autodock.mintlify.app\",\"publisher\":{\"@id\":\"https://autodock.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://autodock.mintlify.app/github-app#webpage\",\"url\":\"https://autodock.mintlify.app/github-app\",\"name\":\"GitHub App\",\"description\":\"Turn every PR into a command center for preview environments\",\"isPartOf\":{\"@id\":\"https://autodock.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://autodock.mintlify.app/github-app#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://autodock.mintlify.app/github-app#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Autodock\",\"item\":\"https://autodock.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GitHub App\",\"item\":\"https://autodock.mintlify.app/github-app\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://autodock.mintlify.app/github-app#article\",\"headline\":\"GitHub App\",\"name\":\"GitHub App\",\"description\":\"Turn every PR into a command center for preview environments\",\"url\":\"https://autodock.mintlify.app/github-app\",\"mainEntityOfPage\":{\"@id\":\"https://autodock.mintlify.app/github-app#webpage\"},\"publisher\":{\"@id\":\"https://autodock.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://autodock.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Autodock\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Autodock\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/github-app.md","siteName":"Autodock","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/GKJJgtvmtU"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Autodock","description":"Cloud development environments that just work","href":""}]},{"group":"GitHub App","pages":[{"title":"GitHub App","href":"/github-app/index"}]},{"group":"MCP Server","pages":[{"title":"MCP","description":"Control Autodock environments from your favorite AI agent","href":"/mcp-server/index"}]},{"group":"Dev Box","pages":[{"title":"Dev Box","href":"/dev-box/index"}]},{"group":"Browser Listener","pages":[{"title":"Browser Listener","href":"/browser/index"}]}]}]},"basePath":"","title":"GitHub App - Autodock","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}