Enterprise
Network configuration
On the other surface: the Grok Build TUI's hosts, TLS, and proxy settings are in Enterprise Deployments. For one allowlist that covers both surfaces, see the combined network allowlist.
Grok Build needs to communicate with backend services and AI providers. Configure your proxies and firewalls to let that traffic through, and review the encryption requirements.
To limit which organizations and teams can use Grok Build from this network, send the tenancy restriction header from your proxy.
Proxy configuration
Many enterprises route traffic through proxy servers for monitoring and security. Grok Build works with most proxy configurations, but some proxy settings can cause issues with streaming responses.
HTTP/2 vs HTTP/1.1
Grok Build uses HTTP/2 bidirectional streaming by default for real-time chat and agent experiences. Some enterprise proxies don't support HTTP/2 streaming correctly. Zscaler is the most widely used proxy with this limitation.
If you experience issues with streaming, Grok Build automatically falls back to HTTP/1.1 Server-Sent Events (SSE) mode. This fallback was specifically designed to work with Zscaler and similar proxies that buffer or break HTTP/2 streams. The fallback happens transparently when HTTP/2 bidirectional streaming doesn't work.
SSL inspection and DLP
Many corporate proxies perform SSL man-in-the-middle inspection to scan traffic for security threats or data loss prevention (DLP). This replaces Grok Build's SSL certificates with your proxy's certificates.
When Grok Build traffic goes through Secure Web Gateways (SWG), SSL inspection, or DLP, it often causes timeouts, slowness, or errors when using Grok Build's Agent capabilities. This is one of the most common deployment blockers for enterprise customers. For endpoint security software (AV, EDR, DLP) that runs on the machine itself rather than at the network level, see Endpoint Security Configuration.
Grok Build's services are already encrypted end-to-end. Grok Build recommends disabling SSL inspection for these domains:
.cursor.shcursor-cdn.com,*.cursor-cdn.commarketplace.cursorapi.comauthenticate.cursor.shauthenticator.cursor.sh*.cursorvm.com*.*.cursorvm.comcursor.comand*.cursor.com(cursor.com/dashboardlinks, Cloud Agents atcursor.com/agents, and code review pages)grok.com(Grok Dashboard atgrok.com/dashboard)
Sign-in also uses accounts.spacexsi.com and related auth hosts, plus accounts.x.ai during the transition. Exclude those from inspection too. authenticator.cursor.sh remains the fallback sign-in page during the transition. See Which domains does Grok Build sign-in need? for the full list.
Both cursorvm.com patterns are required for Grok Bot: hosted computers use nested hostnames, and a single-level wildcard misses them. Apply the exclusions to off-network and roaming proxy profiles as well as office locations. For Grok Bot symptoms and Zscaler profile notes, see Configure TLS-inspecting proxies.
If your security policy requires SSL inspection on all traffic, your proxy must support:
- HTTP/2 bidirectional streaming (or that Grok Build's HTTP/1.1 fallback works)
- Server-Sent Events (SSE) passthrough without buffering
- Long-running connections without forced timeouts
- Disabling response buffering for streaming content types
Gateways that scan downloads
The web app at cursor.com streams agent conversations and code review data as long-lived, compressed binary responses. A secure web gateway that scans downloads for malware or DLP can classify those responses as files and hold the whole body until the connection closes, which can take over ten minutes. Cloudflare Gateway (Cloudflare One with the WARP client) does this when its HTTP policies inspect cursor.com; Zscaler and Netskope have equivalent settings.
Symptoms:
- Agents stay on "Loading…" at
cursor.com/agentswhile the Agents Window opens the same agents normally. - In the browser's developer tools, the Network tab shows a
StreamConversationrequest under/api/connect-proxy/with no status code and nothing transferred. - The page eventually renders after ten minutes or more.
- Turning the gateway client off, or testing from outside the network, makes the page load at once.
Exclude cursor.com and *.cursor.com from TLS inspection and file scanning. For Cloudflare Zero Trust, any one of these works:
- Gateway → Firewall policies → HTTP: add a Do Not Inspect policy for
cursor.comand*.cursor.com, placed above your other HTTP policies. - If TLS inspection must stay on, add a Do Not Scan policy for
cursor.cominstead, and excludecursor.comfrom any DLP profiles. - Under WARP device settings → Split Tunnels, add
cursor.comto the exclude list so it bypasses the gateway.
Apply the exception to roaming and off-network profiles as well as office locations.
Testing proxy connectivity
If you experience connection issues, you can test connectivity manually using curl commands. These commands simulate the requests Grok Build makes to backend services.
Test basic connectivity:
Bash
curl -v https://api2.cursor.sh |& grep -C1 issuer:
This shows which SSL certificate is in use. You should see Amazon RSA. If you see your proxy provider (like Zscaler), SSL inspection is active.
Test HTTP/1.1 streaming:
Bash
echo -ne "\x0\x0\x0\x0\x11{\"payload\":\"foo\"}" | \
curl --http1.1 -No - -XPOST \
-H "Content-Type: application/connect+json" \
--data-binary @- \
https://api2.cursor.sh/aiserver.v1.HealthService/StreamSSE
You should see output appear line by line over 5 seconds. If it appears all at once after 5 seconds, your proxy is buffering streaming responses.
Test HTTP/2 bidirectional streaming:
Bash
(for i in 1 2 3 4 5; do \
echo -ne "\x0\x0\x0\x0\x12{\"payload\":\"foo$i\"}"; \
sleep 1; \
done) | curl -No - -XPOST \
-H "Content-Type: application/connect+json" \
-T - \
https://api2.cursor.sh/aiserver.v1.HealthService/StreamBidi
Output should appear once per second. If buffered for 5 seconds, your proxy doesn't support HTTP/2 bidirectional streaming.
IP allowlisting
If your network uses IP-based access controls, you need to allow traffic to Grok Build's backend services.
Rather than maintaining IP address lists (which can change), configure your firewall to allow traffic to these domain patterns:
*.cursor.sh*.cursor-cdn.com*.cursorapi.com*.cursorvm.com*.*.cursorvm.com
Grok Build generally recommends allowlisting with the domain patterns above. However, if your firewall mandates granular subdomain allowlists without wildcards, use the following list:
api2.cursor.sh: Used for most API requests.api5.cursor.sh: Used for Grok Build's agent requests.api3.cursor.sh: Used for Tab requests (HTTP/2 only).repo42.cursor.sh: Used for codebase search (HTTP/2 only).api4.cursor.sh,us-asia.gcpp.cursor.sh,us-eu.gcpp.cursor.sh,us-only.gcpp.cursor.sh: Used for Tab requests depending on your location (HTTP/2 only).adminportal42.cursor.sh: Used to configure SSO and domain verification.marketplace.cursorapi.com,cursor-cdn.com,downloads.cursor.com,anysphere-binaries.s3.us-east-1.amazonaws.com: Used for client updates and downloading extensions from the extension marketplace.api5.cursor.sh: Used for network access layer (NAL) requests. These subdomains are also used:agent.api5.cursor.shagentn.api5.cursor.shagent.us.api5.cursor.shagentn.us.api5.cursor.shagent.global.api5.cursor.shagentn.global.api5.cursor.sh
authenticate.cursor.sh: Authorization endpoint.authenticator.cursor.sh: Auth UI and login webview. Fallback sign-in page during the transition.accounts.spacexsi.com: New sign-in page.accounts.x.aialso serves it during the transition. See Which domains does Grok Build sign-in need? for the related auth hosts.prod.authentication.cursor.sh: Production token issuer.authentication.cursor.sh: JWT issuer (backend).
The desktop app also reaches these hosts. The domain patterns above don't match them, so add them to your allowlist even if you use the patterns:
agent-stores.s3.us-east-1.amazonaws.com,agent-stores.s3.amazonaws.com: Used to sync skills and agent files.cursor.blob.core.windows.net: Used to download the Remote SSH server to Windows remote hosts. Linux and macOS remote hosts download it fromdownloads.cursor.com.
The remote host downloads the server itself. If it can't reach these hosts, Grok Build downloads the server on your machine and copies it over SSH. To always download it locally, set remote.SSH.localServerDownload to always.
Private connectivity
Grok Build supports private connectivity for Enterprise teams that need Cloud Agents, Bugbot, or Grok Build backend services to access private source control systems and package registries. Supported options include AWS PrivateLink and Cloudflare Tunnel.
Grok Build doesn't offer VPC peering or customer-facing Google Private Service Connect.
When you run Grok Build agents in the editor or in the Grok Build TUI, they inherit your existing network configuration. If you run Grok Build on a machine within your VPC, agent operations inherit:
- Your network security groups
- Your firewall rules
- Your DNS configuration
- Your VPN or private network access
This means Grok Build agents can access internal resources that the machine can reach, while following your existing network security controls.
Encryption
Grok Build encrypts data both in transit and at rest.
In transit
- TLS 1.2 or higher for all connections to Grok Build services
- TLS for connections to third-party AI providers
- Certificate pinning for critical services
At rest
- AES-256 encryption for stored data
- Encrypted vector database storage
- Encrypted code storage for Cloud Agents (when enabled)
Key management
Grok Build manages encryption keys. Keys are rotated according to security best practices and stored in secure key management systems.
For enhanced security control, enterprise customers can use Customer Managed Encryption Keys (CMEK) for encrypting data stored in Grok Build's infrastructure. See Data Encryption for details.
LLM gateways
Some enterprises want to route LLM traffic through their own gateways for additional monitoring and control.
Custom gateways can introduce additional latency, rate limiting, and compatibility issues. Grok Build instead recommends using its built-in hooks feature to implement your own security controls.
Grok Build's Zero Data Retention policy does not apply when using your own API keys. Your data handling will be subject to the privacy policies of your chosen AI provider (OpenAI, Anthropic, Google, Azure, or AWS).
See Hooks and Security Guardrails for details.
Cloud Agents networking
Cloud Agents run on Grok Build's infrastructure, not your local network. They can access:
- Public GitHub repositories
- GitHub Enterprise Cloud repositories you've granted access to
- GitHub Enterprise Server (self-hosted GitHub Enterprise)
- On-prem and cloud-based GitLab
- Bitbucket Cloud repositories
- Public package registries (npm, PyPI, etc.)
Cloud Agents cannot access:
- Resources behind your corporate firewall
- On-premises GitHub Enterprise Server
- Private package registries without internet access
If your development workflow requires access to internal resources, use the Agents Window on machines within your network instead of Cloud Agents.
Troubleshooting checklist
If you experience connection issues:
- Test basic connectivity to
api2.cursor.sh - Check if SSL inspection is active and consider excluding Grok Build domains
- Check if download scanning is holding web streams: if
cursor.com/agentsstays on "Loading…" but the desktop app works, see Gateways that scan downloads - Verify streaming works using the curl tests above
- Check firewall rules allow traffic to
*.cursor.shand related domains - Review proxy logs for connection errors or timeouts
- Test from a machine outside your network to isolate network-specific issues
Most connectivity issues stem from proxies buffering streaming responses. Work with your network team to disable buffering for Grok Build domains or implement proper streaming support.
Last updated: November 27, 2026