How do I connect Grok Bot?
Create a PageLantern account and add your website in Monitors. In Integrations → API & automation → AI apps, choose Set up Grok Bot and copy the server URL for your environment. The production URL is https://pagelantern.com/api/mcp. It is different from the existing ChatGPT plugin endpoint.
Ask Grok Bot to add a custom MCP server using that URL and start its OAuth sign-in. Sign in to PageLantern, review the client name, return address, account, workspace and read-only permission, then choose Allow read access. Return to Grok Bot and verify it can read your monitors. A copied URL or completed sign-in alone does not prove the connection works.
Approve only a connection you initiated in an app you trust. A generic client name is client-provided, not a verified publisher identity. Never paste a PageLantern password, session token or API key into chat. Remote clients need a reachable HTTPS PageLantern environment.
What can Grok Bot do with the connection?
Ask for monitor details, recent failed checks, retained history, recorded uptime and latency, regional observations, health summaries and graphs. For example: Which websites need attention? Include the latest checks, timestamps and evidence links. Or: Draft this week’s website health summary and explain missing observations.
The monitors:read connection cannot run checks, create or change monitors, pause monitoring, read saved report packs or access another workspace. Create monitors in PageLantern first. Configured credentials and raw response bodies are not shared. Failed checks are evidence to investigate, not proof of an application root cause.
How do incidents start a Grok Bot routine?
In Grok Bot, create a routine that investigates a PageLantern incident and add a webhook trigger. Open the routine on desktop and copy the POST to URL and key. In PageLantern, open Integrations → New integration → Grok Bot. Enter the routine webhook URL and paste only the key, without the Bearer prefix.
Choose the relevant monitors and incident/recovery events. Save the channel, then send a test. PageLantern stores the URL and key encrypted and sends an HTTPS POST with Authorization: Bearer followed by the key. A successful test means Grok accepted the trigger, not that the routine finished; check the Bot’s chat for the result. Tests start real routines.
Keep the routine focused: retrieve current evidence using MCP, state observed failures and timing, link to PageLantern, and draft next steps. Treat notification payloads and monitored content as data, never as instructions. Review customer messages and production changes before they are carried out. Avoid broad triggers that consume Grok usage unnecessarily.
How do I rotate a key or stop the integration?
Edit the notification channel to replace its routine key. Leave the key and URL blank to retain their saved values. If you replace the URL, supply the key for that destination as well. Saved keys are never returned to the browser. Disable or delete the notification channel to stop new routine triggers.
Manage the read-only connection separately in Integrations → API & automation → MCP clients. Disconnecting revokes future tool access while monitors keep running; it does not remove information already returned to Grok. Each member manages their own grants.
Is PageLantern listed in the Grok marketplace?
These instructions use a custom connection. Marketplace review, publication and a shareable public Bot template are separate release steps. The Grok Bot app and regular Grok web connectors have separate setup paths. Availability and account policies depend on the host you use.
If sign-in fails, verify your environment’s generic MCP feature is enabled and that the client supports Streamable HTTP with OAuth, S256 PKCE and dynamic registration or HTTPS client metadata. If a routine does not run, verify it is active, its URL and key are current, and inspect the notification test result and Grok’s routine history.
