Manually configure Laravel Nightwatch on Laravel Cloud and run its monitoring agent as a background process in your environment.
This guide is for Laravel applications.
Follow these steps to manually configure Laravel Nightwatch in your Laravel application and run the agent as a background process in your Cloud environment. For more details, see the Nightwatch getting started guide.
Install the Laravel Nightwatch package in your application locally using Composer:
composer require laravel/nightwatch
Run composer require laravel/nightwatch on your local machine to update your composer.json and composer.lock files before deploying.
2
Add your Nightwatch token
Add your Nightwatch environment’s NIGHTWATCH_TOKEN to your .env file:
NIGHTWATCH_TOKEN=your-api-token
You can find this value in your Nightwatch dashboard when you create an application.
3
Configure the agent as a background process
To keep the Nightwatch agent running and sending data, configure it as a background process in your Cloud environment:
Go to your App cluster in the Cloud dashboard.
Select the App cluster
Click New background process.
Select “New Background Process”
Choose Custom worker.
Add a custom worker that runs the nightwatch:agent command
Enter the following command:
php artisan nightwatch:agent
Save your changes and redeploy your application.
If you’re using a dedicated worker cluster, repeat these steps for the worker cluster so it also runs the agent.
4
Monitor the agent
To check the health of the running agent, use the following command:
php artisan nightwatch:status
The nightwatch:status command exits with a non-zero status code if there is an error. The command checks that the agent can accept connections and send data to Nightwatch.
Why would I want to run Nightwatch manually?
If you only want the Nightwatch agent to run on specific instances, you can manually set up the background process for each one.Can I log to both Nightwatch and Cloud Logs?Yes, you can use Laravel Cloud Logs simultaneously with Nightwatch Logging by setting a log stack in your .env in your Cloud environment settings.Do you need a background process running for each worker cluster?Yes. Configure a background process for each worker cluster that needs to run the Nightwatch agent.Can you run the command from the Commands dashboard of Laravel Cloud?No. The Nightwatch agent must run as a background process to collect and send data continuously. Running the agent from the Commands dashboard does not keep it running.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Laravel Cloud","colors":{"primary":"#0057FF","light":"#71A8FF","dark":"#0057FF"},"logo":{"light":"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-light.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=f508d8e9c4e3c842e83d055cc376daa1","dark":"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-dark.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=fcfe00a4914f5e3ad791b606c3e75795","href":"https://cloud.laravel.com/"},"favicon":"https://mintcdn.com/cloud/83RcCEaWR6PzmMFO/favicons/favicon-dark.png?fit=max\u0026auto=format\u0026n=83RcCEaWR6PzmMFO\u0026q=85\u0026s=edd5608e08efe6ae6a4ca1b44232d2af","navbar":{"links":[],"primary":{"type":"button","label":"Get Started","href":"https://cloud.laravel.com"}},"footer":{"socials":{"x":"https://x.com/laravel","github":"https://github.com/laravel","discord":"https://discord.gg/laravel","youtube":"https://www.youtube.com/laravelphp"}},"seo":{"metatags":{"robots":"noindex"}},"integrations":{"fathom":{"siteId":"KZRWMQWT"}},"banner":{"content":"Deploy Next and Nuxt frontends alongside your Laravel apps, all from one unified platform. \u003ca href='https://laravel.com/blog/deploy-nextjs-and-nuxt-apps-on-laravel-cloud'>Learn more →\u003c/a>","dismissible":true},"contextual":{"options":["copy","chatgpt","claude","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/laravel"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cloud","hasAudioNarration":false,"actualSubdomain":"cloud","customDomains":["cloud.laravel.com"],"gitSource":{"type":"github","owner":"laravel","repo":"cloud-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae8b1fee4f1cb0cd68b14b0","collectionId":"d937b76f-b0e1-4055-afe5-4483d9eb25ca","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae8b1fee4f1cb0cd68b14b0"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae8b1fee4f1cb0cd68b14b0","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API","count":130},{"language":"default","tag":"Endpoints","count":126},{"language":"default","tag":"Documentation","count":60},{"language":"default","tag":"Knowledge Base","count":21},{"language":"default","tag":"Basics","count":17},{"language":"default","tag":"Environments","count":15},{"language":"default","tag":"Instances","count":14},{"language":"default","tag":"Private Cloud","count":10},{"language":"default","tag":"Caches","count":9},{"language":"default","tag":"Deploy guides","count":8}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":false,"deflection":{"enabled":false,"showHelpButton":false}},"basePath":"/cloud/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"/* latin-ext */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 500;\n font-stretch: 100%;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0She1YmV.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 500;\n font-stretch: 100%;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0SZe1Q.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/cloud/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\nbody{font-family:\"Instrument Sans\";font-weight:400}h1,h2,h3,h4{font-family:\"Instrument Sans\"!important;letter-spacing:-.025em!important}code,pre{font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace}.font-semibold,b,h1,h2,h3,h4,strong{font-weight:500!important}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500!important;color:rgb(var(--primary))!important}.dark .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:rgb(var(--primary-light))!important}.table-auto{table-layout:auto}table.table-fixed{table-layout:fixed!important}table{table-layout:auto!important;display:table}th{text-align:left}td>p.icon{margin:0}.pr-16{padding-right:4em}.max-w-none{max-width:none!important}.align-top{vertical-align:top}.italic{font-style:italic}.pr-20{padding-right:5rem}.max-h-50vh{max-height:50vh}.select-arrow{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-size:1.5em 1.5em;background-position:right .5rem center;background-repeat:no-repeat}#banner a{color:rgb(var(--white))!important;white-space:nowrap}#banner>div>p{white-space:normal;padding-top:.125rem;padding-bottom:.125rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:3;-webkit-line-clamp:3}#banner:has(>button){padding-right:2.5rem}@media screen and (min-width:768px){#banner{height:auto}#banner:has(>button){padding-left:2.5rem}}#topbar-cta-button a>span:first-child{background-color:rgb(22 25 30)}.dark #topbar-cta-button a>span:first-child{background-color:rgb(255 255 255)}.dark #topbar-cta-button a,.dark #topbar-cta-button a *{color:rgb(22 25 30)!important}"}],"page":{"pagePath":"knowledge-base/nightwatch-on-cloud","slug":"/knowledge-base/nightwatch-on-cloud","pageMetadata":{"title":"Manually configure Laravel Nightwatch on Cloud","sidebarTitle":"Manually configure Laravel Nightwatch","description":"Manually configure Laravel Nightwatch on Laravel Cloud and run its monitoring agent as a background process in your environment.","href":"/knowledge-base/nightwatch-on-cloud"},"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: \"Manually configure Laravel Nightwatch on Laravel Cloud and run its monitoring agent as a background process in your environment.\"\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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:`This guide is for Laravel applications.`}),`\n`,_jsxs(_components.p,{children:[`Follow these steps to manually configure `,_jsx(_components.a,{href:`https://nightwatch.laravel.com`,children:`Laravel Nightwatch`}),` in your Laravel application and run the agent as a background process in your Cloud environment. For more details, see the `,_jsx(_components.a,{href:`https://nightwatch.laravel.com/docs/getting-started/start-guide`,children:`Nightwatch getting started guide`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`You can connect all your App and Worker clusters by `,_jsx(_components.a,{href:`/environments#nightwatch-integration`,children:`automatically integrating Nightwatch with your app environment`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`configure-nightwatch-on-cloud`,children:`Configure Nightwatch on Cloud`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Install Nightwatch package`,children:[_jsxs(_components.p,{children:[`Install the Laravel Nightwatch package in your application locally using `,_jsx(_components.a,{href:`https://packagist.org/packages/laravel/nightwatch`,children:`Composer`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`composer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` require`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` laravel/nightwatch`})]}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`composer require laravel/nightwatch`}),` on your local machine to update your composer.json and composer.lock files before deploying.`]})})]}),_jsxs(Step,{title:`Add your Nightwatch token`,children:[_jsxs(_components.p,{children:[`Add your Nightwatch environment’s `,_jsx(_components.code,{children:`NIGHTWATCH_TOKEN`}),` to your `,_jsx(_components.code,{children:`.env`}),` file:`]}),_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:`NIGHTWATCH_TOKEN=your-api-token`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Tip,{children:_jsx(_components.p,{children:`You can find this value in your Nightwatch dashboard when you create an application.`})})]}),_jsxs(Step,{title:`Configure the agent as a background process`,children:[_jsx(_components.p,{children:`To keep the Nightwatch agent running and sending data, configure it as a background process in your Cloud environment:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to your `,_jsx(_components.strong,{children:`App cluster`}),` in the Cloud dashboard.`]}),`\n`]}),_jsx(Frame,{caption:`Select the App cluster`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-1.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=7fa5e72d0a1e186917bace475d377514`,alt:`Select the app cluster`,\"data-og-width\":`3168`,width:`3168`,\"data-og-height\":`2361`,height:`2361`,\"data-path\":`images/knowledge-base/nightwatch-laravel-cloud-step-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=74526072f21a9e92175061b201e61529 280w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=bd18d2e008f8a1d5231f28265d15d649 560w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=65c57ce7aca2ddb97165546472bb8d9e 840w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=de606672a8f72cc8b9494ccc3253ab45 1100w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=6018ec95ff4343248dea0faa3df54c12 1650w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=82ca30ab259f8f0a1cdfc7645c25e9e1 2500w`})}),_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`New background process`}),`.`]}),`\n`]}),_jsx(Frame,{caption:`Select “New Background Process”`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-2.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=31f7c7af9e4914394c970f168b4a129e`,alt:`Select “New Background Process”`,\"data-og-width\":`3168`,width:`3168`,\"data-og-height\":`2361`,height:`2361`,\"data-path\":`images/knowledge-base/nightwatch-laravel-cloud-step-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=a22fe5c108face2be50dd64c17885535 280w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=a5f8ed74b90d97332068c7c83847fe4c 560w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=7630472ee96ef7b853d01b17ec4e1365 840w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=868733de4fe8082c447e78a8079de906 1100w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=b4af40e6988b94f2383b7409977136aa 1650w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=da3cc7b457b5cac513338e7f3a1e48f2 2500w`})}),_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsxs(_components.li,{children:[`Choose `,_jsx(_components.strong,{children:`Custom worker`}),`.`]}),`\n`]}),_jsx(Frame,{caption:\"Add a custom worker that runs the `nightwatch:agent` command\",children:_jsx(OptimizedImage,{src:`https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-3.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=49a47db4447bdb5e40998772c4b10513`,alt:\"Add a custom worker that runs the `nightwatch:agent` command\",\"data-og-width\":`3168`,width:`3168`,\"data-og-height\":`2361`,height:`2361`,\"data-path\":`images/knowledge-base/nightwatch-laravel-cloud-step-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=b5cd6b82d5bc1d92946bc9f68b7d7e56 280w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=50e443acc7395c03af24764bd83d6514 560w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=e4b2902d4ef031bf61856e8281f3f881 840w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=9180b6fd9b5591d60a6acd2278307b24 1100w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=96a8edef8c147c6efbcd1f838e2a6080 1650w, https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/images/knowledge-base/nightwatch-laravel-cloud-step-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=ce99c108a25ffcdc8c58ceb18f82f350 2500w`})}),_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:`Enter the following command:`}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`php`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` artisan`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nightwatch:agent`})]}),`\n`]})})}),_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsx(_components.li,{children:`Save your changes and redeploy your application.`}),`\n`]}),_jsx(Tip,{children:_jsxs(_components.p,{children:[`If you’re using a dedicated `,_jsx(_components.a,{href:`/workers#worker-clusters`,children:`worker cluster`}),`, repeat these steps for the worker cluster so it also runs the agent.`]})})]}),_jsxs(Step,{title:`Monitor the agent`,children:[_jsx(_components.p,{children:`To check the health of the running agent, use the following command:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`php`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` artisan`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` nightwatch:status`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`nightwatch:status`}),` command exits with a non-zero status code if there is an error. The command checks that the agent can accept connections and send data to Nightwatch.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`use-cloud-and-nightwatch-logs`,children:`Use Cloud and Nightwatch logs`}),`\n`,_jsxs(_components.p,{children:[`To send your logs to both `,_jsx(_components.a,{href:`/logs`,children:`Laravel Cloud Logs`}),` and `,_jsx(_components.a,{href:`https://nightwatch.laravel.com/docs/agent/logging`,children:`Nightwatch`}),`, use Laravel’s `,_jsx(_components.a,{href:`https://laravel.com/docs/12.x/logging#building-log-stacks`,children:`log stacks`}),` feature. To log to both services, update your `,_jsx(_components.code,{children:`.env`}),` file:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LOG_CHANNEL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`stack`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LOG_STACK`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`laravel-cloud-socket,nightwatch`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`frequently-asked-questions`,children:`Frequently asked questions`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Why would I want to run Nightwatch manually?`}),`\nIf you only want the Nightwatch agent to run on specific instances, you can manually set up the background process for each one.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Can I log to both Nightwatch and Cloud Logs?`})}),`\n`,_jsxs(_components.p,{children:[`Yes, you can use `,_jsx(_components.a,{href:`/logs`,children:`Laravel Cloud Logs`}),` simultaneously with `,_jsx(_components.a,{href:`https://nightwatch.laravel.com/docs/agent/logging`,children:`Nightwatch Logging`}),` by `,_jsx(_components.a,{href:`#use-cloud-and-nightwatch-logs`,children:`setting a log stack in your .env in your Cloud environment settings`}),`.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Do you need a background process running for each worker cluster?`})}),`\n`,_jsx(_components.p,{children:`Yes. Configure a background process for each worker cluster that needs to run the Nightwatch agent.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Can you run the command from the Commands dashboard of Laravel Cloud?`})}),`\n`,_jsx(_components.p,{children:`No. The Nightwatch agent must run as a background process to collect and send data continuously. Running the agent from the Commands dashboard does not keep it running.`})]})}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":"Manually configure Laravel Nightwatch on Cloud","sidebarTitle":"Manually configure Laravel Nightwatch","description":"Manually configure Laravel Nightwatch on Laravel Cloud and run its monitoring agent as a background process in your environment.","href":"/knowledge-base/nightwatch-on-cloud"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Configure Nightwatch on Cloud","slug":"configure-nightwatch-on-cloud","depth":2,"children":[]},{"title":"Use Cloud and Nightwatch logs","slug":"use-cloud-and-nightwatch-logs","depth":2,"children":[]},{"title":"Frequently asked questions","slug":"frequently-asked-questions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/cloud/docs/_mintlify/custom/cloud/412bdbfbeb58e5da/gtag.js","/cloud/docs/_mintlify/custom/cloud/1a6e9e638535d772/plain.js","/cloud/docs/_mintlify/custom/cloud/f2ef70ddf7841ac3/rudderstack.js","/cloud/docs/_mintlify/custom/cloud/d55d837bfb92372f/scripts/fetch-ips.js"],"subdomain":"cloud","siteName":"Laravel Cloud","title":"Manually configure Laravel Nightwatch on Cloud - Laravel Cloud","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T11:57:59.337Z","originalFileLocation":"knowledge-base/nightwatch-on-cloud.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=\"Manually configure Laravel Nightwatch on Laravel Cloud and run its monitoring agent as a background process in your environment.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Laravel Cloud\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_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=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Manually configure Laravel Nightwatch on Cloud - Laravel Cloud\">\u003cmeta data-mint-head property=\"og:description\" content=\"Manually configure Laravel Nightwatch on Laravel Cloud and run its monitoring agent as a background process in your environment.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Laravel Cloud\">\u003cmeta data-mint-head property=\"og:url\" content=\"/cloud/docs/knowledge-base/nightwatch-on-cloud\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cloud.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Manually+configure+Laravel+Nightwatch+on+Cloud\u0026amp;description=Manually+configure+Laravel+Nightwatch+on+Laravel+Cloud+and+run+its+monitoring+agent+as+a+background+process+in+your+environment.\u0026amp;theme=8d4b254afde5db5ac1120ea2\u0026amp;signature=aa2735737d87cde8d4fe665da043dc92746a17311f4d7718f69c3cd005ef1d6b\">\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=\"Manually configure Laravel Nightwatch on Cloud - Laravel Cloud\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Manually configure Laravel Nightwatch on Laravel Cloud and run its monitoring agent as a background process in your environment.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cloud.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Manually+configure+Laravel+Nightwatch+on+Cloud\u0026amp;description=Manually+configure+Laravel+Nightwatch+on+Laravel+Cloud+and+run+its+monitoring+agent+as+a+background+process+in+your+environment.\u0026amp;theme=8d4b254afde5db5ac1120ea2\u0026amp;signature=aa2735737d87cde8d4fe665da043dc92746a17311f4d7718f69c3cd005ef1d6b\">\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=\"/cloud/docs/mintlify-assets/_mintlify/favicons/cloud/CwnEEs8UQ8WD3Jou/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Laravel Cloud\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0057FF\">\u003clink data-mint-head rel=\"canonical\" href=\"/cloud/docs/knowledge-base/nightwatch-on-cloud\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/cloud/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cloud/docs/knowledge-base/nightwatch-on-cloud.md\">","siteName":"Laravel Cloud","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/laravel"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"Welcome to Laravel Cloud","sidebarTitle":"Introduction","href":"/intro"},{"title":"Quickstart","sidebarTitle":"Quickstart","mode":"wide","href":"/quickstart"},{"title":"Runtimes","sidebarTitle":"Runtimes","href":"/runtimes"}]},{"group":"Deploy guides","pages":[{"title":"Laravel deploy guide","sidebarTitle":"Laravel","href":"/deploy-guides/laravel"},{"title":"Next.js deploy guide","sidebarTitle":"Next.js","href":"/deploy-guides/nextjs"},{"title":"Nuxt deploy guide","sidebarTitle":"Nuxt","href":"/deploy-guides/nuxt"},{"title":"Node.js deploy guide","sidebarTitle":"Node.js","href":"/deploy-guides/nodejs"},{"title":"Go deploy guide","sidebarTitle":"Go","href":"/deploy-guides/go"},{"title":"Python deploy guide","sidebarTitle":"Python","href":"/deploy-guides/python"},{"title":"Ruby and Rails deploy guide","sidebarTitle":"Ruby and Rails","href":"/deploy-guides/ruby"},{"title":"Rust deploy guide","sidebarTitle":"Rust","href":"/deploy-guides/rust"}]},{"group":"Basics","pages":[{"title":"Applications","sidebarTitle":"Applications","href":"/applications"},{"title":"Environments","sidebarTitle":"Environments","href":"/environments"},{"title":"Preview Environments","sidebarTitle":"Preview Environments","href":"/preview-environments"},{"title":"Secrets","sidebarTitle":"Secrets","href":"/secrets"},{"title":"Domains","sidebarTitle":"Domains","href":"/domains"},{"title":"Compute","sidebarTitle":"Compute","href":"/compute"},{"title":"Managed Queues","sidebarTitle":"Managed Queues","href":"/queues"},{"title":"Workers","sidebarTitle":"Workers","href":"/workers"},{"title":"Scheduled tasks","sidebarTitle":"Scheduled tasks","href":"/scheduled-tasks"},{"title":"Deployments","sidebarTitle":"Deployments","href":"/deployments"},{"title":"Health checks","sidebarTitle":"Health checks","href":"/health-checks"},{"title":"Source control","sidebarTitle":"Source control","href":"/source-control"},{"title":"Monorepos","sidebarTitle":"Monorepos","href":"/monorepos"},{"title":"Laravel Cloud Network","sidebarTitle":"Network","href":"/network"},{"title":"Organizations","sidebarTitle":"Organizations","href":"/organizations"},{"title":"Roles and permissions","sidebarTitle":"Roles and permissions","href":"/rbac"},{"title":"Single sign-on","sidebarTitle":"Single sign-on","href":"/sso"}]},{"group":"Resources","pages":[{"group":"Databases","pages":[{"title":"Laravel MySQL","sidebarTitle":"MySQL","href":"/resources/databases/laravel-mysql"},{"title":"Serverless Postgres","sidebarTitle":"Postgres","href":"/resources/databases/postgres"}]},{"group":"Caches","pages":[{"title":"Laravel Valkey","sidebarTitle":"Valkey","href":"/resources/caches/valkey"},{"title":"Redis by Upstash (deprecated)","sidebarTitle":"Redis","href":"/resources/caches/redis"}]},{"title":"Laravel Object Storage","sidebarTitle":"Object Storage","href":"/resources/object-storage"},{"group":"WebSockets","pages":[{"title":"Laravel Cloud WebSockets","sidebarTitle":"WebSockets","href":"/resources/websockets"},{"title":"Connecting with Pusher SDKs","sidebarTitle":"Pusher SDKs","href":"/resources/websockets/pusher"}]},{"title":"Email","sidebarTitle":"Email","href":"/resources/email"}]},{"group":"Private Cloud","pages":[{"title":"Private Cloud","sidebarTitle":"Overview","href":"/private-cloud"},{"title":"Dedicated edge network","sidebarTitle":"Edge network","href":"/private-cloud/edge-network"},{"title":"Private networking","href":"/private-cloud/private-networking"},{"title":"Internal networking","href":"/private-cloud/internal-networking"},{"title":"IAM roles","sidebarTitle":"IAM roles","href":"/private-cloud/iam-roles"},{"title":"Build configuration","href":"/private-cloud/build-configuration"},{"title":"RDS","sidebarTitle":"RDS","href":"/private-cloud/rds"},{"title":"ElastiCache","sidebarTitle":"ElastiCache","href":"/private-cloud/elasticache"},{"title":"Self-hosted GitLab","href":"/private-cloud/self-hosted-gitlab"},{"title":"Data transfer","href":"/private-cloud/data-transfer"}]},{"group":"Services","pages":[{"group":"Log Drains","pages":[{"title":"Log drains","sidebarTitle":"Overview","href":"/services/log-drains/overview"},{"title":"Log Drains Pricing","sidebarTitle":"Pricing","href":"/services/log-drains/pricing"}]}]},{"group":"Monitoring","pages":[{"title":"Requests","sidebarTitle":"Requests","href":"/requests"},{"title":"Logs","sidebarTitle":"Logs","href":"/logs"},{"title":"Usage","sidebarTitle":"Usage","href":"/usage"},{"title":"Notifications","sidebarTitle":"Notifications","href":"/notifications"}]},{"group":"Billing","pages":[{"title":"Free trial","sidebarTitle":"Free trial","href":"/free-trial"},{"sidebarTitle":"Plans and pricing","title":"Plans and pricing","href":"/pricing"},{"sidebarTitle":"Taxes","title":"Taxes","href":"/taxes"},{"sidebarTitle":"Spending limits","title":"Spending limits","href":"/spending-limits"}]},{"group":"Other","pages":[{"title":"Support","mode":"wide","href":"/support"},{"title":"Changelog","sidebarTitle":"Changelog","href":"/changelog"},{"title":"Compliance \u0026 Security","mode":"wide","href":"/compliance"},{"title":"Report abuse","sidebarTitle":"Abuse","href":"/abuse"}]}]},{"tab":"Knowledge Base","groups":[{"group":"Getting started","pages":[{"title":"Knowledge base","sidebarTitle":"Introduction","href":"/knowledge-base/intro"}]},{"group":"Guides","pages":[{"title":"Manage robots.txt","sidebarTitle":"Configuring robots.txt to Control Search Engine Crawling","href":"/knowledge-base/managing-robots"},{"title":"Deploy Statamic on Laravel Cloud","sidebarTitle":"Deploying Statamic","href":"/knowledge-base/statamic-on-cloud"},{"title":"Generating PDFs","sidebarTitle":"Generating PDFs","href":"/knowledge-base/generating-pdfs"},{"title":"How much memory do your queue workers need?","sidebarTitle":"Sizing Queue Worker Memory","href":"/knowledge-base/sizing-queue-worker-memory"},{"title":"Understanding logs","sidebarTitle":"Understanding logs","href":"/knowledge-base/logs"},{"title":"Upgrading from MySQL 8.0 to MySQL 8.4","sidebarTitle":"Upgrading from MySQL 8.0 to 8.4","href":"/knowledge-base/upgrade-mysql-to-84"},{"title":"Using Yarn, PNPM, or Bun","sidebarTitle":"Using Yarn, PNPM, or Bun","href":"/knowledge-base/using-yarn-bun-pnpm"}]},{"group":"Migration guides","icon":"folder","pages":[{"title":"Migrate from Heroku","href":"/migrate-from-heroku"},{"title":"Migrate Rails to Cloud","sidebarTitle":"Rails migration","href":"/knowledge-base/migrating-rails-to-cloud"},{"title":"Migrate from Vapor","mode":"wide","href":"/migrating-from-vapor"},{"title":"Migrate an application to a different region","sidebarTitle":"Migrate app to a different region","href":"/knowledge-base/migrate-to-different-region"},{"title":"Migrate MySQL to PostgreSQL","sidebarTitle":"Migrate MySQL to PostgreSQL","href":"/knowledge-base/migrating-mysql-to-postgresql"},{"title":"Migrate from Redis by Upstash to Laravel Valkey","sidebarTitle":"Migrate Upstash to Valkey","href":"/knowledge-base/migrate-upstash-to-valkey"},{"title":"Migrating Object Storage to Laravel Cloud","sidebarTitle":"Migrate Object Storage","href":"/knowledge-base/migrating-object-storage"},{"title":"Migrate from queue clusters","sidebarTitle":"Migrate queue clusters","href":"/knowledge-base/migrate-from-queue-clusters"}]},{"group":"Troubleshooting","pages":[{"title":"Fix 502 Bad Gateway or internal server errors","sidebarTitle":"502 Bad Gateway","href":"/knowledge-base/502-error"},{"title":"Domain Verification","sidebarTitle":"Domain Verification","href":"/knowledge-base/domain-verification"},{"title":"Fix environment not sleeping issues","sidebarTitle":"Environment not sleeping","href":"/knowledge-base/environment-not-sleeping"},{"title":"Fix production command failures","sidebarTitle":"Fix production command failures","href":"/knowledge-base/command-failed-prod-app"},{"title":"SQLite Support","sidebarTitle":"SQLite Support","href":"/knowledge-base/sqlite"}]}]},{"tab":"API","icon":"square-terminal","groups":[{"group":"Overview","pages":[{"title":"Laravel Cloud API","sidebarTitle":"Introduction","href":"/api/introduction"},{"title":"API authentication for Laravel Cloud","sidebarTitle":"Authentication","href":"/api/authentication"}]},{"group":"CLI","pages":[{"title":"Laravel Cloud CLI","sidebarTitle":"Laravel Cloud CLI","href":"/api/cli"},{"title":"Stripe Projects","sidebarTitle":"Stripe Projects CLI","href":"/api/stripe-projects"}]},{"group":"Endpoints","boost":0.5,"pages":[{"group":"Applications","pages":[{"title":"List applications","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /applications","href":"/api/applications/list-applications"},{"title":"Create application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /applications","href":"/api/applications/create-application"},{"title":"Get application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /applications/{application}","href":"/api/applications/get-application"},{"title":"Delete application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /applications/{application}","href":"/api/applications/delete-application"},{"title":"Update application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /applications/{application}","href":"/api/applications/update-application"},{"title":"Upload application avatar","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /applications/{application}/avatar","href":"/api/applications/upload-application-avatar"},{"title":"Delete application avatar","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /applications/{application}/avatar","href":"/api/applications/delete-application-avatar"}]},{"group":"Background Processes","pages":[{"title":"List background processes","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}/background-processes","href":"/api/background-processes/list-background-processes"},{"title":"Create background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/background-processes","href":"/api/background-processes/create-background-process"},{"title":"Get background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /background-processes/{backgroundProcess}","href":"/api/background-processes/get-background-process"},{"title":"Delete background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /background-processes/{backgroundProcess}","href":"/api/background-processes/delete-background-process"},{"title":"Update background process","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /background-processes/{backgroundProcess}","href":"/api/background-processes/update-background-process"}]},{"group":"Bucket Keys","pages":[{"title":"List object storage keys","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /buckets/{filesystem}/keys","href":"/api/bucket-keys/list-object-storage-keys"},{"title":"Create object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /buckets/{filesystem}/keys","href":"/api/bucket-keys/create-object-storage-key"},{"title":"Get object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /bucket-keys/{filesystemKey}","href":"/api/bucket-keys/get-object-storage-key"},{"title":"Delete object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /bucket-keys/{filesystemKey}","href":"/api/bucket-keys/delete-object-storage-key"},{"title":"Update object storage key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /bucket-keys/{filesystemKey}","href":"/api/bucket-keys/update-object-storage-key"}]},{"group":"Caches","pages":[{"title":"List all available cache types with their configuration options","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches/types","href":"/api/caches/list-all-available-cache-types-with-their-configuration-options"},{"title":"List caches","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches","href":"/api/caches/list-caches"},{"title":"Create cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /caches","href":"/api/caches/create-cache"},{"title":"Get cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches/{cache}","href":"/api/caches/get-cache"},{"title":"Delete cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /caches/{cache}","href":"/api/caches/delete-cache"},{"title":"Update cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /caches/{cache}","href":"/api/caches/update-cache"},{"title":"Get cache metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /caches/{cache}/metrics","href":"/api/caches/get-cache-metrics"}]},{"group":"Commands","pages":[{"title":"List commands","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/commands","href":"/api/commands/list-commands"},{"title":"Run command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/commands","href":"/api/commands/run-command"},{"title":"Get command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /commands/{command}","href":"/api/commands/get-command"}]},{"group":"Database Clusters","pages":[{"title":"List database types","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/types","href":"/api/database-clusters/list-database-types"},{"title":"List database presets","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/presets","href":"/api/database-clusters/list-database-presets"},{"title":"List database clusters","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters","href":"/api/database-clusters/list-database-clusters"},{"title":"Create database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters","href":"/api/database-clusters/create-database-cluster"},{"title":"Get database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}","href":"/api/database-clusters/get-database-cluster"},{"title":"Delete database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /databases/clusters/{database}","href":"/api/database-clusters/delete-database-cluster"},{"title":"Update database cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /databases/clusters/{database}","href":"/api/database-clusters/update-database-cluster"},{"title":"Get database cluster metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/metrics","href":"/api/database-clusters/get-database-cluster-metrics"}]},{"group":"Database Restores","pages":[{"title":"Create a database restore","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters/{database}/restore","href":"/api/database-restores/create-a-database-restore"}]},{"group":"Database Snapshots","pages":[{"title":"List database snapshots","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/snapshots","href":"/api/database-snapshots/list-database-snapshots"},{"title":"Create a database snapshot","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters/{database}/snapshots","href":"/api/database-snapshots/create-a-database-snapshot"},{"title":"Get a database snapshot","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /database-snapshots/{databaseSnapshot}","href":"/api/database-snapshots/get-a-database-snapshot"},{"title":"Delete a database snapshot","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /database-snapshots/{databaseSnapshot}","href":"/api/database-snapshots/delete-a-database-snapshot"}]},{"group":"Databases","pages":[{"title":"List databases","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/databases","href":"/api/databases/list-databases"},{"title":"Create a database","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases/clusters/{database}/databases","href":"/api/databases/create-a-database"},{"title":"Get a database","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/clusters/{database}/databases/{schema}","href":"/api/databases/get-a-database"},{"title":"Delete a database","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /databases/clusters/{database}/databases/{schema}","href":"/api/databases/delete-a-database"}]},{"group":"Databases (Legacy)","pages":[{"title":"List databases","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases","href":"/api/databases-legacy/list-databases"},{"title":"Create database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /databases","href":"/api/databases-legacy/create-database"},{"title":"Get database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /databases/{database}","href":"/api/databases-legacy/get-database"},{"title":"Delete database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /databases/{database}","href":"/api/databases-legacy/delete-database"},{"title":"Update database","deprecated":true,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /databases/{database}","href":"/api/databases-legacy/update-database"}]},{"group":"Dedicated Clusters","pages":[{"title":"List dedicated clusters","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /dedicated-clusters","href":"/api/dedicated-clusters/list-dedicated-clusters"}]},{"group":"Deployments","pages":[{"title":"List deployments","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/deployments","href":"/api/deployments/list-deployments"},{"title":"Initiate deployment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/deployments","href":"/api/deployments/initiate-deployment"},{"title":"Get deployment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /deployments/{deployment}","href":"/api/deployments/get-deployment"},{"title":"Get deployment logs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /deployments/{deployment}/logs","href":"/api/deployments/get-deployment-logs"}]},{"group":"Domains","pages":[{"title":"List domains","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/domains","href":"/api/domains/list-domains"},{"title":"Create domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/domains","href":"/api/domains/create-domain"},{"title":"Get domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /domains/{domain}","href":"/api/domains/get-domain"},{"title":"Delete domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /domains/{domain}","href":"/api/domains/delete-domain"},{"title":"Update domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /domains/{domain}","href":"/api/domains/update-domain"},{"title":"Verify a domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /domains/{domain}/verify","href":"/api/domains/verify-a-domain"}]},{"group":"Edge Networks","pages":[{"title":"List edge networks","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /edge-networks","href":"/api/edge-networks/list-edge-networks"}]},{"group":"Email","pages":[{"title":"Attach Resend to environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/resend","href":"/api/email/attach-resend-to-environment"},{"title":"Detach Resend from environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /environments/{environment}/resend","href":"/api/email/detach-resend-from-environment"},{"title":"Update environment Resend sender","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /environments/{environment}/resend","href":"/api/email/update-environment-resend-sender"},{"title":"List reusable sending keys","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/resend/keys","href":"/api/email/list-reusable-sending-keys"},{"title":"List sending domains","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /resend/domains","href":"/api/email/list-sending-domains"}]},{"group":"Environments","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /applications/{application}/environments","href":"/api/environments/list-environments"},{"title":"Create environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /applications/{application}/environments","href":"/api/environments/create-environment"},{"title":"List environment logs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/logs","href":"/api/environments/list-environment-logs"},{"title":"Get environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}","href":"/api/environments/get-environment"},{"title":"Delete environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /environments/{environment}","href":"/api/environments/delete-environment"},{"title":"Update environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /environments/{environment}","href":"/api/environments/update-environment"},{"title":"Start environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/start","href":"/api/environments/start-environment"},{"title":"Stop environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/stop","href":"/api/environments/stop-environment"},{"title":"Purge edge cache","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/purge-edge-cache","href":"/api/environments/purge-edge-cache"},{"title":"Update vanity domain","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json put /environments/{environment}/vanity-domain","href":"/api/environments/update-vanity-domain"},{"title":"Add environment variables","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/variables","href":"/api/environments/add-environment-variables"},{"title":"Delete environment variables","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/variables/delete","href":"/api/environments/delete-environment-variables"},{"title":"Get environment metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/metrics","href":"/api/environments/get-environment-metrics"},{"title":"Attach secrets to environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/secrets","href":"/api/environments/attach-secrets-to-environment"},{"title":"Detach secret from environment","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /environments/{environment}/secrets/{secret}","href":"/api/environments/detach-secret-from-environment"}]},{"group":"Instances","pages":[{"title":"List instances","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /environments/{environment}/instances","href":"/api/instances/list-instances"},{"title":"Create instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /environments/{environment}/instances","href":"/api/instances/create-instance"},{"title":"List instance sizes","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/sizes","href":"/api/instances/list-instance-sizes"},{"title":"Get instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}","href":"/api/instances/get-instance"},{"title":"Delete instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /instances/{instance}","href":"/api/instances/delete-instance"},{"title":"Update instance","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /instances/{instance}","href":"/api/instances/update-instance"},{"title":"Pause a managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/pause","href":"/api/instances/pause-a-managed-queue"},{"title":"Resume a managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/resume","href":"/api/instances/resume-a-managed-queue"},{"title":"Purge a managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/purge","href":"/api/instances/purge-a-managed-queue"},{"title":"Set the default managed queue","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/default","href":"/api/instances/set-the-default-managed-queue"},{"title":"List managed queue failed jobs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}/failed-jobs","href":"/api/instances/list-managed-queue-failed-jobs"},{"title":"Delete managed queue failed jobs","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /instances/{instance}/failed-jobs","href":"/api/instances/delete-managed-queue-failed-jobs"},{"title":"Retry a managed queue failed job","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/failed-jobs/{jobId}/retry","href":"/api/instances/retry-a-managed-queue-failed-job"},{"title":"Delete a managed queue failed job","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /instances/{instance}/failed-jobs/{jobId}","href":"/api/instances/delete-a-managed-queue-failed-job"}]},{"group":"Meta","pages":[{"title":"Get organization","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /meta/organization","href":"/api/meta/get-organization"},{"title":"List regions","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /meta/regions","href":"/api/meta/list-regions"}]},{"group":"Object Storage Buckets","pages":[{"title":"List object storage buckets","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /buckets","href":"/api/object-storage-buckets/list-object-storage-buckets"},{"title":"Create object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /buckets","href":"/api/object-storage-buckets/create-object-storage-bucket"},{"title":"Get object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /buckets/{filesystem}","href":"/api/object-storage-buckets/get-object-storage-bucket"},{"title":"Delete object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /buckets/{filesystem}","href":"/api/object-storage-buckets/delete-object-storage-bucket"},{"title":"Update object storage bucket","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /buckets/{filesystem}","href":"/api/object-storage-buckets/update-object-storage-bucket"}]},{"group":"Scheduled Commands","pages":[{"title":"List scheduled commands","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /instances/{instance}/scheduled-commands","href":"/api/scheduled-commands/list-scheduled-commands"},{"title":"Create scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /instances/{instance}/scheduled-commands","href":"/api/scheduled-commands/create-scheduled-command"},{"title":"Get scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /scheduled-commands/{scheduledCommand}","href":"/api/scheduled-commands/get-scheduled-command"},{"title":"Delete scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /scheduled-commands/{scheduledCommand}","href":"/api/scheduled-commands/delete-scheduled-command"},{"title":"Update scheduled command","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /scheduled-commands/{scheduledCommand}","href":"/api/scheduled-commands/update-scheduled-command"}]},{"group":"Secrets","pages":[{"title":"Get secrets public key","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /secrets/public-key","href":"/api/secrets/get-secrets-public-key"},{"title":"List secrets","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /secrets","href":"/api/secrets/list-secrets"},{"title":"Create secret","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /secrets","href":"/api/secrets/create-secret"},{"title":"Delete secret","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /secrets/{secret}","href":"/api/secrets/delete-secret"},{"title":"Update secret","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /secrets/{secret}","href":"/api/secrets/update-secret"}]},{"group":"Usage","pages":[{"title":"Get usage","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /usage","href":"/api/usage/get-usage"}]},{"group":"WebSocket Applications","pages":[{"title":"List WebSocket applications","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/{websocketServer}/applications","href":"/api/websocket-applications/list-websocket-applications"},{"title":"Create WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /websocket-servers/{websocketServer}/applications","href":"/api/websocket-applications/create-websocket-application"},{"title":"Get WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-applications/{websocketApplication}","href":"/api/websocket-applications/get-websocket-application"},{"title":"Delete WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /websocket-applications/{websocketApplication}","href":"/api/websocket-applications/delete-websocket-application"},{"title":"Update WebSocket application","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /websocket-applications/{websocketApplication}","href":"/api/websocket-applications/update-websocket-application"},{"title":"Get WebSocket application metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-applications/{websocketApplication}/metrics","href":"/api/websocket-applications/get-websocket-application-metrics"}]},{"group":"WebSocket Clusters","pages":[{"title":"List WebSocket cluster types","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/types","href":"/api/websocket-clusters/list-websocket-cluster-types"},{"title":"List WebSocket clusters","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers","href":"/api/websocket-clusters/list-websocket-clusters"},{"title":"Create WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json post /websocket-servers","href":"/api/websocket-clusters/create-websocket-cluster"},{"title":"Get WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/{websocketServer}","href":"/api/websocket-clusters/get-websocket-cluster"},{"title":"Delete WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json delete /websocket-servers/{websocketServer}","href":"/api/websocket-clusters/delete-websocket-cluster"},{"title":"Update WebSocket cluster","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json patch /websocket-servers/{websocketServer}","href":"/api/websocket-clusters/update-websocket-cluster"},{"title":"Get WebSocket cluster metrics","deprecated":null,"version":null,"openapi":"https://cloud.laravel.com/api-docs/api.json get /websocket-servers/{websocketServer}/metrics","href":"/api/websocket-clusters/get-websocket-cluster-metrics"}]}]}]}]},"basePath":"","title":"Manually configure Laravel Nightwatch on Cloud - Laravel Cloud","buildId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","deploymentId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","dynamics":["10e4515597","07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["BannerMarkdown-CGuHEvQW.js","dist-B66mVNPp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-BcghKhHb.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","Frame-Bj1PpgeO.js","DynamicMarkdown-Bas9A7wq.js","zoom-image-lightbox-B-WKhCOL.js","lightbox-handle-r17bVUz3.js","Markdown-D3ZTwq_a.js","AssistantPageLink-DmooSyTN.js"]}