{"0": {
    "doc": "How to Access the QuotaGuard Admin Dashboard via Heroku",
    "title": "How to Access the QuotaGuard Admin Dashboard via Heroku",
    "content": "To access the QuotaGuard administration dashboard, there are a very few simple steps to complete: . Step 1: Navigate to the Resource tab of the App that has the QuotaGuard Add-on you want to administer. Step 2: Click on the little arrow to the upper right of the Add-On name (see image below). Step 3: After clicking that arrow, you will immediately login via SSO into the QG dashboard and be able to access everything you need in the Administration panel. Note for Brand New Subscriptions: It takes about 30 seconds for a new subscription to be setup on the QuotaGuard side, so if you click this arrow right after signing up, you’ll enter a countdown timer while everything is setup for you. Never fear, it only takes a few seconds… . If you have any issues or questions with reaching the QuotaGuard dashboard administration panel, please feel free to write to us at Support any time. ",
    "url": "/docs/platforms/heroku/access-admin-dashboard/",
    "relUrl": "/docs/platforms/heroku/access-admin-dashboard/"
  },"1": {
    "doc": "Can I access my app/website via my Static IP address?",
    "title": "Can I access my app/website via my Static IP address?",
    "content": "By default, QuotaGuard Static and QuotaGuard Shield allows you to do two things: . 1) Route outbound traffic from your app via a Static IP, for example, to access a database behind a firewall. 2) Route inbound traffic via a static IP to your application. Unfortunately, for inbound connections to your app, you can’t just enter in the Static IP address in your browser and expect it to bring up your app. Most customers - unless you are already on a dedicated proxy - are on a shared proxy. Shared proxies have multiple accounts that are sharing the same IP address, so without using a hostname in your URL, we are unable to determine which account to route traffic to correctly. If you make this mistake and type the IP address in directly, you’ll see an “Oops” page with Error 1222. In this case, the suggestion on that blog page of changing your QuotaGuard plan won’t help, as the issue with with trying to navigate directly to the IP address instead of a hostname / custom domain. To get started with adding a Custom Domain so you can navigate correctly to your app, you will need to follow one of these two sets of directions depending on your QuotaGuard service. A) For QuotaGuard Static, please see Getting Started With QuotaGuard Static’s IP Inbound Proxy. B) For QuotaGuard Shield, please see Getting Started With QuotaGuard Shield’s IP Inbound Proxy. ",
    "url": "/docs/outbound-proxy/concepts/access-app-via-static-ip/",
    "relUrl": "/docs/outbound-proxy/concepts/access-app-via-static-ip/"
  },"2": {
    "doc": "Add Subscriptions to your QuotaGuard Account",
    "title": "Add Subscriptions to your QuotaGuard Account",
    "content": "To add additional subscriptions to your QuotaGuard account, please follow these simple steps below. Please Note: Additional subscriptions do not have a free trial. The payment method on file will be charged when procuring a new subscriptions. | Log into your QG Administrator account. | In the upper right corner, you will see your current QuotaGuard username (something like “rs7nfi2n2nd“) with a dropdown arrow. Click on that dropdown arrow and select “Manage Subscriptions” . | Once in Manage Subscriptions, click on the green +Plus arrow to add a new subscription. | At the top of the pop-up box, select which QuotaGuard service you need…either Static or Shield. | Select the correct region for your proxy. | Select the appropriate plan for your new subscription. | Click Add Subscription. | . Your new subscription will be provisioned instantly and available in the same dropdown box you used in step #2 above. Tip: If you manage several subscriptions, you can add a label to each one to keep track of which app or customer it belongs to. Note: Dedicated subscriptions still need to be created by hand, so if you are on the Enterprise plan (or higher), please write us at Support and let us know to move you to a dedicated proxy. ",
    "url": "/docs/account/subscriptions/add-multiple-subscriptions/",
    "relUrl": "/docs/account/subscriptions/add-multiple-subscriptions/"
  },"3": {
    "doc": "How to Add SSL Certificates for QuotaGuard Static",
    "title": "How to Add SSL Certificates for QuotaGuard Static",
    "content": "When you set up a Custom Domain with QuotaGuard Static, you have the option of uploading your own SSL certificates to QuotaGuard. Please keep in mind that uploading your certificates to a third party, like QuotaGuard, increases your third party risk as an organization outside of your own security control has physical access to your certificates. That is why we strongly recommend using QuotaGuard Shield as your secure QuotaGuard service to protect against third party risk. If you have questions on the differences, please see our article on the differences between QuotaGuard Static and QuotaGuard Shield. To move forward with QuotaGuard Static and uploading SSL Certificates, please follow the Custom Domain setup instructions. Step 5 deals with certificate uploading. If you have more questions on the differences between the two services, you can always write us at Support. ",
    "url": "/docs/security/add-ssl-certificates/",
    "relUrl": "/docs/security/add-ssl-certificates/"
  },"4": {
    "doc": "Add Users to your QuotaGuard Account",
    "title": "Adding a new user",
    "content": "To add a new user, go ahead and: . | Login and navigate to Account Management. | Click on Invite User. | Add the email address for the user you want to invite. | The invited user will get an email with a link to accept the invitation and agree to the usual Terms and Conditions. The link has an expiration date of 7 days after sending. | Make sure they check Spam | . | Verify in your account that you see the new user in your subscription. If successful, it’ll show in the Users list. | . ",
    "url": "/docs/account/subscriptions/add-team-members/#adding-a-new-user",
    "relUrl": "/docs/account/subscriptions/add-team-members/#adding-a-new-user"
  },"5": {
    "doc": "Add Users to your QuotaGuard Account",
    "title": "Contact Support",
    "content": "As always, if you have issues, we’re just a quick email away at Support. ",
    "url": "/docs/account/subscriptions/add-team-members/#contact-support",
    "relUrl": "/docs/account/subscriptions/add-team-members/#contact-support"
  },"6": {
    "doc": "Add Users to your QuotaGuard Account",
    "title": "Add Users to your QuotaGuard Account",
    "content": " ",
    "url": "/docs/account/subscriptions/add-team-members/",
    "relUrl": "/docs/account/subscriptions/add-team-members/"
  },"7": {
    "doc": "Signing Up as an Agent",
    "title": "Before you start",
    "content": "You need three things: . | A payment method the customer has explicitly authorized you to use. If they have not authorized one, stop and hand back to a human. Do not use a card you were not given permission to use. | A plan, and a region. | An email address to register the account under. | . Sign-up is self-serve. It does not need an API key, a sales conversation or a phone call. Starter, Production and Business plans have a 3 day free trial period. Plans on the Enterprise level and above have a 7 day free trial period. No payment is taken at sign-up: the payment method is saved and billing starts when the trial ends. ",
    "url": "/docs/getting-started/agent-signup/#before-you-start",
    "relUrl": "/docs/getting-started/agent-signup/#before-you-start"
  },"8": {
    "doc": "Signing Up as an Agent",
    "title": "The sign-up steps",
    "content": ". | Choose the plan. Current plans and prices are at the pricing page. | Open the plan’s sign-up URL. The pattern is https://www.quotaguard.com/users/sign_up?plan=&lt;slug&gt;, which returns one 301 to https://dash.quotaguard.com/users/sign_up?plan=&lt;slug&gt; and keeps the plan. The slugs in use are static_micro, static_medium, static_large_direct, static_enterprise_direct, shield_micro, shield_medium, shield_large and shield_enterprise. | Complete the account form. It asks for: . | An email address for the account. | A region, from a required dropdown. The options are the AWS region codes: . | ap-northeast-1 | ap-south-1 | ap-southeast-1 | ap-southeast-2 | ca-central-1 | eu-central-1 | eu-west-1 | eu-west-2 | sa-east-1 | us-east-1 | us-east-2 | us-west-2 | . Use the region the customer specified, or the one closest to the systems that will call through the proxy. The region fixes the subscription’s proxy hostname and its static IP pair. Changing it later means different IPs and re-allowlisting at every destination: a plan change alone never moves your IPs, and moving a subscription to a different proxy is a support request. See What Happens (IP’s/Settings) When I Change Plans?. | A password of at least 12 characters, with confirmation. | Two required checkboxes, privacy and terms. Tick them only if the customer has authorized you to accept them on their behalf. If they have not, stop and ask. | . | Complete the Stripe Checkout step. It is a hosted Stripe page that saves the payment method and takes no payment. The bank may require a 3D Secure step, which can need a human. | Finish the registration. On success the browser lands on https://dash.quotaguard.com/registrations/complete_stripe?session_id=..., which creates the subscription, and then on /welcome. | Verify before reporting success. Confirm the subscription exists and is trialing. Do not report a completed sign-up on the strength of the checkout page alone. | . ",
    "url": "/docs/getting-started/agent-signup/#the-sign-up-steps",
    "relUrl": "/docs/getting-started/agent-signup/#the-sign-up-steps"
  },"9": {
    "doc": "Signing Up as an Agent",
    "title": "Where the connection details are",
    "content": "Start on the Subscription Setup page. Under Outbound Proxy, click Connection Information. That opens Setup &gt; Outbound, which shows the subscription’s username, proxy password, proxy host, HTTP URL, SOCKS URL and static IPs. The dashboard home page shows the static IPs and usage information, but not the proxy password or the complete connection URLs. In an application, the credentials arrive in the QUOTAGUARDSTATIC_URL environment variable for Static, and in QUOTAGUARDSHIELD_URL for Shield. Hostnames and ports: &lt;region&gt;-static-01.quotaguard.com on HTTP/HTTPS port 9293 and SOCKS5 port 1080 (socks5:// scheme), and &lt;region&gt;-shield-01.quotaguard.com on port 9294. The exact hostname for an account is shown in the dashboard. static.quotaguard.com and proxy.quotaguard.com do not exist, and any documentation using them is wrong. Static IPs: each subscription includes two load-balanced static IPs and both are active at the same time. Add both to any allowlist. Never allowlist the IP that a proxy hostname resolves to, because those hostnames point at load balancers. Inbound: inbound proxying uses the same two static IPs. The dashboard generates a hostname on getstatica.com that resolves to them, and a custom domain is pointed at it with a CNAME. Configure it under Configure Inbound Proxies on the Subscription Setup page. Machine-readable sources, for an agent that would rather read structure than prose: . | llms.txt | Documentation catalog JSON | Documentation search index | Documentation catalog | . The Account section of the documentation covers the free trial, billing, subscriptions, team members, analytics and the usage API. ",
    "url": "/docs/getting-started/agent-signup/#where-the-connection-details-are",
    "relUrl": "/docs/getting-started/agent-signup/#where-the-connection-details-are"
  },"10": {
    "doc": "Signing Up as an Agent",
    "title": "Common mistake",
    "content": ". | Pointing a browser or DNS directly at a static IP does not show your app. The addresses are outbound proxy addresses, so they do not serve your application. See Why Can’t My Client Connect To My IP Addresses Directly?. | . ",
    "url": "/docs/getting-started/agent-signup/#common-mistake",
    "relUrl": "/docs/getting-started/agent-signup/#common-mistake"
  },"11": {
    "doc": "Signing Up as an Agent",
    "title": "Next steps",
    "content": ". | Where to Find Your Proxy Username, Password, and Connection URL: the same values, explained field by field. | Individual Subscription Setup: the Setup page for one subscription, including inbound and dedicated configuration. | Platforms and Outbound Proxy: the integration guides for the customer’s runtime and language. | . ",
    "url": "/docs/getting-started/agent-signup/#next-steps",
    "relUrl": "/docs/getting-started/agent-signup/#next-steps"
  },"12": {
    "doc": "Signing Up as an Agent",
    "title": "Signing Up as an Agent",
    "content": "This page is for an automated agent or a script that has to register a QuotaGuard account without a human completing the form. It covers the sign-up steps, what to do about the payment method, and where the connection details are once the account exists. ",
    "url": "/docs/getting-started/agent-signup/",
    "relUrl": "/docs/getting-started/agent-signup/"
  },"13": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Before you start",
    "content": "Use this guide for Agoda Supply channel-manager connectivity. Confirm the exact Agoda product and endpoint before applying it to another Agoda integration. You need access to the deployed token and API clients, the responsible team’s YCS IP-registration workflow, and the egress configuration for each caller. If a channel manager operates the connection for you, involve that provider before changing your application’s networking. Keep client secrets, access tokens, proxy passwords, and guest data in your approved secrets and data-handling systems. Do not paste them into tickets, screenshots, public logs, or AI prompts. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#before-you-start",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#before-you-start"
  },"14": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Start with the failing request",
    "content": "Use this sequence before changing credentials or networking: . | Record the destination host and path, HTTP status, response body error fields, UTC timestamp, and the service or worker that sent the request. Keep secrets and guest information out of the record. | Check the public egress address used by that deployed process. A successful request from your laptop establishes only your laptop’s route. | Compare the address with the registered IPs. If you already use QuotaGuard, compare it with the selected subscription’s dashboard IP pair and register both addresses. | If the address is changing, select a stable egress route and apply it to every relevant HTTP client. Include separately deployed token workers, API workers and scheduled jobs. | After correcting the route or registration, use the request allowed by your Agoda onboarding or support procedure to confirm recovery. Avoid replaying an inventory update or other write simply to check connectivity. | . If the source IP matches and the request still fails, use the error fields to choose the next check. Repeated credential rotation can introduce another failure without correcting the route. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#start-with-the-failing-request",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#start-with-the-failing-request"
  },"15": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Check token traffic as well as API traffic",
    "content": "Agoda’s Supply OAuth example obtains a token with clientId and clientSecret at: . https://supply.agoda.com/token-based-authentication/exchange . The application then sends the token in an Authorization: Bearer header on connectivity API requests. These can be different network paths even when they belong to one integration. See the official request examples. Make a small inventory of the actual callers: . | Caller | Route to inspect | . | Process that obtains or renews tokens | Its HTTP client and outbound network configuration | . | Worker that sends rates and availability | The client used for those API calls | . | Worker that retrieves bookings | Its independently configured client or SDK | . | Replacement instances and recovery jobs | Their deployment settings and outbound route | . For a proxy route, each caller must use a proxy-capable client configured for the intended proxy. Saving a proxy URL in an environment variable only helps clients that actually read it. An SDK may create its own connection independently of your diagnostic client. The component that needs stable egress is the process opening the outbound connection to Agoda, or the gateway through which it connects. Your application’s inbound IP or website domain does not identify that route. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#check-token-traffic-as-well-as-api-traffic",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#check-token-traffic-as-well-as-api-traffic"
  },"16": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Separate IP rejection from authentication and throttling",
    "content": "Read the HTTP status and JSON responseCode separately. Agoda’s response-code field is not the same as an HTTP status or the separate code field. | responseCode 60: Agoda identifies an unauthorized source IP. Compare the failing caller’s public egress IP with its YCS registration. | responseCode 2: Agoda identifies invalid client credentials. Check the request format and the configured client ID and secret without exposing them. | responseCode 41: Agoda identifies too many requests. Review token reuse and request volume, and follow Agoda’s rate-limit guidance or contact its support team. Changing IPs is not a remedy for a rate-limit block. | HTTP 403: Agoda documents this for expired tokens. Check token expiry and the complete response before choosing a retry. An HTTP 403 alone does not establish an IP-registration problem. | . Reuse valid tokens instead of generating one for every API call. See Agoda’s current authentication and error reference. Preserve the error and timing information before retrying. A change in IP address does not repair invalid credentials, refresh an expired token, or establish that a request is safe to repeat. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#separate-ip-rejection-from-authentication-and-throttling",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#separate-ip-rejection-from-authentication-and-throttling"
  },"17": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Choose the stable egress route you can operate",
    "content": "| Route | When it fits | . | Existing fixed egress | You already operate a stable public source address or NAT path that covers every caller. Register that route rather than adding another network service. | . | Native cloud networking | You can manage the hosting platform’s networking and want egress controlled there. For example, Google documents Cloud Run static egress through a VPC and Cloud NAT configured with static addresses. | . | Existing channel manager | Your PMS already delegates the Agoda connection to another service. Establish which service makes the Agoda requests and owns IP registration before changing your PMS networking. | . | QuotaGuard | You control proxy-capable clients and want managed, stable outbound IPs while keeping the application on its current hosting platform. | . Before selecting addresses, confirm the source-address and proxy arrangement accepted for your Agoda partner setup, including any geographic or exclusivity requirements. Choose a region that meets those requirements and your latency needs. QuotaGuard egress follows the region selected for the subscription. Moving the subscription to another region changes its IP pair, so coordinate updated registrations before changing the route. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#choose-the-stable-egress-route-you-can-operate",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#choose-the-stable-egress-route-you-can-operate"
  },"18": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Use the subscription’s IP pair for a QuotaGuard route",
    "content": "Open the selected subscription’s Setup &gt; Outbound connection information and copy its exact proxy URL and both static IPs. The connection details guide shows where to find them. Register the displayed IP pair, rather than addresses obtained by resolving the proxy hostname. Configure the clients identified above using the relevant platform guide. QuotaGuard Static supports outbound HTTPS through CONNECT. Shield also encrypts the application-to-proxy hop with TLS. Both tunnel HTTPS payloads without decrypting them. See how HTTPS proxying works. Standard shared addresses are shared with other QuotaGuard customers. If your approved architecture requires exclusive addresses, dedicated proxies are available on Enterprise and above through a support request. They provide address isolation; vendor quotas and approval requirements still apply. A change to dedicated infrastructure changes the connection details and IPs, so coordinate registration before switching traffic. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#use-the-subscriptions-ip-pair-for-a-quotaguard-route",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#use-the-subscriptions-ip-pair-for-a-quotaguard-route"
  },"19": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Verify the proxy route",
    "content": "From each configured client, a request to https://ip.quotaguard.com should report one of the subscription’s two IPs. A short series may show only one address; both still need registration. A new connection can use either IP. Registering only one can cause failures when the other is selected, without a predictable failure percentage. This checks the diagnostic client’s egress. Confirm the actual Agoda clients use that route and complete Agoda’s applicable access and certification process separately. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#verify-the-proxy-route",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#verify-the-proxy-route"
  },"20": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Confirm the actual Agoda route",
    "content": "A useful recovery check establishes all of the following: . | Each deployed token worker and API client uses the intended outbound route, including independently configured SDKs and scheduled jobs. | The registered source addresses cover that route. For QuotaGuard, both subscription IPs are registered even if a short diagnostic test shows only one. | The approved Agoda validation request succeeds from the actual integration. A successful IP lookup alone does not prove Agoda access, valid credentials, or certification. | . If access still fails, retain a sanitized record of the endpoint, UTC timestamp, HTTP status, responseCode, caller, and observed source IP. Share routing questions with QuotaGuard support and Agoda-specific access or authentication questions with Agoda Connectivity support. Exclude credentials, authorization headers, and guest information. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#confirm-the-actual-agoda-route",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/#confirm-the-actual-agoda-route"
  },"21": {
    "doc": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "title": "Agoda Supply OAuth: Troubleshoot Source IP Error 60",
    "content": "For an Agoda Supply OAuth responseCode of 60, check the public source IP used by the failing process against the IPs registered in YCS &gt; API access. Agoda identifies this response as an unauthorized source IP. Its Supply authentication guide documents IP registration alongside OAuth. This page is for developers operating hotel channel manager integrations with Agoda Supply. Agoda describes YCS API as a way to manage rates, availability and inventory and retrieve property bookings. ",
    "url": "/docs/apis/agoda/agoda-supply-source-ip-error-60/",
    "relUrl": "/docs/apis/agoda/agoda-supply-source-ip-error-60/"
  },"22": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "Why Airtable needs a static IP",
    "content": "Airtable runs your automation scripts on shared infrastructure. The outbound IP address of a fetch call is not fixed and is not published, so any API that gates access by IP allowlist will reject the request. There is no supported way to set an HTTP proxy inside the Airtable scripting sandbox, no place to set the standard HTTPS_PROXY environment variable, and no way to attach a network sidecar. That leaves an outbound relay as the clean path to a stable egress identity. Common destinations that require a static IP on the allowlist: . | Payment and billing gateways that allowlist server IPs | Partner and supplier APIs that issue per-customer IP allowlists | Banking and financial data APIs | Legacy or on-premise systems reached over a site-to-site or firewall rule | Internal enterprise APIs behind a corporate firewall | Databases and data APIs (MongoDB Atlas, Supabase, Neon, Amazon RDS proxies) that restrict inbound connections by IP | . Once the request egresses through QuotaGuard, you allowlist the two static IP addresses from your dashboard and every call from your Airtable automation is accepted. ",
    "url": "/docs/platforms/airtable-integration/#why-airtable-needs-a-static-ip",
    "relUrl": "/docs/platforms/airtable-integration/#why-airtable-needs-a-static-ip"
  },"23": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "How the relay pattern works",
    "content": "Airtable cannot set a proxy, so the fixed egress happens one hop away. You deploy a small relay function that you control on AWS Lambda or a Google Cloud Function. The relay is configured with your QUOTAGUARDSTATIC_URL and forwards any request it receives through that proxy. Your Airtable script calls the relay’s function URL and passes two headers: . | X-Relay-Key is a secret you generate. The relay checks it and rejects calls that do not match. | X-Target-URL is the full URL of the API you actually want to reach. | . The relay forwards the request through the QuotaGuard proxy to that target, and the target sees one of the two static IPs assigned to your subscription. The response comes back through the relay to your Airtable script. This relay pattern is the same across every platform that cannot set an HTTP proxy, so it is documented once, in full, here: . | Shared pattern and reasoning: Static IPs for platforms that can’t set an HTTP proxy | Ready-to-run relay code (AWS Lambda): quotaguard/static-examples lambda-relay | . Deploy the relay from that repo first, note its function URL and the X-Relay-Key secret you set, then wire up the Airtable side below. ",
    "url": "/docs/platforms/airtable-integration/#how-the-relay-pattern-works",
    "relUrl": "/docs/platforms/airtable-integration/#how-the-relay-pattern-works"
  },"24": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "Getting started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials, your QUOTAGUARDSTATIC_URL, and the two static IP addresses assigned to your subscription. Choose the right proxy region: Select the QuotaGuard region closest to where your relay function runs to minimize latency, then place your relay function in that same cloud region. The region is set at sign-up. Changes after sign-up require contacting support. Put the QUOTAGUARDSTATIC_URL value from your dashboard into your relay function’s environment, exactly as the relay repo describes. That value is what carries the request out through your two static IPs. ",
    "url": "/docs/platforms/airtable-integration/#getting-started",
    "relUrl": "/docs/platforms/airtable-integration/#getting-started"
  },"25": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "Call the relay from an Airtable script",
    "content": "In Airtable, open your base, add an automation, and add a Run a script action. Point fetch at your relay’s function URL and send the two headers. Do not call the target API directly. The same code runs in the Scripting extension, but the extension executes fetch in the browser and is subject to CORS, so the relay must return CORS headers for that path. The automation “Run a script” sandbox has no such restriction. // Airtable automation script: call the target API through your QuotaGuard relay. const RELAY_URL = 'https://YOUR-RELAY-ID.lambda-url.us-east-1.on.aws/'; const RELAY_KEY = 'your-long-random-secret'; // must match X-Relay-Key in the relay const targetUrl = 'https://api.partner.com/v1/orders'; const response = await fetch(RELAY_URL, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Relay-Key': RELAY_KEY, 'X-Target-URL': targetUrl, }, body: JSON.stringify({ // the JSON body your target API expects reference: 'AB-1024', amount: 4200, }), }); const data = await response.json(); console.log(data); . Notes for the Airtable sandbox: . | The fetch response payload has a size limit of 4.5 MB. Keep target responses under that or paginate. | Redirects are restricted in the sandbox. Have the relay resolve any redirect and return the final response. | Store the relay key and URL as input variables in the automation rather than hardcoding them where practical, so you can rotate the secret without editing the script. | A GET through the relay looks the same. Drop the body, set method: 'GET', and keep the two headers. | . For anything about the relay itself (how it reads X-Target-URL, how it forwards through QUOTAGUARDSTATIC_URL, how it validates X-Relay-Key), follow the shared relay pattern page and the lambda-relay repo. Do not reimplement it per base. ",
    "url": "/docs/platforms/airtable-integration/#call-the-relay-from-an-airtable-script",
    "relUrl": "/docs/platforms/airtable-integration/#call-the-relay-from-an-airtable-script"
  },"26": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "Test that traffic exits from your static IPs",
    "content": "Point the relay at the QuotaGuard IP check endpoint and confirm the response is one of your two static IPs. Set X-Target-URL to https://ip.quotaguard.com and run the script. const RELAY_URL = 'https://YOUR-RELAY-ID.lambda-url.us-east-1.on.aws/'; const RELAY_KEY = 'your-long-random-secret'; const response = await fetch(RELAY_URL, { method: 'GET', headers: { 'X-Relay-Key': RELAY_KEY, 'X-Target-URL': 'https://ip.quotaguard.com', }, }); console.log(await response.json()); . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match one of the two static IP addresses shown in your QuotaGuard dashboard. Run the script a few times. Because the pair is load-balanced, you will see both addresses over repeated calls. Allowlist both of them on the destination API, in both directions if the API distinguishes inbound and outbound rules. ",
    "url": "/docs/platforms/airtable-integration/#test-that-traffic-exits-from-your-static-ips",
    "relUrl": "/docs/platforms/airtable-integration/#test-that-traffic-exits-from-your-static-ips"
  },"27": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "Troubleshooting",
    "content": "403 Forbidden from the relay (not from the target). The X-Relay-Key header your script sent does not match the secret configured in the relay function. Confirm both values character for character, and check for a trailing space in the automation input variable. Wrong IP returned, or your own cloud IP appears. The relay is not forwarding through the proxy. Confirm QUOTAGUARDSTATIC_URL is set in the relay function’s environment and that the relay code reads it. Re-run the ip.quotaguard.com test above. The value must be one of the two dashboard IPs. Target API still returns 401 or 403 after the relay works. The static IPs are not on the destination allowlist yet, or only one of the two is. Add both IP addresses from your QuotaGuard dashboard. Do not resolve or nslookup the proxy hostname to find an IP. Use the exact pair shown in the dashboard. Connection timeout calling the relay. The relay function URL is unreachable or the function is cold-starting past Airtable’s request window. Confirm the function URL is public, retry to rule out a cold start, and keep the relay in a region near your QuotaGuard region. Response truncated or the script errors on large payloads. Airtable caps the fetch response at 4.5 MB. Have the relay request a smaller page, or filter fields at the target API so the response fits. Redirect error in the script. The Airtable sandbox does not follow redirects normally. Let the relay follow the redirect server-side and return the final body to your script. ",
    "url": "/docs/platforms/airtable-integration/#troubleshooting",
    "relUrl": "/docs/platforms/airtable-integration/#troubleshooting"
  },"28": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "Static is the right product for standard HTTPS API calls from Airtable. The HTTPS payload is tunneled end to end and is never decrypted at the proxy. Choose Shield only when the workload handles regulated data (HIPAA, PCI-DSS, SOC 2) or the environment requires TLS on every hop, including the hop between your relay and the proxy. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month (direct) | $29/month (direct) | . Static is right for most Airtable relay setups. Choose Shield if the workload handles regulated data or the environment requires TLS between the relay and the proxy itself. ",
    "url": "/docs/platforms/airtable-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/airtable-integration/#quotaguard-static-vs-quotaguard-shield"
  },"29": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Static IPs for platforms that can’t set an HTTP proxy . Contact Support . ",
    "url": "/docs/platforms/airtable-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/airtable-integration/#ready-to-get-started"
  },"30": {
    "doc": "QuotaGuard and Airtable Integration Guide",
    "title": "QuotaGuard and Airtable Integration Guide",
    "content": "Airtable automation scripts reach an API from a fixed pair of static IP addresses when you route the request through a small relay function that egresses via QuotaGuard. Airtable’s “Run a script” action uses a sandboxed fetch with no proxy setting, no environment variables, and no sidecar, so you cannot point it at a proxy directly. Instead you host a tiny relay function (AWS Lambda or a Google Cloud Function) that forwards through QuotaGuard, and your script calls that relay with two headers. The target API then sees one of the two static IP addresses assigned to your QuotaGuard subscription. ",
    "url": "/docs/platforms/airtable-integration/",
    "relUrl": "/docs/platforms/airtable-integration/"
  },"31": {
    "doc": "Google App Engine Integration - QuotaGuard",
    "title": "Google App Engine Integration - QuotaGuard",
    "content": "QuotaGuard Static can be integrated with Google App Engine in three easy steps. 1) Sign-up for a free QuotaGuard Static trial account. You can start with whatever plan suits you and change it at any point during or after your free trial. 2) Set the QUOTAGUARDSTATIC_URL environment variable in your app using the app.yaml configuration file. Your unique QUOTAGUARDSTATIC_URL is displayed on our Welcome screen when you sign up or can be viewed by going to your Setup Overview whenever you are signed in. Copy env_variables: QUOTAGUARDSTATIC_URL: 'http://user:pass@&lt;your-quotaguard-proxy-host&gt;:9293' . 3) Follow our setup guides in our Support sections for the language of your choice. If you language isn’t listed and you want some assistance just send our Support team an e-mail. You can be up and running with most languages with just a few lines of code. ",
    "url": "/docs/platforms/google-cloud/app-engine-integration/",
    "relUrl": "/docs/platforms/google-cloud/app-engine-integration/"
  },"32": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "The Problem: Dynamic IPs and MongoDB Atlas Security",
    "content": "MongoDB Atlas requires every connecting IP address to be explicitly approved in the IP Access List. This is a critical security feature. The problem is that modern cloud platforms use dynamic, rotating IP addresses. When your cloud application tries to connect to Atlas from an unapproved IP, you see errors like: . MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Or with the native driver: . MongoNetworkError: failed to connect to server [cluster0-shard-00-00.xxxxx.mongodb.net:27017] on first connect [MongoNetworkError: connection timed out] . ",
    "url": "/docs/databases/mongodb/atlas-integration/#the-problem-dynamic-ips-and-mongodb-atlas-security",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#the-problem-dynamic-ips-and-mongodb-atlas-security"
  },"33": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "The Common (Bad) Workaround",
    "content": "Many developers add 0.0.0.0/0 to the IP Access List. This allows connections from any IP address on the internet. This defeats the entire purpose of the IP Access List. Your database is now exposed to the world. Anyone with your connection string can attempt to connect. You are relying entirely on username/password authentication with no network-level protection. MongoDB Atlas even warns you when you add this entry: . “Are you sure you want to allow access from anywhere? This is less secure than allowing specific IP addresses.” . Yet this workaround is extremely common because dynamic cloud IPs make proper allowlisting impossible without a solution like QuotaGuard. ",
    "url": "/docs/databases/mongodb/atlas-integration/#the-common-bad-workaround",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#the-common-bad-workaround"
  },"34": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "The QuotaGuard Solution",
    "content": "Route your MongoDB connections through QuotaGuard’s SOCKS5 proxy. Your traffic exits from one of two static IP addresses. Add those two IPs to your Atlas IP Access List. Done. | Your database is protected by network-level security | No need to open to 0.0.0.0/0 | Works with any cloud platform | Two permanent IPs to allowlist (load-balanced pair for high availability) | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#the-quotaguard-solution",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#the-quotaguard-solution"
  },"35": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Native Alternatives (When They Make Sense)",
    "content": "MongoDB Atlas offers enterprise networking features that may fit certain architectures: . | Solution | Requirements | Best For | . | VPC Peering | M10+ cluster, same cloud provider and region | Large enterprise deployments already using VPCs | . | Private Endpoints | AWS PrivateLink, Azure Private Link, or GCP Private Service Connect | Enterprise with dedicated networking budgets | . | Network Peering | Dedicated cluster (M10+) | When all infrastructure is in the same cloud provider | . Use QuotaGuard instead when: . | You are on a free tier (M0), shared (M2/M5), or smaller dedicated cluster | Your application runs on a platform that does not support VPC peering (Heroku, Render, Vercel, Netlify Functions) | You need a quick solution without complex networking setup | You are using serverless functions (Lambda, Cloud Functions) where VPC configuration adds cold start latency | Your infrastructure spans multiple cloud providers | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#native-alternatives-when-they-make-sense",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#native-alternatives-when-they-make-sense"
  },"36": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Match your QuotaGuard region to your MongoDB Atlas cluster region for minimum latency. | Atlas Region | QuotaGuard Region | . | AWS us-east-1 (N. Virginia) | US-East | . | AWS us-west-2 (Oregon) | US-West | . | AWS eu-west-1 (Ireland) | EU-West (Ireland) | . | AWS eu-central-1 (Frankfurt) | EU-Central (Frankfurt) | . | AWS ap-southeast-1 (Singapore) | AP-Southeast (Singapore) | . | AWS ap-northeast-1 (Tokyo) | AP-Northeast (Tokyo) | . | AWS ap-southeast-2 (Sydney) | Australia (Sydney) | . | GCP us-central1 | US-East (N. Virginia) | . | GCP europe-west1 | EU-West (Ireland) | . | Azure eastus | US-East | . | Azure westeurope | EU-West (Ireland) | . Choose the QuotaGuard region nearest your Atlas cluster from the region list in your dashboard; for GCP us-central1, us-east-1 (N. Virginia) is typically the lowest-latency choice. To check your Atlas cluster region, go to your cluster’s Overview tab and look at the Region field. Your QuotaGuard SOCKS5 credentials will look like this: . Host: &lt;your-quotaguard-proxy-host&gt; Port: 1080 Username: your-username Password: your-password . Finding Your Static IPs: Your two static IPs are displayed in the QuotaGuard dashboard. Both IPs are active simultaneously. Add both to your Atlas IP Access List. ",
    "url": "/docs/databases/mongodb/atlas-integration/#getting-started",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#getting-started"
  },"37": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Configuring MongoDB Atlas IP Access List",
    "content": " ",
    "url": "/docs/databases/mongodb/atlas-integration/#configuring-mongodb-atlas-ip-access-list",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#configuring-mongodb-atlas-ip-access-list"
  },"38": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 1: Open Network Access Settings",
    "content": ". | Log in to MongoDB Atlas | Select your project | In the left sidebar, click Network Access under Security | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-1-open-network-access-settings",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-1-open-network-access-settings"
  },"39": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 2: Add QuotaGuard Static IPs",
    "content": ". | Click Add IP Address | Enter your first QuotaGuard static IP (e.g., 52.34.188.175) | Add a comment like “QuotaGuard Static IP 1” | Click Confirm | Repeat for your second QuotaGuard static IP | . Both IPs should now appear in your IP Access List with a green “Active” status. ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-2-add-quotaguard-static-ips",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-2-add-quotaguard-static-ips"
  },"40": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 3: Remove 0.0.0.0/0 (If Present)",
    "content": "If you previously added 0.0.0.0/0 as a workaround: . | Find the entry in your IP Access List | Click the trash icon to delete it | Confirm deletion | . Your database is now only accessible from your QuotaGuard static IPs (plus any other specific IPs you have allowlisted). ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-3-remove-00000-if-present",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-3-remove-00000-if-present"
  },"41": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Configuring Your Application",
    "content": "MongoDB uses port 27017 and its own wire protocol. This requires a SOCKS5 proxy, not an HTTP proxy. QuotaGuard’s SOCKS5 proxy runs on port 1080. QuotaGuard Static configuration: In your Static subscription’s Setup &gt; Outbound &gt; Connection Information, find the proxy hostname, username, and password. Set QUOTAGUARD_SOCKS_HOST to that hostname (without a URL scheme or embedded credentials), QUOTAGUARD_SOCKS_PORT=1080, and QUOTAGUARD_SOCKS_USER and QUOTAGUARD_SOCKS_PASS to the proxy credentials. The Node.js examples below use these settings with your existing MONGODB_URI. ",
    "url": "/docs/databases/mongodb/atlas-integration/#configuring-your-application",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#configuring-your-application"
  },"42": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Node.js with Mongoose",
    "content": "For Mongoose 8+ (MongoDB driver 6+), install the driver’s SOCKS5 dependency: . npm install socks . Configure Mongoose to use the proxy: . const mongoose = require('mongoose'); // Connect through QuotaGuard Static's SOCKS5 proxy mongoose.connect(process.env.MONGODB_URI, { proxyHost: process.env.QUOTAGUARD_SOCKS_HOST, proxyPort: Number(process.env.QUOTAGUARD_SOCKS_PORT || 1080), proxyUsername: process.env.QUOTAGUARD_SOCKS_USER, proxyPassword: process.env.QUOTAGUARD_SOCKS_PASS }).then(() =&gt; { console.log('Connected to MongoDB Atlas through QuotaGuard'); }).catch(err =&gt; { console.error('Connection error:', err); }); . Note on Mongoose versions: These native SOCKS5 options require MongoDB Node.js driver 4.3.0 or later. Mongoose 6.2.0 and later include a compatible driver; “Mongoose 6+” alone is not a sufficient minimum. Mongoose passes these connection options to the underlying driver; no HTTP proxy agent or topology-level configuration is needed. Driver 4.3–5.x installs socks as a dependency; driver 6+ requires it to be installed explicitly. ",
    "url": "/docs/databases/mongodb/atlas-integration/#nodejs-with-mongoose",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#nodejs-with-mongoose"
  },"43": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Node.js with Native MongoDB Driver",
    "content": "For MongoDB Node.js driver 6+, install the SOCKS5 dependency: . npm install socks . Native SOCKS5 options are supported starting with driver 4.3.0. Driver 4.3–5.x installs socks as a dependency. const { MongoClient } = require('mongodb'); const client = new MongoClient(process.env.MONGODB_URI, { proxyHost: process.env.QUOTAGUARD_SOCKS_HOST, proxyPort: Number(process.env.QUOTAGUARD_SOCKS_PORT || 1080), proxyUsername: process.env.QUOTAGUARD_SOCKS_USER, proxyPassword: process.env.QUOTAGUARD_SOCKS_PASS }); async function connect() { try { await client.connect(); console.log('Connected to MongoDB Atlas through QuotaGuard'); const db = client.db('mydb'); const collection = db.collection('users'); // Your database operations here const users = await collection.find({}).limit(10).toArray(); console.log('Found users:', users.length); } catch (err) { console.error('Connection error:', err); } } connect(); . ",
    "url": "/docs/databases/mongodb/atlas-integration/#nodejs-with-native-mongodb-driver",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#nodejs-with-native-mongodb-driver"
  },"44": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Python with PyMongo",
    "content": "Install PySocks for SOCKS5 support: . pip install pymongo PySocks . Configure the SOCKS proxy before creating the MongoClient: . import os import socks import socket from pymongo import MongoClient # Configure SOCKS5 proxy globally socks.set_default_proxy( socks.SOCKS5, os.environ.get('QUOTAGUARD_SOCKS_HOST'), int(os.environ.get('QUOTAGUARD_SOCKS_PORT', 1080)), username=os.environ.get('QUOTAGUARD_SOCKS_USER'), password=os.environ.get('QUOTAGUARD_SOCKS_PASS') ) socket.socket = socks.socksocket # Now create your MongoDB client # All connections will route through the SOCKS5 proxy client = MongoClient(os.environ.get('MONGODB_URI')) # Test the connection try: # The ping command is cheap and doesn't require authentication client.admin.command('ping') print('Connected to MongoDB Atlas through QuotaGuard') except Exception as e: print(f'Connection error: {e}') # Use your database db = client['mydb'] users = db['users'] # Example query for user in users.find().limit(10): print(user) . Important: The socks.set_default_proxy() call affects all socket connections in your Python process. If you need to proxy only MongoDB connections, use a more targeted approach or separate your application logic. ",
    "url": "/docs/databases/mongodb/atlas-integration/#python-with-pymongo",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#python-with-pymongo"
  },"45": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Go with mongo-go-driver",
    "content": "Go’s MongoDB driver supports custom dialers. You can use a SOCKS5 dialer: . package main import ( \"context\" \"fmt\" \"log\" \"net\" \"os\" \"time\" \"go.mongodb.org/mongo-driver/mongo\" \"go.mongodb.org/mongo-driver/mongo/options\" \"golang.org/x/net/proxy\" ) func main() { // Build SOCKS5 proxy dialer socksHost := os.Getenv(\"QUOTAGUARD_SOCKS_HOST\") socksPort := os.Getenv(\"QUOTAGUARD_SOCKS_PORT\") socksUser := os.Getenv(\"QUOTAGUARD_SOCKS_USER\") socksPass := os.Getenv(\"QUOTAGUARD_SOCKS_PASS\") auth := &amp;proxy.Auth{ User: socksUser, Password: socksPass, } dialer, err := proxy.SOCKS5(\"tcp\", fmt.Sprintf(\"%s:%s\", socksHost, socksPort), auth, proxy.Direct) if err != nil { log.Fatal(\"Failed to create SOCKS5 dialer:\", err) } // Create custom dialer function for MongoDB customDialer := func(ctx context.Context, network, address string) (net.Conn, error) { return dialer.Dial(network, address) } // Configure MongoDB client with custom dialer clientOptions := options.Client(). ApplyURI(os.Getenv(\"MONGODB_URI\")). SetDialer(&amp;customDialerWrapper{dial: customDialer}) ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() client, err := mongo.Connect(ctx, clientOptions) if err != nil { log.Fatal(\"Failed to connect:\", err) } // Test the connection err = client.Ping(ctx, nil) if err != nil { log.Fatal(\"Failed to ping:\", err) } fmt.Println(\"Connected to MongoDB Atlas through QuotaGuard\") // Use your database collection := client.Database(\"mydb\").Collection(\"users\") cursor, err := collection.Find(ctx, map[string]interface{}{}) if err != nil { log.Fatal(\"Query error:\", err) } defer cursor.Close(ctx) for cursor.Next(ctx) { var result map[string]interface{} cursor.Decode(&amp;result) fmt.Println(result) } } // customDialerWrapper implements the options.ContextDialer interface type customDialerWrapper struct { dial func(ctx context.Context, network, address string) (net.Conn, error) } func (d *customDialerWrapper) DialContext(ctx context.Context, network, address string) (net.Conn, error) { return d.dial(ctx, network, address) } . Install the proxy package: . go get golang.org/x/net/proxy . ",
    "url": "/docs/databases/mongodb/atlas-integration/#go-with-mongo-go-driver",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#go-with-mongo-go-driver"
  },"46": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Ruby with Mongoid",
    "content": "Ruby’s MongoDB driver can use SOCKS proxies through the socksify gem: . gem install mongo socksify . Configure in your application: . require 'mongo' require 'socksify' # Configure SOCKS proxy socks_host = ENV['QUOTAGUARD_SOCKS_HOST'] socks_port = ENV['QUOTAGUARD_SOCKS_PORT'].to_i socks_user = ENV['QUOTAGUARD_SOCKS_USER'] socks_pass = ENV['QUOTAGUARD_SOCKS_PASS'] # Set up SOCKS proxy with authentication TCPSocket.socks_server = socks_host TCPSocket.socks_port = socks_port TCPSocket.socks_username = socks_user TCPSocket.socks_password = socks_pass # Connect to MongoDB client = Mongo::Client.new(ENV['MONGODB_URI']) # Test the connection begin client.database.command(ping: 1) puts 'Connected to MongoDB Atlas through QuotaGuard' rescue =&gt; e puts \"Connection error: #{e.message}\" end # Use your database db = client.database users = db[:users] users.find.limit(10).each do |user| puts user end . For Mongoid (Rails ORM), configure the SOCKS proxy in an initializer that runs before Mongoid connects: . # config/initializers/socks_proxy.rb require 'socksify' if ENV['QUOTAGUARD_SOCKS_HOST'].present? TCPSocket.socks_server = ENV['QUOTAGUARD_SOCKS_HOST'] TCPSocket.socks_port = ENV['QUOTAGUARD_SOCKS_PORT'].to_i TCPSocket.socks_username = ENV['QUOTAGUARD_SOCKS_USER'] TCPSocket.socks_password = ENV['QUOTAGUARD_SOCKS_PASS'] end . ",
    "url": "/docs/databases/mongodb/atlas-integration/#ruby-with-mongoid",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#ruby-with-mongoid"
  },"47": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Java",
    "content": "Java’s MongoDB driver can use SOCKS proxies through system properties or a custom socket factory: . import com.mongodb.ConnectionString; import com.mongodb.MongoClientSettings; import com.mongodb.client.MongoClient; import com.mongodb.client.MongoClients; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoDatabase; import org.bson.Document; import java.net.Authenticator; import java.net.PasswordAuthentication; public class MongoDBConnection { public static void main(String[] args) { // Configure SOCKS proxy via system properties String socksHost = System.getenv(\"QUOTAGUARD_SOCKS_HOST\"); String socksPort = System.getenv(\"QUOTAGUARD_SOCKS_PORT\"); String socksUser = System.getenv(\"QUOTAGUARD_SOCKS_USER\"); String socksPass = System.getenv(\"QUOTAGUARD_SOCKS_PASS\"); System.setProperty(\"socksProxyHost\", socksHost); System.setProperty(\"socksProxyPort\", socksPort); // Set up authentication for the SOCKS proxy Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() { if (getRequestingHost().equals(socksHost)) { return new PasswordAuthentication(socksUser, socksPass.toCharArray()); } return null; } }); // Configure and create MongoDB client String mongoUri = System.getenv(\"MONGODB_URI\"); ConnectionString connectionString = new ConnectionString(mongoUri); MongoClientSettings settings = MongoClientSettings.builder() .applyConnectionString(connectionString) .build(); try (MongoClient client = MongoClients.create(settings)) { // Test the connection MongoDatabase database = client.getDatabase(\"mydb\"); Document ping = database.runCommand(new Document(\"ping\", 1)); System.out.println(\"Connected to MongoDB Atlas through QuotaGuard\"); // Use your database MongoCollection&lt;Document&gt; users = database.getCollection(\"users\"); for (Document user : users.find().limit(10)) { System.out.println(user.toJson()); } } catch (Exception e) { System.err.println(\"Connection error: \" + e.getMessage()); } } } . ",
    "url": "/docs/databases/mongodb/atlas-integration/#java",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#java"
  },"48": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Using QGTunnel (Transparent Proxying)",
    "content": "QGTunnel is a wrapper process that creates local port mappings. Your application connects to localhost, and QGTunnel handles the SOCKS5 proxying transparently. This approach requires no code changes. ",
    "url": "/docs/databases/mongodb/atlas-integration/#using-qgtunnel-transparent-proxying",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#using-qgtunnel-transparent-proxying"
  },"49": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 1: Download QGTunnel",
    "content": "curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . This creates bin/qgtunnel and supporting files in vendor/nss_wrapper/. ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-1-download-qgtunnel",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-1-download-qgtunnel"
  },"50": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 2: Configure Tunnel in QuotaGuard Dashboard",
    "content": ". | Open your QuotaGuard dashboard | Navigate to Settings &gt; Setup &gt; Tunnel &gt; Create Tunnel | Configure for MongoDB Atlas: | . | Setting | Value | . | Remote Destination | tcp://cluster0-shard-00-00.xxxxx.mongodb.net:27017 | . | Local Port | 27017 | . | Transparent | false | . | Encrypted | false | . Important: You need to create a tunnel entry for each shard/node in your Atlas cluster. For a replica set with 3 nodes, create 3 tunnel entries. To find your cluster hostnames: . | In Atlas, click Connect on your cluster | Select Connect your application | The connection string contains hostnames like cluster0-shard-00-00.xxxxx.mongodb.net | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-2-configure-tunnel-in-quotaguard-dashboard",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-2-configure-tunnel-in-quotaguard-dashboard"
  },"51": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 3: Download Configuration File",
    "content": ". | In your QuotaGuard dashboard, go to Tunnel &gt; Download configuration | Save as .qgtunnel in your project root | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-3-download-configuration-file",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-3-download-configuration-file"
  },"52": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 4: Update Your Connection String",
    "content": "With QGTunnel in non-transparent mode, modify your MongoDB connection string to use localhost: . Original (Atlas connection string): . mongodb+srv://user:pass@cluster0.xxxxx.mongodb.net/mydb . Modified (connecting through QGTunnel): . mongodb://user:pass@localhost:27017/mydb?directConnection=true . Note: When using QGTunnel, you typically connect directly to a single node rather than using the mongodb+srv:// connection string format. This is because QGTunnel maps specific remote hosts to local ports. ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-4-update-your-connection-string",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-4-update-your-connection-string"
  },"53": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Step 5: Run Your Application with QGTunnel",
    "content": "Development: . bin/qgtunnel node server.js . Heroku (Procfile): . web: bin/qgtunnel node server.js . Docker: . ENTRYPOINT [\"/app/bin/qgtunnel\"] CMD [\"node\", \"server.js\"] . ",
    "url": "/docs/databases/mongodb/atlas-integration/#step-5-run-your-application-with-qgtunnel",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#step-5-run-your-application-with-qgtunnel"
  },"54": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "When to Use QGTunnel vs Direct SOCKS Configuration",
    "content": "| Approach | Best For | . | Direct SOCKS in code | Single database connection, modern driver with good proxy support | . | QGTunnel | Multiple databases, legacy code, languages without good SOCKS library support | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#when-to-use-qgtunnel-vs-direct-socks-configuration",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#when-to-use-qgtunnel-vs-direct-socks-configuration"
  },"55": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Testing Your Implementation",
    "content": " ",
    "url": "/docs/databases/mongodb/atlas-integration/#testing-your-implementation",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#testing-your-implementation"
  },"56": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Verify MongoDB Connection",
    "content": "Once configured, test that your connection works: . The Node.js check below uses the same Static SOCKS5 configuration and package requirements as the native-driver example above. Node.js: . const { MongoClient } = require('mongodb'); async function testConnection() { const client = new MongoClient(process.env.MONGODB_URI, { proxyHost: process.env.QUOTAGUARD_SOCKS_HOST, proxyPort: Number(process.env.QUOTAGUARD_SOCKS_PORT || 1080), proxyUsername: process.env.QUOTAGUARD_SOCKS_USER, proxyPassword: process.env.QUOTAGUARD_SOCKS_PASS }); try { await client.connect(); await client.db('admin').command({ ping: 1 }); console.log('Successfully connected to MongoDB Atlas through QuotaGuard'); } catch (err) { console.error('Connection failed:', err.message); } finally { await client.close(); } } testConnection(); . Python: . from pymongo import MongoClient import os client = MongoClient(os.environ.get('MONGODB_URI')) try: client.admin.command('ping') print('Successfully connected to MongoDB Atlas through QuotaGuard') except Exception as e: print(f'Connection failed: {e}') . ",
    "url": "/docs/databases/mongodb/atlas-integration/#verify-mongodb-connection",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#verify-mongodb-connection"
  },"57": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Verify IP Address (Optional)",
    "content": "You can check the outbound IP used by an HTTP request through QuotaGuard with the example below. This HTTP check does not verify MongoDB’s proxy route. import requests import os # Using your same application's outbound IP check proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') proxies = {'http': proxy_url, 'https': proxy_url} response = requests.get('https://ip.quotaguard.com', proxies=proxies) print(f'Your outbound IP: {response.json()[\"ip\"]}') . The IP should match one of your QuotaGuard static IPs shown in the dashboard. ",
    "url": "/docs/databases/mongodb/atlas-integration/#verify-ip-address-optional",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#verify-ip-address-optional"
  },"58": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds a network hop to your database connections: . | Configuration | Added Latency | . | Same region (App + QuotaGuard + Atlas in us-east-1) | 5-15ms | . | Cross-region | 50-150ms | . MongoDB operations are typically sensitive to latency. For best performance: . | Match all three regions: Your application, QuotaGuard proxy, and Atlas cluster should all be in the same region | Use connection pooling: Let your MongoDB driver maintain persistent connections rather than reconnecting for each operation | Consider read preferences: For read-heavy workloads, configure read preferences appropriately | . For most applications, the 5-15ms added latency is negligible compared to query execution time and network variability. ",
    "url": "/docs/databases/mongodb/atlas-integration/#latency-considerations",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#latency-considerations"
  },"59": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/databases/mongodb/atlas-integration/#troubleshooting",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#troubleshooting"
  },"60": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "MongoServerSelectionError: Could not connect to any servers",
    "content": "Symptoms: . MongoServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Causes and solutions: . | QuotaGuard IPs not added to Atlas: Verify both IPs are in your IP Access List with “Active” status | Wrong SOCKS port: QuotaGuard SOCKS is on port 1080, not 9293 (HTTP proxy port) | SOCKS proxy not configured in code: Verify your proxy configuration is actually being applied | 0.0.0.0/0 removed but QuotaGuard IPs not added yet: Add the IPs before removing the wildcard | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#mongoserverselectionerror-could-not-connect-to-any-servers",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#mongoserverselectionerror-could-not-connect-to-any-servers"
  },"61": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Authentication Failed",
    "content": "Symptoms: . MongoError: Authentication failed . This is a MongoDB authentication error, not a proxy issue. Verify: . | Your MongoDB username and password are correct | The user has access to the database you are connecting to | The authentication database is correct (usually admin) | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#authentication-failed",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#authentication-failed"
  },"62": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Connection Timeout",
    "content": "Symptoms: . MongoNetworkError: connection timed out . Causes and solutions: . | Wrong QuotaGuard region: If your proxy is in a different region than Atlas, timeouts may occur. Match regions. | SOCKS credentials incorrect: Double-check username and password | Firewall blocking port 1080: Ensure your application can reach QuotaGuard on port 1080 | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#connection-timeout",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#connection-timeout"
  },"63": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "SOCKS Proxy Authentication Required",
    "content": "Symptoms: . Error: SOCKS authentication failed . Causes: . | Username or password is incorrect | Credentials contain special characters that need encoding | Wrong SOCKS version (use SOCKS5, not SOCKS4) | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#socks-proxy-authentication-required",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#socks-proxy-authentication-required"
  },"64": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "QGTunnel: Configuration Not Found",
    "content": "Symptoms: . qgtunnel: error: configuration file not found . Solution: . | Verify .qgtunnel file exists in your project root | Check file permissions | For production, consider downloading the config file rather than relying on API fetch at startup | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#qgtunnel-configuration-not-found",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#qgtunnel-configuration-not-found"
  },"65": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "QGTunnel: Connection Refused to localhost",
    "content": "Symptoms: . MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 . Causes: . | QGTunnel is not running or not started properly | Tunnel configuration does not include the correct local port | Application started before QGTunnel finished initialization | . Solution: Ensure QGTunnel is the entrypoint for your process so it starts before your application code runs. ",
    "url": "/docs/databases/mongodb/atlas-integration/#qgtunnel-connection-refused-to-localhost",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#qgtunnel-connection-refused-to-localhost"
  },"66": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Environment Variables Reference",
    "content": "Set these environment variables in your application: . # For HTTP proxy (port 9293) - used for HTTP/HTTPS requests QUOTAGUARDSTATIC_URL=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 # For SOCKS5 proxy (port 1080) - used for MongoDB and other TCP connections QUOTAGUARD_SOCKS_HOST=&lt;your-quotaguard-proxy-host&gt; QUOTAGUARD_SOCKS_PORT=1080 QUOTAGUARD_SOCKS_USER=your-username QUOTAGUARD_SOCKS_PASS=your-password # Your MongoDB Atlas connection string MONGODB_URI=mongodb+srv://user:pass@cluster0.xxxxx.mongodb.net/mydb?retryWrites=true&amp;w=majority . ",
    "url": "/docs/databases/mongodb/atlas-integration/#environment-variables-reference",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#environment-variables-reference"
  },"67": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Security Best Practices",
    "content": ". | Never commit credentials to source control: Use environment variables or secrets management | Remove 0.0.0.0/0 from your IP Access List: The whole point is to avoid this | Use database user permissions: Grant only the permissions each user needs | Enable Atlas audit logging: Track who accesses your database and when | Rotate credentials periodically: Both MongoDB and QuotaGuard credentials | . ",
    "url": "/docs/databases/mongodb/atlas-integration/#security-best-practices",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#security-best-practices"
  },"68": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "QuotaGuard offers two products: . | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Encryption | Outbound HTTPS travels in a blind CONNECT tunnel; payload never decrypted. The app-to-proxy hop uses the plain HTTP proxy protocol | Outbound HTTPS travels in a blind CONNECT tunnel; payload never decrypted. The app-to-proxy hop is encrypted with TLS | . | Best for | General database access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . MongoDB Atlas connections are already encrypted with TLS. QuotaGuard Static is sufficient for most use cases. Choose Shield if your compliance requirements mandate end-to-end encryption through all intermediary systems. For Shield, use the documented QGTunnel setup for MongoDB; changing the port alone does not add the TLS connection to the proxy. ",
    "url": "/docs/databases/mongodb/atlas-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#quotaguard-static-vs-quotaguard-shield"
  },"69": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Stop using 0.0.0.0/0. Get proper network security for your MongoDB Atlas cluster. Try QuotaGuard Now . View MongoDB Integration Features . Contact Support . ",
    "url": "/docs/databases/mongodb/atlas-integration/#ready-to-get-started",
    "relUrl": "/docs/databases/mongodb/atlas-integration/#ready-to-get-started"
  },"70": {
    "doc": "QuotaGuard and MongoDB Atlas Integration Guide",
    "title": "QuotaGuard and MongoDB Atlas Integration Guide",
    "content": "QuotaGuard Static IPs allow your cloud applications to connect to MongoDB Atlas through a load-balanced pair of static IP addresses. Once set up, you can add just two IPs to your Atlas IP Access List instead of opening your database to the entire internet. You do not need QuotaGuard for local development or applications running on infrastructure with stable IPs. QuotaGuard is specifically for cloud platforms like Heroku, Render, Fly.io, serverless functions, and Kubernetes where outbound IPs are dynamic and unpredictable. ",
    "url": "/docs/databases/mongodb/atlas-integration/",
    "relUrl": "/docs/databases/mongodb/atlas-integration/"
  },"71": {
    "doc": "What Analytics are Available?",
    "title": "Logs",
    "content": "You can view your logs at the Log Viewer Screen and adjust for different ranges. We provide some default ranges for you, but you can pull up your own customized date ranges too. You can also request log exports for a specific time period at the same page. Just click on “Request Export”. We typically turn these requests around within an hour of your request. We aim to add response code data for better error tracking soon. Need more granular data or help debugging usage? Send us a ticket at Support and we’ll get you what you need. ",
    "url": "/docs/account/analytics/available-analytics/#logs",
    "relUrl": "/docs/account/analytics/available-analytics/#logs"
  },"72": {
    "doc": "What Analytics are Available?",
    "title": "What Analytics are Available?",
    "content": "We currently retain the number of hits you make to each API and the cumulative bandwidth used at various granularities. You can see the analytics by logging into your QG Admin account. Via your dashboard, you can see a real-time view of daily data, 7 days of hourly data and 24 hours of minute-by-minute data. ",
    "url": "/docs/account/analytics/available-analytics/",
    "relUrl": "/docs/account/analytics/available-analytics/"
  },"73": {
    "doc": "QGTunnel Setup Guide for AWS and HTTPS",
    "title": "QGTunnel Setup Guide for AWS and HTTPS",
    "content": "If you’re looking to set up QGTunnel for HTTPS connections on QuotaGuard on Amazon Web Services (AWS), we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:443 Local Port: 4443 Transparent: true Encrypted: false . This setup assumes that the remote HTTPS server is located at hostname.for.your.server.com and is listening on port 443. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 4443, because port 443 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. You will likely require transparent mode for HTTPS connections, as most certificates are signed by hostname and will require the HTTP request to be bound for that hostname. Encrypted mode is disabled because HTTPS is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . Given the example above, you will now need to connect using the new port number in your URL. For example, if you previously were trying to connect to: . https://hostname.for.your.server.com/some/long/path?var=1&amp;var2=3 . Now you will want to connect to: . https://hostname.for.your.server.com:4443/some/long/path?var=1&amp;var2=3 . Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS HTTPS connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/https-tunneling/aws-tunnel-setup/",
    "relUrl": "/docs/protocols/https-tunneling/aws-tunnel-setup/"
  },"74": {
    "doc": "QGTunnel Setup Guide for AWS and SFTP",
    "title": "QGTunnel Setup Guide for AWS and SFTP",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) with a SFTP connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:22 Local Port: 2222 Transparent: true Encrypted: false . This setup assumes that the remote SFTP server is located at hostname.for.your.server.com and is listening on port 22. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2222, because port 22 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled because SFTP is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2222 instead of 22. You can also connect to 127.0.0.1:2222. Without transparent mode, you will want to connect to 127.0.0.1:2222. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS SFTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/sftp/aws-tunnel-setup/",
    "relUrl": "/docs/protocols/sftp/aws-tunnel-setup/"
  },"75": {
    "doc": "QGTunnel Setup Guide for AWS and FTP",
    "title": "QGTunnel Setup Guide for AWS and FTP",
    "content": "If you’re looking to set up QGTunnel for FTP connections for QuotaGuard on Amazon Web Services (AWS), we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:21 Local Port: 2121 Transparent: true Encrypted: false . This setup assumes that the remote FTP server is located at hostname.for.your.server.com and is listening on port 21. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2121, because port 21 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled in this example. Keep in mind that plain FTP is not encrypted, so credentials and data travel in cleartext. If you are transferring sensitive data, enable Encrypted mode, or use SFTP or FTPS for end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2121 instead of 21. You can also connect to 127.0.0.1:2121. Without transparent mode, you will want to connect to 127.0.0.1:2121. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS FTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/ftp/aws-tunnel-setup/",
    "relUrl": "/docs/protocols/ftp/aws-tunnel-setup/"
  },"76": {
    "doc": "QGTunnel Setup Guide for AWS and SMTP",
    "title": "QGTunnel Setup Guide for AWS and SMTP",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) with a SMTP endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:25 Local Port: 2525 Transparent: true Encrypted: false . This setup assumes that the remote SMTP server is located at hostname.for.your.server.com and is listening on port 25. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2525, because port 25 is in the reserved port range (0-1023) and may not be accessible on your platform. Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end for protocols that are not encrypted already. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2525 instead of 25. You can also connect to 127.0.0.1:2525. Without transparent mode, you will want to connect to 127.0.0.1:2525. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS SMTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/smtp/aws-tunnel-setup/",
    "relUrl": "/docs/protocols/smtp/aws-tunnel-setup/"
  },"77": {
    "doc": "QGTunnel Setup Guide for AWS and MySQL",
    "title": "QGTunnel Setup Guide for AWS and MySQL",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) with a MySQL endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MySQL server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MySQL is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS MySQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mysql/aws-tunnel-setup/",
    "relUrl": "/docs/databases/mysql/aws-tunnel-setup/"
  },"78": {
    "doc": "QGTunnel AWS PostGres Database Connection Setup Guide",
    "title": "QGTunnel AWS PostGres Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) with a PostGres (PostgreSQL) endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:5432 Local Port: 5432 Transparent: true Encrypted: false . This setup assumes that the remote postgresql server is located at hostname.for.your.server.com and is listening on port 5432. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 5432, but if you have another process using 5432, you may have to change it (ie: 5433). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe Postgresql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:5432. Without transparent mode, you will want to connect to 127.0.0.1:5432. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS Postgres connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/postgresql/aws-tunnel-setup/",
    "relUrl": "/docs/databases/postgresql/aws-tunnel-setup/"
  },"79": {
    "doc": "QGTunnel AWS Oracle Database Connection Setup Guide",
    "title": "QGTunnel AWS Oracle Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) for Oracle Database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1521 Local Port: 1521 Transparent: true Encrypted: false . This setup assumes that the remote Oracle database server is located at hostname.for.your.server.com and is listening on port 1521. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1521, but if you have another process using 1521, you may have to change it (ie: 1522). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe oracle database connections are already encrypted but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1521. Without transparent mode, you will want to connect to 127.0.0.1:1521. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS Oracle connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/oracle/aws-tunnel-setup/",
    "relUrl": "/docs/databases/oracle/aws-tunnel-setup/"
  },"80": {
    "doc": "QGTunnel Setup Guide for AWS and MongoDB",
    "title": "QGTunnel Setup Guide for AWS and MongoDB",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) with a MongoDB endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. A Note About Mongodb+Srv URL . If you are connecting with a mongodb+srv URL (eg: mongodb+srv://USERNAME:PASSWORD@cluster0.abc123.mongodb.net/DATABASE?option1=value1) then you can lookup your cluster’s shards here: https://www.whatsmydns.net/dns-lookup/srv-records. Be sure to prepend your cluster address with mongodb._tcp (_eg: _mongodb._tcp.cluster0.abc123.mongodb.net). This will produce the hostnames of your shards (_eg: cluster0-shard-00-00.abc123.mongodb.net, cluster0-shard-00-01.abc123.mongodb.net, and cluster0-shard-00-02.abc123.mongodb.net_). You will then need to create a tunnel for each shard. Copy Remote Destinations: * tcp://cluster0-shard-00-00.abc123.mongodb.net:27017 * tcp://cluster0-shard-00-01.abc123.mongodb.net:27017 ​* tcp://cluster0-shard-00-02.abc123.mongodb.net:27017 Local Port: 27017 Transparent: true Encrypted: false . This setup assumes that the remote mongodb server is listening on port 27017. This is usually the default port. Transparent mode allows QGTunnel to override the DNS for cluster0-shard-00-0X.abc123.mongodb.net to localhost, which redirects traffic to the QGTunnel software. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mongodb is already encrypted, but you should double check. Not using mongodb+srv? . If you are not using a mongodb+srv URL, please let us know what your connection URL looks like and we can help you set that up too. Send us an email at QuotaGuard Support. Step 3: Change Your Code to Connect Through the Tunnel . In most other setups for QGTunnel, you have to change your code at this step, however with transparent mode and matching Local and Remote ports you should not need to change your code. And there was much rejoicing… . Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . Setup the environment variable QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL to be equal to your Connection URL in the Setup page of our dashboard. Be sure to use the QUOTAGUARDSHIELD_URL for QuotaGuard Shield subscriptions and QUOTAGUARDSTATIC_URL for QuotaGuard Static subscriptions. If you added us from a cloud provider, like AWS, then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs will work. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS MongoDB database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mongodb/aws-tunnel-setup/",
    "relUrl": "/docs/databases/mongodb/aws-tunnel-setup/"
  },"81": {
    "doc": "QGTunnel Setup Guide for AWS and MsSQL",
    "title": "QGTunnel Setup Guide for AWS and MsSQL",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) with a MsSQL endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1433 Local Port: 1433 Transparent: true Encrypted: false . This setup assumes that the remote mssql server is located at hostname.for.your.server.com and is listening on port 1433. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1433, but if you have another process using 1433, you may have to change it (ie: 1434). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mssql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1433. Without transparent mode, you will want to connect to 127.0.0.1:1433. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS MsSQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mssql/aws-tunnel-setup/",
    "relUrl": "/docs/databases/mssql/aws-tunnel-setup/"
  },"82": {
    "doc": "QGTunnel AWS MariaDB Connection Setup Guide",
    "title": "QGTunnel AWS MariaDB Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard on Amazon Web Services (AWS) for MariaDB Database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MariaDB server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MariaDB is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (AWS, Azure, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for AWS MariaDB connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mariadb/aws-tunnel-setup/",
    "relUrl": "/docs/databases/mariadb/aws-tunnel-setup/"
  },"83": {
    "doc": "QGTunnel Setup Guide for Azure and HTTPS",
    "title": "QGTunnel Setup Guide for Azure and HTTPS",
    "content": "If you’re looking to set up QGTunnel for HTTPS connections using QuotaGuard via Microsoft Azure, we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:443 Local Port: 4443 Transparent: true Encrypted: false . This setup assumes that the remote HTTPS server is located at hostname.for.your.server.com and is listening on port 443. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 4443, because port 443 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. You will likely require transparent mode for HTTPS connections, as most certificates are signed by hostname and will require the HTTP request to be bound for that hostname. Encrypted mode is disabled because HTTPS is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . Given the example above, you will now need to connect using the new port number in your URL. For example, if you previously were trying to connect to: . https://hostname.for.your.server.com/some/long/path?var=1&amp;var2=3 . Now you will want to connect to: . https://hostname.for.your.server.com:4443/some/long/path?var=1&amp;var2=3 . Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure HTTPS connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/https-tunneling/azure-tunnel-setup/",
    "relUrl": "/docs/protocols/https-tunneling/azure-tunnel-setup/"
  },"84": {
    "doc": "QGTunnel Setup Guide for Azure and SFTP",
    "title": "QGTunnel Setup Guide for Azure and SFTP",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure with SFTP, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:22 Local Port: 2222 Transparent: true Encrypted: false . This setup assumes that the remote SFTP server is located at hostname.for.your.server.com and is listening on port 22. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2222, because port 22 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled because SFTP is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2222 instead of 22. You can also connect to 127.0.0.1:2222. Without transparent mode, you will want to connect to 127.0.0.1:2222. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure SFTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/sftp/azure-tunnel-setup/",
    "relUrl": "/docs/protocols/sftp/azure-tunnel-setup/"
  },"85": {
    "doc": "QGTunnel Setup Guide for Azure and FTP",
    "title": "QGTunnel Setup Guide for Azure and FTP",
    "content": "If you’re looking to set up QGTunnel for FTP connections for QuotaGuard via Microsoft Azure, we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:21 Local Port: 2121 Transparent: true Encrypted: false . This setup assumes that the remote FTP server is located at hostname.for.your.server.com and is listening on port 21. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2121, because port 21 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled in this example. Keep in mind that plain FTP is not encrypted, so credentials and data travel in cleartext. If you are transferring sensitive data, enable Encrypted mode, or use SFTP or FTPS for end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2121 instead of 21. You can also connect to 127.0.0.1:2121. Without transparent mode, you will want to connect to 127.0.0.1:2121. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push Your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure FTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/ftp/azure-tunnel-setup/",
    "relUrl": "/docs/protocols/ftp/azure-tunnel-setup/"
  },"86": {
    "doc": "QGTunnel Setup Guide for Azure and SMTP",
    "title": "QGTunnel Setup Guide for Azure and SMTP",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure with a SMTP endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:25 Local Port: 2525 Transparent: true Encrypted: false . This setup assumes that the remote SMTP server is located at hostname.for.your.server.com and is listening on port 25. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2525, because port 25 is in the reserved port range (0-1023) and may not be accessible on your platform. Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end for protocols that are not encrypted already. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2525 instead of 25. You can also connect to 127.0.0.1:2525. Without transparent mode, you will want to connect to 127.0.0.1:2525. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure SMTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/smtp/azure-tunnel-setup/",
    "relUrl": "/docs/protocols/smtp/azure-tunnel-setup/"
  },"87": {
    "doc": "QGTunnel Setup Guide for Azure and MySQL",
    "title": "QGTunnel Setup Guide for Azure and MySQL",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure with a MySQL endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MySQL server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MySQL is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure MySQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mysql/azure-tunnel-setup/",
    "relUrl": "/docs/databases/mysql/azure-tunnel-setup/"
  },"88": {
    "doc": "QGTunnel Azure Postgres Database Connection Setup Guide",
    "title": "QGTunnel Azure Postgres Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure with a PostGres (PostgreSQL) endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:5432 Local Port: 5432 Transparent: true Encrypted: false . This setup assumes that the remote postgresql server is located at hostname.for.your.server.com and is listening on port 5432. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 5432, but if you have another process using 5432, you may have to change it (ie: 5433). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe Postgresql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:5432. Without transparent mode, you will want to connect to 127.0.0.1:5432. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure Postgres database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/postgresql/azure-tunnel-setup/",
    "relUrl": "/docs/databases/postgresql/azure-tunnel-setup/"
  },"89": {
    "doc": "QGTunnel Azure Oracle Database Connection Setup Guide",
    "title": "QGTunnel Azure Oracle Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure for Oracle Database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1521 Local Port: 1521 Transparent: true Encrypted: false . This setup assumes that the remote Oracle database server is located at hostname.for.your.server.com and is listening on port 1521. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1521, but if you have another process using 1521, you may have to change it (ie: 1522). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe oracle database connections are already encrypted but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1521. Without transparent mode, you will want to connect to 127.0.0.1:1521. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure Oracle database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/oracle/azure-tunnel-setup/",
    "relUrl": "/docs/databases/oracle/azure-tunnel-setup/"
  },"90": {
    "doc": "QGTunnel Setup Guide for Azure and MongoDB",
    "title": "QGTunnel Setup Guide for Azure and MongoDB",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure with a MongoDB endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. A Note About Mongodb+Srv URL . If you are connecting with a mongodb+srv URL (eg: mongodb+srv://USERNAME:PASSWORD@cluster0.abc123.mongodb.net/DATABASE?option1=value1) then you can lookup your cluster’s shards here: https://www.whatsmydns.net/dns-lookup/srv-records. Be sure to prepend your cluster address with mongodb._tcp (_eg: _mongodb._tcp.cluster0.abc123.mongodb.net). This will produce the hostnames of your shards (_eg: cluster0-shard-00-00.abc123.mongodb.net, cluster0-shard-00-01.abc123.mongodb.net, and cluster0-shard-00-02.abc123.mongodb.net_). You will then need to create a tunnel for each shard. Copy Remote Destinations: * tcp://cluster0-shard-00-00.abc123.mongodb.net:27017 * tcp://cluster0-shard-00-01.abc123.mongodb.net:27017 ​* tcp://cluster0-shard-00-02.abc123.mongodb.net:27017 Local Port: 27017 Transparent: true Encrypted: false . This setup assumes that the remote mongodb server is listening on port 27017. This is usually the default port. Transparent mode allows QGTunnel to override the DNS for cluster0-shard-00-0X.abc123.mongodb.net to localhost, which redirects traffic to the QGTunnel software. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mongodb is already encrypted, but you should double check. Not using mongodb+srv? . If you are not using a mongodb+srv URL, please let us know what your connection URL looks like and we can help you set that up too. Send us an email at QuotaGuard Support. Step 3: Change Your Code to Connect Through the Tunnel . In most other setups for QGTunnel, you have to change your code at this step, however with transparent mode and matching Local and Remote ports you should not need to change your code. And there was much rejoicing… . Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . Setup the environment variable QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL to be equal to your Connection URL in the Setup page of our dashboard. Be sure to use the QUOTAGUARDSHIELD_URL for QuotaGuard Shield subscriptions and QUOTAGUARDSTATIC_URL for QuotaGuard Static subscriptions. If you added us from a cloud provider, like Azure, then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs will work. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure MongoDB database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mongodb/azure-tunnel-setup/",
    "relUrl": "/docs/databases/mongodb/azure-tunnel-setup/"
  },"91": {
    "doc": "QGTunnel Setup Guide for Azure and MsSQL",
    "title": "QGTunnel Setup Guide for Azure and MsSQL",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure with a MsSQL endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1433 Local Port: 1433 Transparent: true Encrypted: false . This setup assumes that the remote mssql server is located at hostname.for.your.server.com and is listening on port 1433. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1433, but if you have another process using 1433, you may have to change it (ie: 1434). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mssql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1433. Without transparent mode, you will want to connect to 127.0.0.1:1433. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure MsSQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mssql/azure-tunnel-setup/",
    "relUrl": "/docs/databases/mssql/azure-tunnel-setup/"
  },"92": {
    "doc": "QGTunnel Azure MariaDB Database Connection Setup Guide",
    "title": "QGTunnel Azure MariaDB Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard via Microsoft Azure for MariaDB Database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MariaDB server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MariaDB is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, AWS, CloudFoundry, Heroku, Render, GCP, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Azure MariaDB database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mariadb/azure-tunnel-setup/",
    "relUrl": "/docs/databases/mariadb/azure-tunnel-setup/"
  },"93": {
    "doc": "How to Connect Block.io API via a Heroku App",
    "title": "How to Connect Block.io API via a Heroku App",
    "content": "Are you trying to connect Block.io API via your Heroku app? You’ve found the right article. Here is an example of how to use block.io with a proxy: . https://github.com/BlockIo/gem-block-io/blob/master/examples/proxy.rb . You would need to modify that example as such: . Copy proxy = URI(ENV[\"QUOTAGUARDSTATIC_URL\"]) blockio = BlockIo::Client.new(:api_key =&gt; ENV['API_KEY'], :pin =&gt; ENV['PIN'], :version =&gt; 2, :proxy =&gt; { hostname: proxy.host, port: proxy.port, username: proxy.user, password: proxy.password } ) . If you’re still having issues, please contact us at Support so we can help! . ",
    "url": "/docs/outbound-proxy/ruby/block-io-api/",
    "relUrl": "/docs/outbound-proxy/ruby/block-io-api/"
  },"94": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "The Bloomberg Data License API Rejects Non-Allowlisted IPs",
    "content": "The Hypermedia API enforces a customer-controlled IP allowlist. Every request must originate from an IP registered in your Bloomberg Enterprise Console, under the Web API Connectivity Policy for your Web API application. There are two failure signatures: . | A 401 whose detail states the IP is not whitelisted. | On the OAuth host, a connection that completes the TLS handshake and is then closed before any HTTP response. Your client reports a dropped socket with no status code, which looks like a network bug rather than an access decision. | . Cloud platforms like Replit, Vercel, and AWS Lambda assign a rotating outbound IP, so even after you register an address, your next request leaves from a different one and gets rejected. The fix is two IPs that stay on the list. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#the-bloomberg-data-license-api-rejects-non-allowlisted-ips",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#the-bloomberg-data-license-api-rejects-non-allowlisted-ips"
  },"95": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your application runs. The region is set at sign-up. Changes after sign-up require contacting support. Keep your proxy URL and Bloomberg credentials in environment variables: . QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" BLOOMBERG_CLIENT_ID=\"from-your-bloomberg-credential-file\" BLOOMBERG_CLIENT_SECRET=\"from-your-bloomberg-credential-file\" . ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#getting-started",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#getting-started"
  },"96": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Register Your Two IPs in Bloomberg Enterprise Console",
    "content": "In the Enterprise Console, open the Web API Connectivity Policy for your Web API application and add both QuotaGuard IP addresses to the authorized set. Two details cause the TLS-accept-then-close failure if you get them wrong: . | Register both addresses. QuotaGuard load-balances across the pair, and either can serve a given request. | Attach them to the correct application and catalog. An IP registered against the wrong application still fails. | . ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#register-your-two-ips-in-bloomberg-enterprise-console",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#register-your-two-ips-in-bloomberg-enterprise-console"
  },"97": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Route the OAuth Token Request Through the Proxy",
    "content": "The API uses OAuth 2.0 client credentials. You exchange your Bloomberg-issued credentials for a short-lived JWT bearer token at bsso.blpprofessional.com, then send that token with every data request. Both calls must leave from your static IPs. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#route-the-oauth-token-request-through-the-proxy",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#route-the-oauth-token-request-through-the-proxy"
  },"98": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Python (requests)",
    "content": "import os, requests proxies = { \"http\": os.environ[\"QUOTAGUARDSTATIC_URL\"], \"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"], } token = requests.post( \"https://bsso.blpprofessional.com/ext/api/as/token.oauth2\", data={ \"grant_type\": \"client_credentials\", \"client_id\": os.environ[\"BLOOMBERG_CLIENT_ID\"], \"client_secret\": os.environ[\"BLOOMBERG_CLIENT_SECRET\"], }, proxies=proxies, ).json()[\"access_token\"] . ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#python-requests",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#python-requests"
  },"99": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Node.js (undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const res = await fetch('https://bsso.blpprofessional.com/ext/api/as/token.oauth2', { method: 'POST', dispatcher, headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: new URLSearchParams({ grant_type: 'client_credentials', client_id: process.env.BLOOMBERG_CLIENT_ID, client_secret: process.env.BLOOMBERG_CLIENT_SECRET, }), }); const { access_token } = await res.json(); . On Bun (common on Replit), fetch accepts a per-request proxy option directly: fetch(url, { proxy: process.env.QUOTAGUARDSTATIC_URL, ... }). ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#nodejs-undici",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#nodejs-undici"
  },"100": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Go",
    "content": "proxyURL, _ := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) client := &amp;http.Client{Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyURL)}} form := url.Values{} form.Set(\"grant_type\", \"client_credentials\") form.Set(\"client_id\", os.Getenv(\"BLOOMBERG_CLIENT_ID\")) form.Set(\"client_secret\", os.Getenv(\"BLOOMBERG_CLIENT_SECRET\")) resp, _ := client.PostForm(\"https://bsso.blpprofessional.com/ext/api/as/token.oauth2\", form) defer resp.Body.Close() . ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#go",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#go"
  },"101": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Route the Data Requests Through the Proxy",
    "content": "With a token, call the Hypermedia API at api.bloomberg.com/eap. The catalog endpoint is the usual first authenticated call and confirms both your token and your IP registration before you build a full data request. catalogs = requests.get( \"https://api.bloomberg.com/eap/catalogs/\", headers={\"Authorization\": f\"Bearer {token}\", \"Accept\": \"application/json\"}, proxies=proxies, ) print(catalogs.status_code) . From there the Hypermedia API follows Bloomberg’s request-response model: create a data request describing the universe, fields, and trigger, then retrieve the output when ready. Those calls all run against api.bloomberg.com/eap and all go through the proxy. Bloomberg’s developer documentation covers the request workflow. QuotaGuard only changes the IP your requests come from. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#route-the-data-requests-through-the-proxy",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#route-the-data-requests-through-the-proxy"
  },"102": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Testing Your Integration Is Using the Static IP",
    "content": "curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your QuotaGuard dashboard, and both must be registered in the Enterprise Console. Run it more than once to confirm both (load-balanced). ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#testing-your-integration-is-using-the-static-ip",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#testing-your-integration-is-using-the-static-ip"
  },"103": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#troubleshooting",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#troubleshooting"
  },"104": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "401 with an IP not whitelisted",
    "content": "Copy the IP from the error and confirm it is one of your two QuotaGuard addresses, registered against the correct application and catalog. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#401-with-an-ip-not-whitelisted",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#401-with-an-ip-not-whitelisted"
  },"105": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "OAuth call drops the socket with no status code",
    "content": "The classic signature of an IP that is not on the list or is registered to the wrong application. Bloomberg accepts the TLS handshake and then closes the connection. Re-check that both addresses are active in the Web API Connectivity Policy for the correct application. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#oauth-call-drops-the-socket-with-no-status-code",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#oauth-call-drops-the-socket-with-no-status-code"
  },"106": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "This is the QuotaGuard proxy, not Bloomberg. Your QUOTAGUARDSTATIC_URL credentials are wrong. Confirm them against your dashboard. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#407-proxy-authentication-required"
  },"107": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Half your requests fail",
    "content": "You registered only one of the two IPs. The load balancer routes through both, so register both. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#half-your-requests-fail",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#half-your-requests-fail"
  },"108": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext (proxy credential sent in the clear) | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For Bloomberg Data License, Static is the right product. The proxy sees only host and port, and your Bloomberg payload stays in the end-to-end TLS session. The one thing Static does not encrypt is the proxy-auth credential on the first hop. Choose QuotaGuard Shield when your security review requires that first hop encrypted as well. Shield gives you the same two static IPs and solves the allowlist identically. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#quotaguard-static-vs-quotaguard-shield"
  },"109": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Bloomberg Data License Integration Features . Read: How to Get a Static IP for the Bloomberg Data License API . Contact Support . ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/#ready-to-get-started"
  },"110": {
    "doc": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "title": "QuotaGuard and Bloomberg Data License API Integration Guide",
    "content": "QuotaGuard Static IPs let your cloud app reach the Bloomberg Data License Hypermedia API (HAPI) from two fixed addresses you register once in the Bloomberg Enterprise Console. Route both the OAuth token call and your data calls through the proxy, and every request to Bloomberg arrives from one of your two static IPs regardless of how your platform rotates underneath. Scope: This guide is for the Data License Hypermedia API, the REST interface at api.bloomberg.com/eap. It does not apply to the Bloomberg Terminal, the Desktop API, the Server API (SAPI), or the B-PIPE market data feed. Those run over Bloomberg’s own network, appliances, or dedicated connectivity, and an outbound proxy does not apply to them. Inbound and EU residency: This page covers the outbound integration. For inbound static IPs and EU data residency options, see the Bloomberg Data License integration page. ",
    "url": "/docs/apis/bloomberg/bloomberg-integration/",
    "relUrl": "/docs/apis/bloomberg/bloomberg-integration/"
  },"111": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Why Bubble Apps Need Static IPs",
    "content": "Bubble uses a globally distributed cloud infrastructure where outbound traffic originates from thousands of rotating AWS IP addresses. Bubble explicitly states they do not support static outbound IP addresses on standard plans. This creates problems when your Bubble app needs to connect to: . | External APIs behind corporate firewalls that require IP allowlisting | Payment gateways that require IP allowlisting for PCI compliance | Government systems with strict IP-based access controls | Banking integrations that only accept requests from known IP addresses | External databases with firewall rules (see Database Access below for important caveats) | . The result is connection failures and blocked requests that have nothing to do with your app logic. Your API keys are valid. Your configuration is correct. The external service is simply blocking requests from Bubble’s dynamic IP addresses. QuotaGuard gives your Bubble app a fixed, verifiable identity that partners can add to their firewall allowlists once. ",
    "url": "/docs/platforms/bubble/bubble-integration/#why-bubble-apps-need-static-ips",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#why-bubble-apps-need-static-ips"
  },"112": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Native Option: Dedicated Instance (Enterprise Only)",
    "content": "Bubble offers a Dedicated Instance option that provides static outbound IPs. Here’s how it compares to QuotaGuard: . | Feature | Bubble Dedicated Instance | QuotaGuard | . | Availability | Enterprise plan only | Any Bubble plan | . | Starting price | ~$3,000/month | $19/month | . | Setup process | Contact Bubble sales | Self-service | . | Static IPs | Yes | Yes (load-balanced pair) | . | HIPAA compliance | Requires BAA negotiation | Shield product available | . | Time to deploy | Days to weeks | Minutes | . Use Dedicated Instance if you’re already on an Enterprise plan and need isolated infrastructure for other reasons. Use QuotaGuard if you’re on a Bubble Starter ($32/month), Growth, or Team plan. You get the same static IP functionality at a fraction of the cost. ",
    "url": "/docs/platforms/bubble/bubble-integration/#native-option-dedicated-instance-enterprise-only",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#native-option-dedicated-instance-enterprise-only"
  },"113": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Bubble’s shared clusters are hosted primarily in AWS US-East-1 (Virginia). Select QuotaGuard’s US-East region to minimize latency. | Your Bubble Hosting | QuotaGuard Region | . | Default (US-East-1) | US-East | . | EU cluster (if available) | EU-West (Ireland) | . Your proxy URL will look like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Finding Your Static IPs: Your two static IPs are displayed in the QuotaGuard dashboard. Both IPs are active simultaneously for high availability. Add both to any firewall allowlists you’re configuring on the target service side. ",
    "url": "/docs/platforms/bubble/bubble-integration/#getting-started",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#getting-started"
  },"114": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "API Connector: The Primary Integration Path",
    "content": "Bubble’s API Connector plugin is the primary way to make outbound HTTP/HTTPS requests. This is the most straightforward way to use QuotaGuard with Bubble, and it covers the majority of use cases. ",
    "url": "/docs/platforms/bubble/bubble-integration/#api-connector-the-primary-integration-path",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#api-connector-the-primary-integration-path"
  },"115": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Setting Up QuotaGuard with the API Connector",
    "content": "Step 1: Get Your QuotaGuard Credentials . | Log in to your QuotaGuard dashboard | Copy your proxy URL: http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 | Note your two static IP addresses (you’ll need these for firewall allowlists) | . Step 2: Configure Your External Service . Add both of your QuotaGuard static IPs to the firewall allowlist of your external API: . | For corporate APIs: Provide the IPs to your IT team for their firewall | For payment gateways: Add the IPs in the provider’s IP allowlist settings | For government/banking APIs: Submit the IPs through the provider’s onboarding process | . Step 3: Route Bubble Traffic Through QuotaGuard . The API Connector does not have a native proxy configuration field. You have two options: . Option A: Use a proxy-enabled Bubble plugin (only if one fits) . Bubble’s native API Connector has no proxy field. A few community HTTP-request plugins in the marketplace expose extra connection settings, and if one lets you set a proxy URL you can stay entirely in Bubble’s no-code environment. This support is inconsistent and plugin-dependent, so test it with a call to https://ip.quotaguard.com and confirm you get one of your static IPs back before relying on it. If no plugin fits, use Option B, which is the reliable path. Option B: Use an external serverless function (recommended) . Create a simple AWS Lambda or Google Cloud Function that: . | Receives requests from your Bubble app via the API Connector | Forwards them through QuotaGuard to the target API | Returns the response to Bubble | . The relay cannot run on Cloudflare Workers. A Worker’s fetch() has no proxy option, and its raw TCP socket API cannot set the TLS server name separately from the host it connected to, so a Worker cannot complete an HTTPS request through the proxy. Host the relay on AWS Lambda or Google Cloud Functions instead. This is the reliable pattern for Bubble apps that need a static outbound IP. QuotaGuard publishes a ready-to-deploy relay as a working example at github.com/quotaguard/static-examples, and the full pattern, including the two headers and how to test it, is documented in the Static IP Without an HTTP Proxy guide. See the Testing section below for an example Lambda function. ",
    "url": "/docs/platforms/bubble/bubble-integration/#setting-up-quotaguard-with-the-api-connector",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#setting-up-quotaguard-with-the-api-connector"
  },"116": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Common API Use Cases",
    "content": ". | Payment gateway integration: Financial services often require IP allowlisting. Route payment API calls through QuotaGuard via the API Connector. | Corporate API access: When connecting to a partner’s internal API behind a corporate firewall, provide your QuotaGuard static IPs for their allowlist. This avoids the need for VPN configurations or Bubble Enterprise upgrades. | SaaS platform APIs: Any third-party API that restricts access by source IP can be reached through QuotaGuard. | . ",
    "url": "/docs/platforms/bubble/bubble-integration/#common-api-use-cases",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#common-api-use-cases"
  },"117": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Database Access: Known Limitations",
    "content": "Bubble’s SQL Database Connector cannot be proxied through QuotaGuard. This is an important limitation to understand before choosing an approach for database connectivity. Bubble’s SQL Database Connector plugin supports PostgreSQL, MySQL, and Microsoft SQL Server. Under the hood, it uses standard database client libraries to make direct TCP connections from Bubble’s servers to your database. The problem: The SQL Database Connector’s connection string only accepts standard database parameters: host, port, username, password, and database name. There is no way to configure a proxy. This means the connection traffic always originates from Bubble’s rotating AWS IP addresses, regardless of whether you have QuotaGuard configured for other parts of your app. You cannot simply add QuotaGuard’s IPs to your database firewall and expect Bubble’s SQL connector to route through them. The traffic will still come from Bubble’s dynamic IPs, not from QuotaGuard. This limitation comes up regularly for Bubble users who need to connect to firewalled databases. Historically, non-enterprise Bubble users have had to either open their database to all public IPs (not recommended for production) or use one of the workarounds below. ",
    "url": "/docs/platforms/bubble/bubble-integration/#database-access-known-limitations",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#database-access-known-limitations"
  },"118": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Workaround A: Use a Database with an HTTP/REST API (Recommended)",
    "content": "Best for: No-code users who want to stay entirely within Bubble’s native tools. Many modern database providers offer an HTTP API layer on top of their database. This converts database access into standard HTTP requests, which means Bubble’s API Connector and QuotaGuard work together with no additional middleware. Examples of databases with HTTP/REST API layers: . | MongoDB Atlas Data API: RESTful interface to MongoDB collections | Supabase REST API: Auto-generated REST endpoints for PostgreSQL tables | Hasura: Sits in front of PostgreSQL and provides a GraphQL/REST API | PlanetScale HTTP API: Serverless MySQL-compatible driver over HTTP | Xano: Popular no-code backend that exposes REST APIs for database operations | . With this approach, configure Bubble’s API Connector to call the database’s HTTP endpoint. Allowlist QuotaGuard’s static IPs on the database provider’s side. No code required. ",
    "url": "/docs/platforms/bubble/bubble-integration/#workaround-a-use-a-database-with-an-httprest-api-recommended",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#workaround-a-use-a-database-with-an-httprest-api-recommended"
  },"119": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Workaround B: Serverless Intermediary",
    "content": "Best for: Customers who have some developer resources and need a direct SQL connection to a database that does not offer an HTTP API. Place a small cloud function between Bubble and the database. Bubble sends an HTTP request to the function via the API Connector. The function connects to the database through QuotaGuard’s SOCKS5 proxy, runs the query, and returns results as JSON. Bubble App → API Connector → Cloud Function → QuotaGuard → Firewalled Database . This can be built on AWS Lambda, Google Cloud Functions, or any serverless platform whose runtime can open a proxied connection (Cloudflare Workers cannot, see the note in Option B above). The function is typically small (30–50 lines of code), but it does require developer involvement to set up and maintain. Note: If you are a no-code user with no developer resources, this approach may not be practical. In that case, Workaround A (HTTP API layer) is usually the better fit, or check whether your database provider already offers a REST interface. ",
    "url": "/docs/platforms/bubble/bubble-integration/#workaround-b-serverless-intermediary",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#workaround-b-serverless-intermediary"
  },"120": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Workaround C: Open Database Firewall (Not Recommended)",
    "content": "Some users work around the IP limitation by allowing connections from all public IPs (0.0.0.0/0) in their database firewall. This removes the need for QuotaGuard entirely but also removes your firewall protection. This may be acceptable for development or testing environments but should not be used for production systems with sensitive data. QuotaGuard is not needed for this approach. ",
    "url": "/docs/platforms/bubble/bubble-integration/#workaround-c-open-database-firewall-not-recommended",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#workaround-c-open-database-firewall-not-recommended"
  },"121": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Inbound Webhooks (Reverse Proxy)",
    "content": "If external services need to send webhooks TO your Bubble app but require a static destination IP for their firewall, QuotaGuard can help with inbound traffic. ",
    "url": "/docs/platforms/bubble/bubble-integration/#inbound-webhooks-reverse-proxy",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#inbound-webhooks-reverse-proxy"
  },"122": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Setting Up Inbound Proxy",
    "content": ". | Open your QuotaGuard dashboard | Navigate to Setup &gt; Inbound | Enter your Bubble webhook URL (e.g., https://your-app.bubbleapps.io/api/1.1/wf/webhook-endpoint) | QuotaGuard generates a unique URL like a62b1d0b4983db763450411fd393b3ce-us-east-1.getstatica.com | . This URL resolves to your two static IPs. External services can send webhooks to this URL, and QuotaGuard forwards them to your actual Bubble endpoint. ",
    "url": "/docs/platforms/bubble/bubble-integration/#setting-up-inbound-proxy",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#setting-up-inbound-proxy"
  },"123": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Use Cases for Inbound Proxy",
    "content": ". | Stripe webhooks when your payment processor requires outbound IP whitelisting | Plaid callbacks for banking integrations | Partner systems that only allow outbound traffic to known IPs | . ",
    "url": "/docs/platforms/bubble/bubble-integration/#use-cases-for-inbound-proxy",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#use-cases-for-inbound-proxy"
  },"124": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "HIPAA and PCI Compliance",
    "content": "Bubble does not sign Business Associate Agreements (BAAs) for HIPAA compliance on shared hosting plans. If you’re building a healthcare app on Bubble’s standard plans, this creates compliance challenges. QuotaGuard Shield provides: . | End-to-end TLS encryption (SSL passthrough) | HIPAA-ready infrastructure | Support for customers’ PCI-DSS requirements | . For regulated industries, QuotaGuard Shield (from $29/month; BAA available on Shield Production plans and above) may be more practical than upgrading to Bubble’s Enterprise plan for a BAA. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Encryption | Outbound payload never decrypted (both products) | Outbound payload never decrypted; Shield adds a TLS-encrypted app-to-proxy hop | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . ",
    "url": "/docs/platforms/bubble/bubble-integration/#hipaa-and-pci-compliance",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#hipaa-and-pci-compliance"
  },"125": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Verify your static IP configuration by making a test request through QuotaGuard. ",
    "url": "/docs/platforms/bubble/bubble-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#testing-your-implementation"
  },"126": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Test with ip.quotaguard.com",
    "content": "If you’re using a serverless function as your intermediary, you can use this test to confirm traffic is routing correctly: . // Example AWS Lambda test function const https = require('https'); const { HttpsProxyAgent } = require('https-proxy-agent'); exports.handler = async (event) =&gt; { const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); return new Promise((resolve, reject) =&gt; { https.get('https://ip.quotaguard.com', { agent }, (res) =&gt; { let data = ''; res.on('data', chunk =&gt; data += chunk); res.on('end', () =&gt; resolve({ statusCode: 200, body: data })); }).on('error', reject); }); }; . Expected response: . {\"ip\":\"52.34.188.175\"} . The returned IP should match one of your two static IPs shown in the QuotaGuard dashboard. ",
    "url": "/docs/platforms/bubble/bubble-integration/#test-with-ipquotaguardcom",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#test-with-ipquotaguardcom"
  },"127": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Latency Considerations",
    "content": "Bubble enforces a 30-second timeout on external API calls. QuotaGuard adds minimal latency when properly configured: . | Configuration | Added Latency | . | Same region (Bubble US + QuotaGuard US-East) | 10-15ms | . | Cross-region | 50-100ms | . The 10-15ms added latency is negligible for most API calls. You will stay well within Bubble’s 30-second timeout. Recommendation: Always use QuotaGuard’s US-East region for Bubble apps on the default shared cluster. ",
    "url": "/docs/platforms/bubble/bubble-integration/#latency-considerations",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#latency-considerations"
  },"128": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/bubble/bubble-integration/#troubleshooting",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#troubleshooting"
  },"129": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "API Requests Still Blocked",
    "content": ". | Confirm the external API has both QuotaGuard IPs allowlisted | Check if the API requires additional authentication beyond IP allowlisting | Verify your requests are actually routing through QuotaGuard (test with ip.quotaguard.com) | . ",
    "url": "/docs/platforms/bubble/bubble-integration/#api-requests-still-blocked",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#api-requests-still-blocked"
  },"130": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Wrong IP Address Returned",
    "content": "If ip.quotaguard.com returns an unexpected IP: . | Verify the proxy URL is correctly configured in your plugin or intermediary | Check that the https-proxy-agent or equivalent is installed (if using a serverless function) | Ensure environment variables are set correctly | . ",
    "url": "/docs/platforms/bubble/bubble-integration/#wrong-ip-address-returned",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#wrong-ip-address-returned"
  },"131": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your credentials are incorrect. Verify: . | Username and password match your QuotaGuard dashboard | No extra spaces or special characters were copied incorrectly | The proxy URL format is correct: http://username:password@hostname:9293 | . ",
    "url": "/docs/platforms/bubble/bubble-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#407-proxy-authentication-required"
  },"132": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Quick Reference",
    "content": "| Customer Need | Recommended Approach | QuotaGuard Needed? | . | Call an external REST API with IP allowlisting | API Connector + QuotaGuard | Yes | . | Receive webhooks from a service requiring static destination IPs | QuotaGuard Inbound Proxy | Yes | . | Connect to a database that has an HTTP/REST API | API Connector + QuotaGuard + database’s HTTP API | Yes | . | Connect to a firewalled SQL database (no HTTP API available) | Serverless intermediary + QuotaGuard | Yes (requires dev resources) | . | Connect to a SQL database with no firewall restrictions | Bubble SQL Connector directly | No | . | Connect to Bubble’s built-in database | No setup needed | No | . ",
    "url": "/docs/platforms/bubble/bubble-integration/#quick-reference",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#quick-reference"
  },"133": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Bubble.io Integration Features . HIPAA-Ready Static IPs (QuotaGuard Shield) . Contact Support . ",
    "url": "/docs/platforms/bubble/bubble-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/bubble/bubble-integration/#ready-to-get-started"
  },"134": {
    "doc": "QuotaGuard and Bubble.io Integration Guide",
    "title": "QuotaGuard and Bubble.io Integration Guide",
    "content": "QuotaGuard Static IPs allow your Bubble.io applications to send outbound traffic through a load-balanced pair of static IP addresses. Once set up, you can use QuotaGuard’s IPs to connect to firewalled APIs and services that require IP allowlisting. You do not need QuotaGuard for internal Bubble operations. Connections to Bubble’s built-in database, file storage, and internal workflows work without a proxy. QuotaGuard is for connecting to external services that require a known, static source IP address. ",
    "url": "/docs/platforms/bubble/bubble-integration/",
    "relUrl": "/docs/platforms/bubble/bubble-integration/"
  },"135": {
    "doc": "A Guide to Changing Your QuotaGuard Billing Information",
    "title": "A Guide to Changing Your QuotaGuard Billing Information",
    "content": "Billing information can be changed from the Account Management page. Click on Update Billing Information and fill in the associated form. Here, you can update details such as VAT information, company information, or billing address for your account. If there are any details missing from this form that you would like to add or change, just send us an email at Support from the account domain - preferrably the admin email address of the account - so we are sure the identity of the requestor and can make the changes in one email exchange. ",
    "url": "/docs/account/billing/change-billing-email-and-vat/",
    "relUrl": "/docs/account/billing/change-billing-email-and-vat/"
  },"136": {
    "doc": "How to Change or Cancel Your AWS Plan - QuotaGuard",
    "title": "Note on AWS Plan Changes",
    "content": "AWS Marketplace makes it pretty easy to upgrade plans or cancel your QuotaGuard plan contract. However, the AWS contract system enforces all upgrade choices immediately and all cancel changes after the end of your current plan. This can be frustrating for businesses like ours, where customers might change plans every month due to changing business conditions. To try and help, we only sell QG on AWS as monthly plans so you are never locked into a long term annual plan that you later need to change in the near term. It’s the best we can do to work with AWS’ contracting system. That said, there is nothing we can do to refund current plans if you choose to cancel or downgrade. ",
    "url": "/docs/platforms/aws/change-or-cancel-plan/#note-on-aws-plan-changes",
    "relUrl": "/docs/platforms/aws/change-or-cancel-plan/#note-on-aws-plan-changes"
  },"137": {
    "doc": "How to Change or Cancel Your AWS Plan - QuotaGuard",
    "title": "How to Upgrade your QuotaGuard AWS Plan",
    "content": "Step 1. Sign into the AWS Marketplace. Step 2. Click on Manage Subscriptions (or Manage Your Software Subscriptions). Step 3. Click Set up product under the correct software subscription (either QuotaGuard Static IP’s or QuotaGuard Shield Static IP’s). Step 4. Click Edit Agreement. Step 5. The next screen will show you your current contract. Select the radio button for the new plan you want to upgrade to. Note that AWS only allows upgrades to higher-tier plans. Step 6. Click Save Changes at the bottom of the page to complete the upgrade process. ",
    "url": "/docs/platforms/aws/change-or-cancel-plan/#how-to-upgrade-your-quotaguard-aws-plan",
    "relUrl": "/docs/platforms/aws/change-or-cancel-plan/#how-to-upgrade-your-quotaguard-aws-plan"
  },"138": {
    "doc": "How to Change or Cancel Your AWS Plan - QuotaGuard",
    "title": "How to Cancel your QuotaGuard AWS Plan",
    "content": "Step 1. Do steps 1 - 4 from above. Step 5. In the terms selection screen, select the radio button for “Do not automatically renew this contract” to cancel your subscription at the end of your current billing period. Step 6. Click Save Changes at the bottom of the page to confirm the cancellation. ",
    "url": "/docs/platforms/aws/change-or-cancel-plan/#how-to-cancel-your-quotaguard-aws-plan",
    "relUrl": "/docs/platforms/aws/change-or-cancel-plan/#how-to-cancel-your-quotaguard-aws-plan"
  },"139": {
    "doc": "How to Change or Cancel Your AWS Plan - QuotaGuard",
    "title": "Important Note about Downgrades",
    "content": "AWS does not allow downgrading current terms. If you need to downgrade to a lower-tier plan, you will need to: . | Cancel your current plan using the steps above | Wait for your current plan to expire at the end of your billing period | Subscribe to the new lower-tier plan | . If you need to maintain the same static IP addresses or require zero downtime during the downgrade process, please contact our Support team before canceling your current plan, and we’ll work with you to ensure IP continuity and seamless service transition. That’s it! If you have any issues or questions with regard to AWS plans, please feel free to write to us at Support any time. ",
    "url": "/docs/platforms/aws/change-or-cancel-plan/#important-note-about-downgrades",
    "relUrl": "/docs/platforms/aws/change-or-cancel-plan/#important-note-about-downgrades"
  },"140": {
    "doc": "How to Change or Cancel Your AWS Plan - QuotaGuard",
    "title": "How to Change or Cancel Your AWS Plan - QuotaGuard",
    "content": " ",
    "url": "/docs/platforms/aws/change-or-cancel-plan/",
    "relUrl": "/docs/platforms/aws/change-or-cancel-plan/"
  },"141": {
    "doc": "How to Change Payment Method, Billing Info or Credit Card",
    "title": "How to Change Payment Method, Billing Info or Credit Card",
    "content": "If you need to change the credit card or other billing information for your company, these are the steps to follow. | Log into your QuotaGuard account. | In the upper right, click on “Account Management” (it looks like a human torso icon). | Click “Change Card” under the Billing Information on File heading. | Enter the new card details in the Stripe form and click “Save Card”. | If your bank needs to approve the new card for automatic renewals, its prompt appears right after you save. Complete it. If you missed the prompt, click “Confirm card with your bank” under Billing Information on File to run it again. See How to Complete 3D Secure Authentication for details. | . This should update your default payment method. If you’d like us to delete the old payment method, please email us and we’ll be happy to take care of that for you. Note : If you have changed your credit card after a failed payment, our system will automatically retry in a few days. It is always helpful if you write us at Support to let us know so we can watch for it. ",
    "url": "/docs/account/billing/change-payment-method/",
    "relUrl": "/docs/account/billing/change-payment-method/"
  },"142": {
    "doc": "How to Rotate a Subscription Password",
    "title": "What changes and what stays the same",
    "content": "Rotating the password changes only the password. Your username, proxy hostname, port, and static IP addresses stay the same, so nothing needs to change on the services that allowlist your IPs. The only value to update on your side is the password inside your proxy URL. The old password stops being accepted as soon as you generate a new one. Connections that are already open keep working, but any new connection made with the old password is refused. Running two passwords at the same time is not supported. ",
    "url": "/docs/account/subscriptions/change-subscription-password/#what-changes-and-what-stays-the-same",
    "relUrl": "/docs/account/subscriptions/change-subscription-password/#what-changes-and-what-stays-the-same"
  },"143": {
    "doc": "How to Rotate a Subscription Password",
    "title": "Rotate the password",
    "content": "Step 1: Log into your QuotaGuard Account. Step 2: In the upper right dropdown, select the subscription you want to rotate. Step 3: Open Setup (the gear icon) and select Outbound Proxy. Step 4: Under Outbound Proxy Details, click the rotation icon next to the password. Confirm the prompt and a new password is generated. Step 5: Update the proxy URL in your application. | On Heroku, the QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL config var is updated for you. Restart or redeploy your app so it picks up the new value. | Everywhere else, replace the password in your QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL environment variable, secrets manager, or config file, then restart or redeploy. | . ",
    "url": "/docs/account/subscriptions/change-subscription-password/#rotate-the-password",
    "relUrl": "/docs/account/subscriptions/change-subscription-password/#rotate-the-password"
  },"144": {
    "doc": "How to Rotate a Subscription Password",
    "title": "Keep the changeover short",
    "content": "Because the old password is refused immediately, the gap is the time between generating the new password and your application picking it up. A few habits keep that gap small: . | Store the proxy URL in one place, such as a single environment variable or a secrets manager entry, so there is one value to update. | Rotate during a quiet period for the application. | Have the new value ready to deploy before you click the rotation icon. | Retries in your HTTP client cover the brief window where a request is refused. | . If you believe a password has been exposed, rotate it right away. If your situation needs a longer changeover than a single switch allows, contact support before rotating and we can work through options with you. If you have any questions, please contact us at QuotaGuard Support. ",
    "url": "/docs/account/subscriptions/change-subscription-password/#keep-the-changeover-short",
    "relUrl": "/docs/account/subscriptions/change-subscription-password/#keep-the-changeover-short"
  },"145": {
    "doc": "How to Rotate a Subscription Password",
    "title": "How to Rotate a Subscription Password",
    "content": "Each QuotaGuard subscription has one set of proxy credentials: a username and a password. The password is the part you rotate. There is one active password per subscription, and generating a new one replaces the old one. Note: This article covers the proxy password for a subscription, not the login for your QuotaGuard account. To change your account login password, see Getting Started - Account Management. ",
    "url": "/docs/account/subscriptions/change-subscription-password/",
    "relUrl": "/docs/account/subscriptions/change-subscription-password/"
  },"146": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Guided setup (Quickstart): check one Claude Code command route",
    "content": "Use an existing Static or Shield subscription, Claude Code CLI already signed in, curl, and Python 3.9+ for the launcher. No new provider key or protected API account is needed. This local CLI path uses Static’s HTTP proxy URL or Shield’s HTTPS proxy URL; curl must support the selected transport. Requests is only needed for the optional Python client below. ",
    "url": "/docs/automation/claude-code-integration/#quickstart-check-one-claude-code-command-route",
    "relUrl": "/docs/automation/claude-code-integration/#quickstart-check-one-claude-code-command-route"
  },"147": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "1. Get the proxy connection and both IPs",
    "content": "Open your subscription’s connection information. Have your approved secret workflow supply the complete URL as QG_PROXY_URL, or set QG_PROXY_FILE to an existing owner-only private file containing it. Use the assigned scheme and port; do not convert a Static URL to HTTPS. Keep both dashboard IPs for comparison and use proxy credentials, not your account login. Never paste the URL into prompts, command arguments, history or shared files. ",
    "url": "/docs/automation/claude-code-integration/#1-get-the-proxy-connection-and-both-ips",
    "relUrl": "/docs/automation/claude-code-integration/#1-get-the-proxy-connection-and-both-ips"
  },"148": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "2. Permit the intended sandbox route",
    "content": "Before the first check, inspect the effective policy with /sandbox in your existing Claude Code session. If sandboxing is active, use your approved domain/managed-policy process to permit ip.quotaguard.com; an existing rule may already allow it. Preserve the local policy proxy, denied hosts and other restrictions. Do not put QuotaGuard’s remote port into a local proxy-listener setting. Corporate gateways or managed locks require their approved routing design, not a replacement upstream chosen to bypass them. Exit that session before relaunching with the upstream below. ",
    "url": "/docs/automation/claude-code-integration/#2-permit-the-intended-sandbox-route",
    "relUrl": "/docs/automation/claude-code-integration/#2-permit-the-intended-sandbox-route"
  },"149": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "3. Launch from the configured parent shell",
    "content": "Save and review qg_route.py in your trusted project. With the secret already supplied, run this in the normal parent terminal, outside the Bash sandbox: . python3 qg_route.py claude . The launcher aligns both cases of HTTP/HTTPS proxy variables and uses loopback bypasses unless you supply an approved QG_NO_PROXY list. Ensure that list excludes the IP-check host and protected destinations; wildcard bypass is rejected. Review existing corporate requirements first: the launcher replaces the upstream and does not chain two remote proxies. Inside the Bash sandbox, keep its injected proxy environment; do not rerun this launcher there. ",
    "url": "/docs/automation/claude-code-integration/#3-launch-from-the-configured-parent-shell",
    "relUrl": "/docs/automation/claude-code-integration/#3-launch-from-the-configured-parent-shell"
  },"150": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "4. Ask Claude to run the IP check through its Bash tool",
    "content": "env -u DESTINATION_TOKEN curl -q --globoff --fail --silent --show-error \\ --connect-timeout 10 --max-time 30 --write-out '\\nHTTP %{http_code}\\n' \\ https://ip.quotaguard.com . Success means HTTP 200, curl exit 0 and an IP matching either dashboard IP. The optional destination token is cleared only for this invocation; curl sends no destination authorization header. Repeated requests need not alternate. This proves that command’s curl route, not every provider, MCP or browser route. If blocked, use diagnostics, preserving sandbox controls. A direct baseline is optional only where your policy permits it. ",
    "url": "/docs/automation/claude-code-integration/#4-ask-claude-to-run-the-ip-check-through-its-bash-tool",
    "relUrl": "/docs/automation/claude-code-integration/#4-ask-claude-to-run-the-ip-check-through-its-bash-tool"
  },"151": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "QuotaGuard Shield: local CLI and command clients",
    "content": "For Shield, use the existing quickstart with the subscription’s complete https:// URL on port 9294. Claude Code supports an HTTPS proxy through its startup environment; see official network configuration. | Have your trusted secret mechanism supply the Shield URL as QG_PROXY_URL, or put it in the owner-only file selected by QG_PROXY_FILE. Save qg_route.py. Ensure the requesting host permits the assigned Shield host/port and curl supports HTTPS proxies; keep certificate verification enabled. | Complete the quickstart’s sandbox policy step, then run python3 qg_route.py claude from the normal parent terminal. The launcher supplies the selected HTTPS upstream before Claude starts. Preserve the Bash sandbox’s injected local proxy; do not launch the wrapper again inside it. | Ask Claude’s Bash tool to run the quickstart IP-check command. Require HTTP 200, curl exit 0 and either Shield dashboard IP. To check a compatible host-shell curl independently, prefix that same curl command with python3 qg_route.py in the trusted parent shell; its result covers that host client only. | . A local MCP subprocess or remote MCP server has its own environment and HTTP client; use the MCP client instructions for that separate connection. An HTTPS upstream setting does not select the route for every tool or browser. ",
    "url": "/docs/automation/claude-code-integration/#quotaguard-shield-local-cli-and-command-clients",
    "relUrl": "/docs/automation/claude-code-integration/#quotaguard-shield-local-cli-and-command-clients"
  },"152": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Programmatic setup and reference: processes, settings and clients",
    "content": "The sections below cover persistent settings, other execution surfaces, MCP, protected destinations and troubleshooting. They are reference material after the ordered first check above. ",
    "url": "/docs/automation/claude-code-integration/#reference-processes-settings-and-clients",
    "relUrl": "/docs/automation/claude-code-integration/#reference-processes-settings-and-clients"
  },"153": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Choose the traffic path that needs fixed egress",
    "content": "QuotaGuard gives supported Claude Code HTTP requests two fixed outbound IP addresses for IP-allowlisted services. Choose the process making the protected request, configure its proxy path, and add both subscription addresses to the destination allowlist. Keep the protected API call on a stable route while preserving Claude Code’s security controls. This guide covers customer-controlled local CLI, SSH/WSL, containers, and remote hosts where the HTTP client supports the selected proxy. A proxy environment variable configures compatible clients; it is not a system-wide network tunnel. Typical jobs include calling an IP-restricted partner API, running authorized integration checks against a staging service, or letting a local MCP tool fetch protected data. The destination must be reachable from QuotaGuard. A public proxy does not create access to a private subnet, private DNS zone, or VPN-only service. | Request path | Configure here | What that establishes | . | Claude Code to its model provider | Claude Code’s proxy environment or applicable settings scope | The provider connection’s route, not the route of every tool | . | Commands and subprocess HTTP calls | The actual execution environment and HTTP library | That client only; child processes can change or ignore proxy settings | . | Native sandboxed Bash commands | Upstream proxy before Claude Code starts; keep the built-in local proxy | Approved domains pass through the local policy proxy and then the upstream | . | Local stdio MCP server to an API | The MCP server process and its HTTP library | Server outbound HTTP; stdio itself stays local | . | Claude Code to a remote HTTP MCP server | Claude Code’s proxy configuration, checked for that transport | Client-to-MCP connection only | . | Remote MCP server or hosted connector to a destination | The server/connector execution host, if you control it | Local Claude Code settings do not configure this second hop | . | Browser, browser extension, or browser automation | The actual browser’s supported proxy control and execution host | A CLI export alone does not establish browser egress | . | Hosted Claude Code execution | The hosted environment’s documented network controls | Do not infer support from a local terminal result | . Anthropic documents HTTP/HTTPS proxy settings, sandbox boundaries, and MCP configuration. The Bash sandbox covers commands and their descendants. Built-in web tools, hooks, and local MCP servers have separate execution and permission paths. Do not infer their IP from a Bash check. Native alternatives: retain a company VPN, approved gateway, or existing fixed egress on the exact execution host if it already meets the destination’s policy. Claude Code’s sandbox domain allowlist controls where commands may connect; it does not assign a static public source address. QuotaGuard supplies managed egress for compatible clients when that fixed identity is needed. ",
    "url": "/docs/automation/claude-code-integration/#choose-the-traffic-path-that-needs-fixed-egress",
    "relUrl": "/docs/automation/claude-code-integration/#choose-the-traffic-path-that-needs-fixed-egress"
  },"154": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Get the two addresses and keep secrets local",
    "content": "Use the selected subscription’s Outbound Connection Information: Subscription Setup, then Outbound Proxy &gt; Connection Information. Copy the complete HTTP connection URL and exactly the two static IPs shown there. Allowlist both at the protected destination, as two individual IPv4 addresses or two /32 entries if the destination requires CIDR. Do not use the addresses obtained by resolving the proxy hostname. Why two IP addresses explains routing and failover. Store the proxy URL in an existing secret manager or an owner-only file outside the repository. The URL includes a username and password. Keep it out of prompts, shared settings, shell history, screenshots, process arguments, and logs. Do not print the environment or use verbose request tracing in shared logs. Environment variables and user settings are still secrets accessible to sufficiently privileged local processes, so apply normal host and agent access controls. The examples use QG_PROXY_URL or QG_PROXY_FILE as local inputs. These are example variable names, not automatic Claude Code or QuotaGuard controls. For a Static deployment, an existing QUOTAGUARDSTATIC_URL secret can supply QG_PROXY_URL. For Shield, use the actual QUOTAGUARDSHIELD_URL value. Preserve the URL’s scheme, hostname, port, and encoded credentials exactly. The examples contain no working credentials. If creating a private file through your approved secret workflow, make its permissions owner-only, for example chmod 600 /absolute/private/path/quotaguard-proxy-url. Its only content is the connection URL. Avoid putting the URL itself in a terminal command. Choose the proxy region close to the execution host when provisioning; a later region change requires a planned connection and allowlist update. These are redacted, annotated dashboard captures. Use your own subscription’s current connection URL and both assigned IPs. The numbered markers identify connection information, both IP addresses, and the connection test. QuotaGuard Static. Redacted, annotated dashboard capture. Open the image for full size; supply your own subscription’s values. QuotaGuard Shield. Redacted, annotated dashboard capture. Open the image for full size; supply your own subscription’s values. ",
    "url": "/docs/automation/claude-code-integration/#get-the-two-addresses-and-keep-secrets-local",
    "relUrl": "/docs/automation/claude-code-integration/#get-the-two-addresses-and-keep-secrets-local"
  },"155": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Configure the intended process before launch",
    "content": "Start with claude --version to record the version you operate. These examples follow the current official documentation; compare it with your installed version when a named setting is unavailable. Python examples use Python 3.9+ and Requests 2.32.5. They do not require an Anthropic API key or a new service. ",
    "url": "/docs/automation/claude-code-integration/#configure-the-intended-process-before-launch",
    "relUrl": "/docs/automation/claude-code-integration/#configure-the-intended-process-before-launch"
  },"156": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Route a command only, or launch terminal Claude Code with an upstream",
    "content": "Save this complete launcher as qg_route.py on the execution host. It accepts a secret input, aligns uppercase and lowercase proxy settings, limits bypasses to loopback by default, and replaces itself with the requested process. It does not install a tunnel or configure software that ignores proxy variables. #!/usr/bin/env python3 \"\"\"Start a customer-controlled HTTP client with a deliberate proxy environment.\"\"\" import os from pathlib import Path import stat import sys from urllib.parse import urlsplit def proxy_url(env): value = env.get('QG_PROXY_URL', '') if not value: location = env.get('QG_PROXY_FILE') if not location: raise ValueError('Set QG_PROXY_URL or QG_PROXY_FILE through local secret storage.') path = Path(location).expanduser() with path.open(encoding='utf-8') as source: info = os.fstat(source.fileno()) if not stat.S_ISREG(info.st_mode) or info.st_mode &amp; 0o077: raise ValueError('Proxy secret must be a regular file with owner-only permissions.') if hasattr(os, 'getuid') and info.st_uid != os.getuid(): raise ValueError('Proxy secret must belong to the current user.') value = source.read(8193).strip() if len(value) &gt; 8192 or any(c.isspace() for c in value): raise ValueError('Proxy URL contains whitespace or is too long.') try: parsed = urlsplit(value) valid = (parsed.scheme in ('http', 'https') and parsed.hostname and parsed.port and parsed.username and parsed.password and parsed.path in ('', '/') and not parsed.query and not parsed.fragment) except ValueError: valid = False if not valid: raise ValueError('Use the complete authenticated HTTP or HTTPS proxy URL from QuotaGuard.') return value def routed_env(env): result = dict(env) value = proxy_url(env) for key in ('http_proxy', 'HTTP_PROXY', 'https_proxy', 'HTTPS_PROXY'): result[key] = value bypass = env.get('QG_NO_PROXY', 'localhost,127.0.0.1,::1') if '*' in bypass: raise ValueError('Choose explicit bypass hosts; wildcard bypass is not accepted.') result['no_proxy'] = result['NO_PROXY'] = bypass result.pop('ALL_PROXY', None) result.pop('all_proxy', None) # Children get only the standard proxy variables, not the source secret inputs. result.pop('QG_PROXY_URL', None) result.pop('QG_PROXY_FILE', None) return result def main(argv): if not argv: print('Usage: python3 qg_route.py COMMAND [ARG ...]', file=sys.stderr) return 2 try: env = routed_env(os.environ) os.execvpe(argv[0], argv, env) except (ValueError, OSError) as exc: # Exception strings from exec/path parsing may contain sensitive input. print('Proxy launcher failed (' + type(exc).__name__ + '); check secret inputs and executable.', file=sys.stderr) return 2 if __name__ == '__main__': sys.exit(main(sys.argv[1:])) . Use the exact connection URL from your subscription’s dashboard, supplied by secret storage. The file-path input avoids placing that URL in a command argument: . export QG_PROXY_FILE=/absolute/private/path/quotaguard-proxy-url python3 qg_route.py claude . This routes Claude Code’s proxy-aware provider connection and supplies an environment to descendants. Use this launcher outside Claude Code’s native Bash sandbox. Within that sandbox, preserve its injected local proxy variables; do not run this launcher there to replace them with a remote proxy. If only one command needs QuotaGuard, leave Claude Code’s provider route unchanged and invoke the launcher for that command on a customer-controlled execution host outside the native Bash sandbox. For sandboxed commands, use the upstream approach in sandbox routing instead. A remote shell, container, CI runner, or GUI-launched server needs configuration at its own boundary; it may not inherit your terminal environment. Review existing corporate proxy requirements before selecting a new upstream. This launcher intentionally replaces all four HTTP proxy variables, removes inherited ALL_PROXY alternatives, and replaces bypass settings with QG_NO_PROXY or loopback. It does not chain two remote proxies. If policy already requires a corporate gateway, use its approved routing design. ",
    "url": "/docs/automation/claude-code-integration/#route-a-command-only-or-launch-terminal-claude-code-with-an-upstream",
    "relUrl": "/docs/automation/claude-code-integration/#route-a-command-only-or-launch-terminal-claude-code-with-an-upstream"
  },"157": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Save applicable user settings for background or Desktop sessions",
    "content": "For persistent settings, merge the following env entries into ~/.claude/settings.json, preserving existing keys and sandbox policy. Merge the env object into any existing env object; do not append a second JSON document or replace the whole settings file. Never copy the placeholder URLs unchanged. Replace each example URL locally with the exact dashboard URL, then protect the file as a secret. This JSON contains literal values; ${QG_PROXY_URL} expansion is not being promised for settings.json. { \"env\": { \"https_proxy\": \"http://USERNAME:PASSWORD@ACCOUNT-PROXY-HOST.invalid:9293\", \"HTTPS_PROXY\": \"http://USERNAME:PASSWORD@ACCOUNT-PROXY-HOST.invalid:9293\", \"http_proxy\": \"http://USERNAME:PASSWORD@ACCOUNT-PROXY-HOST.invalid:9293\", \"HTTP_PROXY\": \"http://USERNAME:PASSWORD@ACCOUNT-PROXY-HOST.invalid:9293\", \"no_proxy\": \"localhost,127.0.0.1,::1\", \"NO_PROXY\": \"localhost,127.0.0.1,::1\" } } . For Shield, use the complete https:// connection URL with its dashboard port in every proxy value. An HTTPS destination can still use Static’s http:// proxy URL; the URL scheme describes the client-to-proxy protocol. Claude Code does not support SOCKS proxies. ALL_PROXY=socks5://... is not a supported substitute. Outbound HTTPS mechanics distinguishes the two encryption layers. Claude Code selects the first set value in this order: https_proxy, HTTPS_PROXY, http_proxy, HTTP_PROXY. A stale lowercase value can override a new uppercase value. Set both cases consistently and audit no_proxy and NO_PROXY. Do not put the protected host in the bypass list; never use NO_PROXY=* to fix a routing failure. Shell exports are read once when Claude Code starts. Exit and relaunch terminal Claude Code from the configured shell after changing them. Editing exports in another terminal does not update a running session. For persistent or managed changes, start a fresh affected session to confirm effective settings; do not assume shell-export behavior describes every managed setting’s reload behavior. Background agents use a shared per-user supervisor that can outlive the dispatching shell. Anthropic recommends delivering network variables through user or managed settings, because shell inheritance depends on which shell first started the supervisor. A wrapper earlier on PATH is not a deployment mechanism for all background workers. See background agent network configuration for the supported administrative launcher controls. In Desktop sessions where the app manages the provider connection, including applicable third-party-provider Code sessions and Cowork, proxy settings are accepted from managed settings and ~/.claude/settings.json, not repository settings. Local, SSH, or WSL Code-tab sessions signed in through claude.ai follow the terminal-style scope rules. Cloud execution follows its own hosting rules. Do not assume .claude/settings.local.json or a terminal export redirects every Desktop or hosted request. These distinctions come from Anthropic’s network scope rules. ",
    "url": "/docs/automation/claude-code-integration/#save-applicable-user-settings-for-background-or-desktop-sessions",
    "relUrl": "/docs/automation/claude-code-integration/#save-applicable-user-settings-for-background-or-desktop-sessions"
  },"158": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Keep the sandbox proxy and destination policy intact",
    "content": "Keep sandboxed commands on the local policy path. Configure QuotaGuard as the upstream HTTP/HTTPS proxy before Claude Code starts, then let the sandbox inject its own proxy settings into commands. Anthropic documents that the built-in proxy checks the requested domain before tunneling allowed connections through that upstream. Both authenticated http:// and https:// upstream URLs are supported. Use /sandbox to inspect the effective policy. Add only the specific protected destination hosts your organization approves through its existing permission or managed-settings process. A managed domain lock may require an administrator’s policy change. Keep existing denied domains, filesystem limits, and security controls in place. Do not enter QuotaGuard’s remote port as sandbox.network.httpProxyPort or socksProxyPort. Those settings select replacement proxy listeners on the same machine. Once such a replacement applies, that proxy takes over network filtering; it is not an upstream shortcut, and Claude Code does not automatically forward it to HTTPS_PROXY. Follow Anthropic’s upstream and custom-proxy distinction. A sandbox denial is a policy result. Do not disable the sandbox, add a broad excluded command, change security modes, overwrite its injected proxy environment, or retry unsandboxed as a connectivity fix. Tools that ignore proxy variables, raw TCP/database clients, and browser processes need their own approved network design. Claude Code’s lack of SOCKS support remains true even though its sandbox uses a local SOCKS listener internally. ",
    "url": "/docs/automation/claude-code-integration/#keep-the-sandbox-proxy-and-destination-policy-intact",
    "relUrl": "/docs/automation/claude-code-integration/#keep-the-sandbox-proxy-and-destination-policy-intact"
  },"159": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Route the actual tool or MCP client",
    "content": " ",
    "url": "/docs/automation/claude-code-integration/#route-the-actual-tool-or-mcp-client",
    "relUrl": "/docs/automation/claude-code-integration/#route-the-actual-tool-or-mcp-client"
  },"160": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Use curl in the right environment",
    "content": "Outside the native Bash sandbox, this runs a bounded HTTPS IP check using the launcher’s environment: . python3 qg_route.py curl -q --globoff --fail --silent --show-error \\ --connect-timeout 10 --max-time 30 https://ip.quotaguard.com . Inside a configured Claude Code Bash sandbox, ask Claude to run the following command through its Bash tool, preserving its injected environment: . curl -q --globoff --fail --silent --show-error \\ --connect-timeout 10 --max-time 30 https://ip.quotaguard.com . The diagnostic hostname must be permitted by the existing sandbox policy before that check can run. An approved read-only call to the real protected destination, verified in its access logs, is more specific evidence. Typing a command yourself at Claude Code’s ! prompt usually runs outside the Bash sandbox, so it is not the same sandbox check. curl’s proxy documentation also explains why different tools need their own environment checks; in particular, curl accepts http_proxy in lowercase for HTTP URLs. For an optional direct baseline outside the sandbox, only where direct HTTPS is permitted, use: . curl -q --noproxy '*' --fail --silent --show-error \\ --connect-timeout 10 --max-time 30 https://ip.quotaguard.com . A direct result need not differ if the host already has QuotaGuard egress. Do not use a direct retry to work around a sandbox denial. ",
    "url": "/docs/automation/claude-code-integration/#use-curl-in-the-right-environment",
    "relUrl": "/docs/automation/claude-code-integration/#use-curl-in-the-right-environment"
  },"161": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Preserve the HTTP route in a Python tool",
    "content": "Save as protected_get.py. It requires an effective inherited HTTP/HTTPS proxy, checks an HTTPS URL, disables redirects so a token is not forwarded by a new application-level request, sets connect/read timeouts, and prints only the HTTP status. Destination bearer authentication is optional and separate from proxy authentication. The helper rejects DESTINATION_TOKEN for the public IP-check host; for that check use env -u DESTINATION_TOKEN PROTECTED_URL=https://ip.quotaguard.com python3 protected_get.py inside an already configured sandbox, or prefix that command with the launcher only on an approved host outside the sandbox. This helper reports status only; use curl above to compare the returned IP. It streams without consuming the response body, which is enough for a status diagnostic. #!/usr/bin/env python3 \"\"\"Read one HTTPS resource, preserving the caller's HTTP proxy chain.\"\"\" import os import sys from urllib.parse import urlsplit import requests class ConfigurationError(ValueError): \"\"\"A controlled configuration message authored by this helper.\"\"\" class IPCheckTokenError(ValueError): \"\"\"The public IP check must not receive destination credentials.\"\"\" def get_status(url, token=None): parsed = urlsplit(url) if parsed.scheme != 'https' or not parsed.hostname or parsed.username or parsed.password: raise ConfigurationError('Use an HTTPS destination without credentials in its URL.') effective_proxy = requests.utils.get_environ_proxies(url).get('https') if not effective_proxy or urlsplit(effective_proxy).scheme not in ('http', 'https'): raise ConfigurationError('No effective HTTP/HTTPS proxy for the protected HTTPS destination.') if token and parsed.hostname.lower() == 'ip.quotaguard.com': raise IPCheckTokenError('Destination tokens are not allowed for the public IP check.') headers = {'Accept': 'application/json'} if token: headers['Authorization'] = 'Bearer ' + token # trust_env=True is deliberate: inside the Bash sandbox this uses its local # proxy, which enforces policy before forwarding to the configured upstream. with requests.Session() as session: session.trust_env = True with session.get(url, headers=headers, timeout=(10, 30), allow_redirects=False, stream=True) as response: return response.status_code def main(): try: url = os.environ.get('PROTECTED_URL') if not url: raise ConfigurationError('Set PROTECTED_URL to the intended HTTPS destination.') status = get_status(url, os.environ.get('DESTINATION_TOKEN')) except IPCheckTokenError: print('IP check rejects DESTINATION_TOKEN. Run: env -u DESTINATION_TOKEN ' 'PROTECTED_URL=https://ip.quotaguard.com python3 protected_get.py', file=sys.stderr) return 2 except ConfigurationError as error: print(str(error), file=sys.stderr) return 2 except requests.exceptions.SSLError: print('TLS verification or handshake failed; check approved CA trust and proxy transport. ' 'Keep certificate verification enabled.', file=sys.stderr) return 2 except requests.exceptions.ProxyError: print('Proxy connection failed; check proxy authentication, permitted route and upstream ' 'compatibility. This exception alone does not identify the cause.', file=sys.stderr) return 2 except requests.exceptions.Timeout: print('Request timed out; check reachability, network policy and service availability.', file=sys.stderr) return 2 except requests.exceptions.ConnectionError: print('Connection failed; check DNS, host reachability and network policy.', file=sys.stderr) return 2 except (KeyError, ValueError, OSError, requests.RequestException): print('Request failed; inspect redacted diagnostics and route settings.', file=sys.stderr) return 2 print('HTTP status:', status) return 0 if 200 &lt;= status &lt; 300 else 1 if __name__ == '__main__': sys.exit(main()) . Install the documented library into your existing tool environment if needed: . python3 -m pip install 'requests==2.32.5' . For a command outside the native sandbox, provide PROTECTED_URL and, if required, DESTINATION_TOKEN using your normal local secret workflow, then run: . python3 qg_route.py python3 protected_get.py . Inside the Bash sandbox with an upstream configured, ask Claude to run python3 protected_get.py directly. Its inherited local proxy remains the first hop. Requests’ default trust in environment settings is deliberate here. Do not replace that local proxy with QG_PROXY_URL inside the sandbox. See the QG Python reference and Requests environment behavior. A TLS-enabled proxy also requires the installed client’s HTTPS-proxy support and trust configuration. For a Node tool, configure its actual HTTP library instead of assuming every fetch, SDK, or spawned process respects these variables. The established QG Node HTTPS reference supplies the client-specific setup. In a Bash sandbox, a client adapter must preserve the local policy proxy as the first hop. Language examples do not configure a remote server or a browser on another host. ",
    "url": "/docs/automation/claude-code-integration/#preserve-the-http-route-in-a-python-tool",
    "relUrl": "/docs/automation/claude-code-integration/#preserve-the-http-route-in-a-python-tool"
  },"162": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Pass proxy settings to an existing local stdio MCP server",
    "content": "The following is a complete .mcp.json configuration shape for an existing Python MCP server. Replace the executable path with the real server entry point. Supply QG_PROXY_URL to the process that starts Claude Code through secret storage; this example uses MCP’s documented ${VAR} expansion and does not store the credential in the shared file. { \"mcpServers\": { \"protected-tools\": { \"type\": \"stdio\", \"command\": \"python3\", \"args\": [\"/absolute/path/to/existing_mcp_server.py\"], \"env\": { \"http_proxy\": \"${QG_PROXY_URL}\", \"HTTP_PROXY\": \"${QG_PROXY_URL}\", \"https_proxy\": \"${QG_PROXY_URL}\", \"HTTPS_PROXY\": \"${QG_PROXY_URL}\", \"no_proxy\": \"localhost,127.0.0.1,::1\", \"NO_PROXY\": \"localhost,127.0.0.1,::1\" } } } } . The server’s HTTP client must honor these variables or use an explicit compatible proxy adapter. The env block sets values for this MCP process only. Local MCP servers run outside Claude Code’s Bash sandbox, so do not assume its domain allowlist constrains them. Apply the server’s own access controls and least-privilege credentials. Diagnose source IP from an existing server tool’s outbound request and destination logs, not from an unrelated Bash curl command. The launcher’s file-input method removes QG_PROXY_URL from its child environment, so it does not supply ${QG_PROXY_URL} for this configuration. For this MCP option, inject that named secret into the Claude Code host process directly. If a variable is missing, current Claude Code can warn and leave literal expansion text in the configuration; a configuration that loads is not proof the server authenticated. Use /mcp or claude mcp list to inspect server status without sharing secret-bearing output. ",
    "url": "/docs/automation/claude-code-integration/#pass-proxy-settings-to-an-existing-local-stdio-mcp-server",
    "relUrl": "/docs/automation/claude-code-integration/#pass-proxy-settings-to-an-existing-local-stdio-mcp-server"
  },"163": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Configure a remote HTTP MCP connection separately from server egress",
    "content": "For an existing remote MCP server, this complete configuration identifies the client connection and optional bearer authentication: . { \"mcpServers\": { \"protected-remote\": { \"type\": \"http\", \"url\": \"${PROTECTED_MCP_URL}\", \"headers\": { \"Authorization\": \"Bearer ${PROTECTED_MCP_TOKEN}\" } } } } . Supply PROTECTED_MCP_URL and PROTECTED_MCP_TOKEN using the host’s normal secret mechanism. For OAuth servers, follow their documented OAuth flow instead of inventing a bearer token. Use Claude Code’s own proxy configuration for its outbound HTTP connection, then check that connection in the MCP server’s access logs. The headers field authenticates to the server; it is not a proxy setting. A second request made by the hosted server or a managed connector to a protected API starts on that server’s host. Configure QuotaGuard there only if the operator exposes a supported proxy/client control. An env entry for a local stdio server does not configure a remote HTTP backend. The existing MCP static-IP guide explains server placement; use it rather than treating MCP as one network hop. ",
    "url": "/docs/automation/claude-code-integration/#configure-a-remote-http-mcp-connection-separately-from-server-egress",
    "relUrl": "/docs/automation/claude-code-integration/#configure-a-remote-http-mcp-connection-separately-from-server-egress"
  },"164": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Keep browsers and raw TCP on their own supported paths",
    "content": "A browser extension or browser automation may run on your laptop, another machine, or hosted infrastructure. Configure the actual browser using a supported proxy mechanism, including proxy authentication and TLS support where needed. Do not infer browser egress from Claude Code or curl. Use the established browser proxy documentation for its named client if applicable. Claude Code’s provider proxy does not add SOCKS support to SSH, PostgreSQL, MongoDB, Redis, or other raw TCP tools. Compatible customer-controlled clients can use QuotaGuard SOCKS5 or QGTunnel through a separately approved path; do not transplant those settings into Claude Code’s provider configuration or bypass its sandbox. Start with the existing outbound proxy documentation for that client’s reference. ",
    "url": "/docs/automation/claude-code-integration/#keep-browsers-and-raw-tcp-on-their-own-supported-paths",
    "relUrl": "/docs/automation/claude-code-integration/#keep-browsers-and-raw-tcp-on-their-own-supported-paths"
  },"165": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Verify each route and interpret the result",
    "content": "A user-run HTTPS IP check should return: . {\"ip\":\"&lt;one of the two addresses shown for the selected subscription&gt;\"} . The returned address must match either dashboard address. Repeating the check may show the same address; alternation is not required. Both still belong on the destination allowlist. For each protected integration, record the execution host, client/library, effective settings scope, observed destination source IP, and authentication result. Check in this order: . | Confirm the affected process restarted after shell-export changes and inspect effective settings locally. /status can show the configured proxy; configuration visibility does not prove a request used it. Treat displayed URLs and debug logs as secrets. | Check the HTTP client from the actual execution context. A host-terminal curl check validates that host/client, while a Bash-tool check validates that command’s sandbox route. | Confirm the actual protected request in destination or MCP server logs. A successful IP echo alone does not prove destination authentication, OAuth callbacks, hosted backend calls, browser traffic, or every agent tool. | Keep the original destination authorization controls and existing approved access during cutover. Verify an intended read-only operation before running writes; use retries only where the operation’s semantics permit them. | . ",
    "url": "/docs/automation/claude-code-integration/#verify-each-route-and-interpret-the-result",
    "relUrl": "/docs/automation/claude-code-integration/#verify-each-route-and-interpret-the-result"
  },"166": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Diagnose the failing layer",
    "content": "| Symptom | Likely layer | Next check | . | Wrong public IP | Bypass, stale lowercase variable, different host/client | Check both cases, NO_PROXY, actual process scope, and library support. Follow the existing wrong-IP guide. | . | 407 Proxy Authentication Required | Proxy authentication | Confirm the complete connection URL, selected subscription, and credential encoding privately. Keep destination tokens separate. | . | Destination 401 or 403 | Destination authentication, authorization, allowlist, or WAF | Confirm the destination saw an expected IP, both are allowed, and credentials/scopes match. A 403 alone does not identify the proxy as the cause. | . | Host not allowed or sandbox denial | Sandbox policy | Inspect /sandbox; use the existing approval/managed-policy process for the exact host. Preserve restrictions and the local proxy. | . | Works in terminal, fails in tool/MCP/background worker | Missing inherited environment or different settings scope | Configure the actual execution process. Use user/managed settings for background agents; check the MCP env block and Desktop scope. | . | Certificate verify or TLS handshake failure | Trust store, wrong proxy scheme, or client HTTPS-proxy support | Verify the copied URL and certificate chain. Use approved custom CA configuration such as NODE_EXTRA_CA_CERTS for Claude Code; Python has its own trust configuration. Keep certificate validation enabled. | . | Timeout or proxy connection refused | DNS, host network policy, proxy reachability | Check the actual host’s permitted network route to the account-specific proxy. Proxy settings cannot authorize blocked cloud egress. | . | Long-lived stream disconnects | Tunnel lifecycle or network interruption | HTTP CONNECT tunnels have a 600-second lifetime on Static and Shield. Use supported reconnect behavior and safe operation semantics; Claude Code cannot switch its provider route to SOCKS. | . The Python helper prints fixed hints for proxy, DNS/connection, timeout and TLS errors without echoing raw exception strings, URLs or credentials. Proxy exceptions and curl exits alone can be ambiguous: curl 5 indicates proxy DNS resolution, 7 a failed connection, 22 an HTTP error under --fail, and 56 a receive/CONNECT failure that may involve rejection, policy or interruption. See curl error definitions. Share sanitized status/exit codes and the affected execution context, not verbose logs. ",
    "url": "/docs/automation/claude-code-integration/#diagnose-the-failing-layer",
    "relUrl": "/docs/automation/claude-code-integration/#diagnose-the-failing-layer"
  },"167": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Choose Static, Shield, and shared or dedicated addresses",
    "content": "Match the transport to each named client. Both products tunnel outbound HTTPS without decrypting the destination payload; Shield additionally encrypts the customer-to-proxy connection. An HTTPS destination does not mean the proxy hop itself uses TLS. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Outbound proxy options | HTTP proxy; separate SOCKS5 service for compatible clients | HTTPS proxy; separate SOCKS5-over-TLS paths for compatible clients | . | Customer-to-proxy hop | Plain HTTP proxy protocol | TLS-encrypted | . | Outbound HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Claude Code provider path here | Authenticated http:// URL | Authenticated https:// URL | . | Best fit | Ordinary API access | Regulated data or policy requiring TLS on every hop | . | Current direct Starter price | $19/month | $29/month | . Static is the starting point for ordinary API allowlisting. Choose Shield for regulated workloads or when your policy requires TLS on the proxy hop, and verify HTTPS-proxy support in each subprocess, MCP library, or browser separately. Shield does not make an otherwise unsupported transport compatible or certify a workflow’s compliance. Direct Starter, Production, and Business plans use shared IP pairs and proxy resources. Direct Enterprise supplies dedicated addresses and resources, not a promise of an exclusive physical host. Shared source allowlisting is not a single-tenant identity control, so keep destination authentication and choose dedicated IPs if exclusivity is required. A shared-to-dedicated migration changes the IPs and connection credentials; stage the new allowlist entries before retiring the old route. See dedicated proxy migration and current pricing. ",
    "url": "/docs/automation/claude-code-integration/#choose-static-shield-and-shared-or-dedicated-addresses",
    "relUrl": "/docs/automation/claude-code-integration/#choose-static-shield-and-shared-or-dedicated-addresses"
  },"168": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Keep inbound callbacks separate from outbound egress",
    "content": "Use QuotaGuard inbound proxying when a reachable customer service needs static destination IPs for inbound callers. Outbound proxy settings do not publish a laptop listener, convert local MCP stdio into HTTP, or configure an OAuth callback receiver. Inbound Static terminates TLS at the proxy; inbound Shield uses TLS passthrough. Follow the established Inbound Shield setup documentation for that separate service path. ",
    "url": "/docs/automation/claude-code-integration/#keep-inbound-callbacks-separate-from-outbound-egress",
    "relUrl": "/docs/automation/claude-code-integration/#keep-inbound-callbacks-separate-from-outbound-egress"
  },"169": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Ready to get started?",
    "content": "Explore the AI-agent hub, or compare QuotaGuard plans. For architecture help, contact a QuotaGuard engineer with the client, host, transport, and a redacted failure description. ",
    "url": "/docs/automation/claude-code-integration/#ready-to-get-started",
    "relUrl": "/docs/automation/claude-code-integration/#ready-to-get-started"
  },"170": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "Download the complete examples",
    "content": "These files retain the complete source examples shown in this guide. Review them before use and supply your own runtime secrets. Environment templates are downloaded as env.example; store real values only through your approved private workflow. | env.example | mcp-http.json | mcp-stdio.json | protected_get.py | qg_route.py | requirements.txt | settings.example.json | . ",
    "url": "/docs/automation/claude-code-integration/#download-the-complete-examples",
    "relUrl": "/docs/automation/claude-code-integration/#download-the-complete-examples"
  },"171": {
    "doc": "QuotaGuard and Claude Code Integration Guide",
    "title": "QuotaGuard and Claude Code Integration Guide",
    "content": "Follow these steps to use QuotaGuard with Claude Code. ",
    "url": "/docs/automation/claude-code-integration/",
    "relUrl": "/docs/automation/claude-code-integration/"
  },"172": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Why Clever Cloud Apps Often Need Static Outbound IPs",
    "content": "Clever Cloud runs on its own Paris infrastructure plus partner providers (OVHcloud, Scaleway, and others), and outside Paris you have no control over the underlying egress ranges. A destination that requires a known source IP cannot rely on Clever Cloud’s shared, shifting egress. QuotaGuard gives you two static IPs assigned to your subscription that stay the same unless you ask to change them, the same pair regardless of which region or provider your app lands on. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#why-clever-cloud-apps-often-need-static-outbound-ips",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#why-clever-cloud-apps-often-need-static-outbound-ips"
  },"173": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to your Clever Cloud zone to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#getting-started",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#getting-started"
  },"174": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Step 1: Set the Proxy with the Clever Tools CLI",
    "content": "Most runtimes and HTTP clients read the standard HTTP_PROXY and HTTPS_PROXY variables automatically. Set them using the proxy URL from your QuotaGuard dashboard, then redeploy, because Clever Cloud applies environment changes on the next deployment. clever env set HTTP_PROXY \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" clever env set HTTPS_PROXY \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" clever env set NO_PROXY \"localhost,127.0.0.1\" clever restart . Use the exact value of QUOTAGUARDSTATIC_URL from your dashboard. You can also set these in the Environment variables panel of the Console. Either way, the app must redeploy or restart to pick them up. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-1-set-the-proxy-with-the-clever-tools-cli",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-1-set-the-proxy-with-the-clever-tools-cli"
  },"175": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Step 2: Route Outbound Traffic Through the Proxy",
    "content": "With the variables set, most clients route automatically. To be explicit per request: . Python: . import os, requests p = os.environ[\"HTTPS_PROXY\"] r = requests.get(\"https://api.example.com/data\", proxies={\"http\": p, \"https\": p}) print(r.json()) . Node.js: . const { ProxyAgent, fetch } = require('undici'); const dispatcher = new ProxyAgent(process.env.HTTPS_PROXY); const r = await fetch('https://api.example.com/data', { dispatcher }); console.log(await r.json()); . PHP: . $proxy = parse_url(getenv('HTTPS_PROXY')); $ch = curl_init('https://api.example.com/data'); curl_setopt($ch, CURLOPT_PROXY, $proxy['host'] . ':' . $proxy['port']); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxy['user'] . ':' . $proxy['pass']); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); echo curl_exec($ch); . For a tool that ignores the standard variables, pass it explicitly, for example curl -x \"$HTTPS_PROXY\" https://api.example.com/data. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-2-route-outbound-traffic-through-the-proxy",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-2-route-outbound-traffic-through-the-proxy"
  },"176": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Connecting to Firewalled Databases with QGTunnel",
    "content": "For database connections such as PostgreSQL, MySQL, or MongoDB, use QuotaGuard’s SOCKS5 proxy through QGTunnel. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#connecting-to-firewalled-databases-with-qgtunnel",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#connecting-to-firewalled-databases-with-qgtunnel"
  },"177": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Step 1: Include QGTunnel in your app",
    "content": "curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Commit bin/qgtunnel and vendor/nss_wrapper/ to your repository. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-1-include-qgtunnel-in-your-app",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-1-include-qgtunnel-in-your-app"
  },"178": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Step 2: Prefix your start command",
    "content": "CC_RUN_COMMAND overrides the default start command on most non-Docker Clever Cloud runtimes. Prefix your normal start command with bin/qgtunnel: . clever env set CC_RUN_COMMAND \"bin/qgtunnel &lt;your normal start command&gt;\" . You can only set one CC_RUN_COMMAND. To run more than one command, chain them with ; or &amp;&amp;, or call a shell script. CC_RUN_COMMAND has no effect on Docker; for a Docker image, set the command in your Dockerfile instead. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-2-prefix-your-start-command",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-2-prefix-your-start-command"
  },"179": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Step 3: Configure the tunnel in the dashboard",
    "content": "In your QuotaGuard dashboard, go to Setup &gt; QGTunnel Configuration &gt; Create a Tunnel. | Setting | Value | . | Remote Destination | tcp://your-database.example.com:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Transparent mode overrides DNS so your driver connects to the original hostname while traffic exits from your static IPs. Set QUOTAGUARDSTATIC_URL as well, since QGTunnel reads it. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-3-configure-the-tunnel-in-the-dashboard",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#step-3-configure-the-tunnel-in-the-dashboard"
  },"180": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Testing Your App Is Using the Static IP",
    "content": "SSH into a running instance and check the egress IP. If you have not linked the app yet, run clever link --org &lt;your_org_id&gt; &lt;your_app_id&gt; first: . clever ssh -c \"curl -x \\\"$HTTPS_PROXY\\\" https://ip.quotaguard.com\" . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match one of the two static IPs in your QuotaGuard dashboard. Run it again to see both (load-balanced). ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#testing-your-app-is-using-the-static-ip",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#testing-your-app-is-using-the-static-ip"
  },"181": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "A Note on Clever Cloud’s VPN Add-On",
    "content": "Clever Cloud offers a VPN add-on that provides a single fixed-IP outgoing node, where you enumerate the CIDR ranges to route. QuotaGuard differs in three ways that matter for most teams: there is no tunnel to stand up or CIDR list to maintain, you get a load-balanced pair of IPs rather than a single node, and the same two IPs work across every platform you run, not just Clever Cloud. Choose whichever fits. This page documents the QuotaGuard path. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#a-note-on-clever-clouds-vpn-add-on",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#a-note-on-clever-clouds-vpn-add-on"
  },"182": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#troubleshooting",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#troubleshooting"
  },"183": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Proxy not applied after setting the variable",
    "content": "Clever Cloud applies environment changes on redeploy. Run clever restart (or trigger a deployment) and retest. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#proxy-not-applied-after-setting-the-variable",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#proxy-not-applied-after-setting-the-variable"
  },"184": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "The credentials are wrong. Confirm with clever env and match them to your QuotaGuard dashboard. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#407-proxy-authentication-required"
  },"185": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Wrong IP returned",
    "content": "The client is not honoring the variables. Pass the proxy explicitly per request, as shown above. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#wrong-ip-returned",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#wrong-ip-returned"
  },"186": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Connection timeout",
    "content": "Confirm the app can reach external networks and that nothing blocks port 9293. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#connection-timeout",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#connection-timeout"
  },"187": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most Clever Cloud apps, Static is the right product. Choose QuotaGuard Shield if your app handles regulated data or your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#quotaguard-static-vs-quotaguard-shield"
  },"188": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/#ready-to-get-started"
  },"189": {
    "doc": "QuotaGuard and Clever Cloud Integration Guide",
    "title": "QuotaGuard and Clever Cloud Integration Guide",
    "content": "QuotaGuard Static gives your Clever Cloud apps two static outbound IP addresses from one environment variable. Set HTTP_PROXY and HTTPS_PROXY with the Clever Tools CLI, redeploy, and every outbound request exits from one of your two static IPs across every Clever Cloud region. ",
    "url": "/docs/platforms/clever-cloud/clever-cloud-integration/",
    "relUrl": "/docs/platforms/clever-cloud/clever-cloud-integration/"
  },"190": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Why Cloud Run and Cloud Functions Need a Static IP",
    "content": "By default, Cloud Run and Cloud Functions send outbound traffic from a dynamic, shared Google IP pool, and the address changes from request to request. An API or database that only accepts a known source IP rejects them, and there is no fixed address you can allowlist. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#why-cloud-run-and-cloud-functions-need-a-static-ip",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#why-cloud-run-and-cloud-functions-need-a-static-ip"
  },"191": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to your Cloud Run or Cloud Functions region to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#getting-started",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#getting-started"
  },"192": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Step 1: Set the Proxy as an Environment Variable",
    "content": "For a Cloud Run service, set it on deploy or update: . gcloud run deploy my-service \\ --set-env-vars QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . For a Cloud Function (2nd gen or 1st gen), set it on deploy: . gcloud functions deploy my-function \\ --set-env-vars QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . You can also set it in the console under Edit &amp; Deploy New Revision &gt; Variables &amp; Secrets for Cloud Run, or the equivalent runtime environment variables panel for Cloud Functions. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#step-1-set-the-proxy-as-an-environment-variable",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#step-1-set-the-proxy-as-an-environment-variable"
  },"193": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Step 2: Route Outbound Traffic Through the Proxy",
    "content": "Attach the proxy to the calls that need a static IP. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#step-2-route-outbound-traffic-through-the-proxy",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#step-2-route-outbound-traffic-through-the-proxy"
  },"194": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Node.js",
    "content": "const { ProxyAgent, fetch } = require('undici'); const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const res = await fetch('https://api.example.com/data', { dispatcher }); console.log(await res.json()); . ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#nodejs",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#nodejs"
  },"195": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Python",
    "content": "import os, requests p = os.environ[\"QUOTAGUARDSTATIC_URL\"] r = requests.get(\"https://api.example.com/data\", proxies={\"http\": p, \"https\": p}) print(r.json()) . ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#python",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#python"
  },"196": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Go",
    "content": "proxyURL, _ := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) client := &amp;http.Client{Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyURL)}} resp, _ := client.Get(\"https://api.example.com/data\") defer resp.Body.Close() . For a database connection over SOCKS5, use QuotaGuard’s SOCKS5 proxy on port 1080, or run QGTunnel inside your container image for a transparent tunnel. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#go",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#go"
  },"197": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Testing Your Service Is Using the Static IP",
    "content": "Cloud Run and Cloud Functions are serverless, so test through an endpoint rather than a shell. Add a temporary route or function that fetches the IP check endpoint through the proxy: . import os, requests def check(request): p = os.environ[\"QUOTAGUARDSTATIC_URL\"] return requests.get(\"https://ip.quotaguard.com\", proxies={\"http\": p, \"https\": p}).json() . Deploy and call it. Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your QuotaGuard dashboard. Call it more than once to see both (load-balanced). ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#testing-your-service-is-using-the-static-ip",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#testing-your-service-is-using-the-static-ip"
  },"198": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "A Note on the Native Cloud NAT Path",
    "content": "Google’s native answer is to attach the service to a VPC with Direct VPC egress or a Serverless VPC Access connector, route all egress through a Cloud NAT gateway, and reserve a static IP for that gateway. It works, and it is the right choice for some architectures. It also has real operational weight: you build and maintain the VPC connector, the Cloud Router, and the NAT gateway per region, and Cloud NAT allocates a fixed number of source ports per IP, so high-concurrency workloads can exhaust ports and start timing out until you add more NAT IPs. QuotaGuard is one environment variable, gives you two IPs that work across every GCP region and every other platform you run, and adds nothing to your VPC. Choose whichever fits. This page documents the QuotaGuard path. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#a-note-on-the-native-cloud-nat-path",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#a-note-on-the-native-cloud-nat-path"
  },"199": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#troubleshooting",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#troubleshooting"
  },"200": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "The credentials are wrong. Confirm the QUOTAGUARDSTATIC_URL value matches your QuotaGuard dashboard exactly. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#407-proxy-authentication-required"
  },"201": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Wrong IP returned",
    "content": "The proxy is not attached to the request. Confirm you applied the dispatcher, proxies dict, or transport on the specific call, and that the env var is read at runtime. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#wrong-ip-returned",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#wrong-ip-returned"
  },"202": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Connection timeout",
    "content": "Confirm the service has outbound internet access and that nothing blocks port 9293. If you also have a VPC connector with all-traffic egress, it may be routing around the proxy; route only the calls you intend through QuotaGuard. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#connection-timeout",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#connection-timeout"
  },"203": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most Cloud Run and Cloud Functions apps, Static is the right product. Choose QuotaGuard Shield if your workload handles regulated data or your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#quotaguard-static-vs-quotaguard-shield"
  },"204": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Google Cloud Run Static IP Without Cloud NAT . Contact Support . ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/#ready-to-get-started"
  },"205": {
    "doc": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "title": "QuotaGuard and Google Cloud Run / Cloud Functions Integration Guide",
    "content": "QuotaGuard Static IPs give your Cloud Run services and Cloud Functions two fixed outbound IP addresses from one environment variable, with no VPC connector or Cloud NAT to build. Set QUOTAGUARDSTATIC_URL, route your outbound calls through it, and every request exits from one of your two static IPs. ",
    "url": "/docs/platforms/google-cloud/cloud-run-functions-integration/",
    "relUrl": "/docs/platforms/google-cloud/cloud-run-functions-integration/"
  },"206": {
    "doc": "MongoDB's Expanding Hyphens in URL’s with Cluster URL’s",
    "title": "MongoDB's Expanding Hyphens in URL’s with Cluster URL’s",
    "content": "We have seen customers trip up over a very subtle problem with the expansion from the mongodb+srv URL to the cluster URLs. If your mongodb+srv URL is yourhost-abcd123.mongodb.net with a hyphen (-) between yourhost and abcd123. That means when you do the URL expansion for the tunnels, you need to use the hyphen as well. So that would mean your tunnels need to be setup as: . Copy yourhost-shard-00-01-abcd123.mongodb.net:27017 yourhost-shard-00-00-abcd123.mongodb.net:27017 yourhost-shard-00-02-abcd123.mongodb.net:27017 . Note the hyphens instead of the periods before abcd123. The same is true if you use a “.” in the mongodb+srv URL, for example yourhost.abcd123.mongodb.net . Copy yourhost-shard-00-01.abcd123.mongodb.net:27017 yourhost-shard-00-00.abcd123.mongodb.net:27017 yourhost-shard-00-02.abcd123.mongodb.net:27017 . Hopefully this helps avoid this slight pitfall and gets you up and running. If you’re still having problems, write to us at Support. ",
    "url": "/docs/databases/mongodb/cluster-url-hyphen-issue/",
    "relUrl": "/docs/databases/mongodb/cluster-url-hyphen-issue/"
  },"207": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Guided setup (Quickstart): Static from a local Codex command",
    "content": "Use an existing QuotaGuard Static subscription, a trusted local Codex CLI installation already signed in, and curl. No new OpenAI key or destination API token is needed for this public IP check. This path and the helper below are Static-only. ",
    "url": "/docs/automation/codex-integration/#quickstart-static-from-a-local-codex-command",
    "relUrl": "/docs/automation/codex-integration/#quickstart-static-from-a-local-codex-command"
  },"208": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "1. Get the Static connection and both IPs",
    "content": "Open Setup → Outbound and find your connection details. Have your approved secret manager or trusted launcher supply the complete assigned HTTP proxy URL as QUOTAGUARDSTATIC_URL. Use subscription proxy credentials, not your account login. Keep both dashboard IPs for comparison. Never paste credentials into Codex prompts, repository files, commands or logs. ",
    "url": "/docs/automation/codex-integration/#1-get-the-static-connection-and-both-ips",
    "relUrl": "/docs/automation/codex-integration/#1-get-the-static-connection-and-both-ips"
  },"209": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "2. Configure command networking before testing",
    "content": "Review config-combined.toml. Replace assigned-proxy-host.example with your subscription’s exact public proxy hostname, without credentials. Merge its keys into your existing ~/.codex/config.toml: put the root default_permissions key before every table header, merge existing tables rather than appending duplicates, and preserve required runtime variables. Migrate legacy include_only / exclude rules together; do not mix them with filters in one layer. The example enables command networking, sandbox-proxy enforcement and upstream chaining, and allows the proxy and IP-check hosts. Use the existing approved policy if it already permits this route; this example is not required in every environment. Permission profiles cannot be mixed with legacy sandbox_mode / sandbox_workspace_write settings. Have your administrator resolve managed-policy conflicts rather than replacing or bypassing them. See the combined configuration and merging notes for the complete inline example. ",
    "url": "/docs/automation/codex-integration/#2-configure-command-networking-before-testing",
    "relUrl": "/docs/automation/codex-integration/#2-configure-command-networking-before-testing"
  },"210": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "3. Launch Codex with the upstream environment",
    "content": "Save and review start-codex.sh in your trusted project. From the trusted parent shell, where the secret launcher already supplied QUOTAGUARDSTATIC_URL, run: . bash ./start-codex.sh . The launcher sets the upstream proxy before Codex starts. Inside a running command sandbox, preserve its injected proxy variables; do not rerun the launcher or replace them to evade policy. ",
    "url": "/docs/automation/codex-integration/#3-launch-codex-with-the-upstream-environment",
    "relUrl": "/docs/automation/codex-integration/#3-launch-codex-with-the-upstream-environment"
  },"211": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "4. Check the IP from Codex’s command tool",
    "content": "Ask Codex to run this command. It uses the effective proxy chain and sends no destination authorization header: . curl -q --globoff --fail --silent --show-error \\ --connect-timeout 10 --max-time 30 --write-out '\\nHTTP %{http_code}\\n' \\ https://ip.quotaguard.com . Success means HTTP 200, curl exit 0, and a returned IP matching either dashboard IP. Requests need not alternate. This verifies curl in that command context, not every provider, MCP or browser connection. If blocked, use diagnostics; keep network controls intact. A direct comparison is optional only where your policy permits it. ",
    "url": "/docs/automation/codex-integration/#4-check-the-ip-from-codexs-command-tool",
    "relUrl": "/docs/automation/codex-integration/#4-check-the-ip-from-codexs-command-tool"
  },"212": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "QuotaGuard Shield: HTTPS-proxy client on the host",
    "content": "Use this path for a customer-controlled HTTPS client on a trusted host outside Codex’s network-proxied command sandbox. Keep the Static sandbox quickstart above separate; start-codex.sh, config-combined.toml and qg_get.py remain Static examples. | Obtain the Shield subscription’s complete assigned https:// proxy URL (port 9294) and both dashboard IPs. Have your approved secret launcher supply that URL as both https_proxy and HTTPS_PROXY to the host-shell client. Do not paste it into command arguments or change a Static URL’s scheme. Preserve required network policy; neither no_proxy nor NO_PROXY may bypass the IP-check host. | Use a curl build with HTTPS-proxy support and permitted DNS/access to the assigned Shield host and port. Keep verification of both proxy and destination certificates enabled; see curl’s proxy transport reference. | In that configured host shell, run: | . curl -q --globoff --fail --silent --show-error \\ --connect-timeout 10 --max-time 30 --write-out '\\nHTTP %{http_code}\\n' \\ https://ip.quotaguard.com . Require HTTP 200, curl exit 0 and an IP matching either Shield dashboard address. This configures that host client’s route; it does not configure Codex’s provider or sandbox upstream. For a customer-operated MCP service, configure its own compatible HTTPS-proxy client on the API-facing host, following the MCP process reference. Keep sandbox-injected proxy variables intact. ",
    "url": "/docs/automation/codex-integration/#quotaguard-shield-https-proxy-client-on-the-host",
    "relUrl": "/docs/automation/codex-integration/#quotaguard-shield-https-proxy-client-on-the-host"
  },"213": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Programmatic setup and reference: routes, clients and troubleshooting",
    "content": "The sections below retain the deeper setup and request examples. The quickstart above is the ordered path for the first Static IP check. ",
    "url": "/docs/automation/codex-integration/#reference-routes-clients-and-troubleshooting",
    "relUrl": "/docs/automation/codex-integration/#reference-routes-clients-and-troubleshooting"
  },"214": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Identify the network leg",
    "content": "Use QuotaGuard when a command or customer-operated MCP service used by OpenAI Codex must call a public HTTPS API that restricts access by source IP. Configure the client making that request, then allowlist both QuotaGuard addresses at the destination. | Traffic | Configuration owner and scope | . | Codex model-provider requests | The Codex client/provider network path. Shell filters control spawned commands, not provider routing. A model gateway base_url is not a forward-proxy setting. | . | Commands and subprocesses | The actual client, its environment, and the command sandbox. curl, a Python HTTP client and a database driver can use different transports. | . | Local stdio MCP server calling an API | The MCP process environment and the server’s outbound HTTP client. stdio itself has no network egress. | . | Remote MCP server | Codex-to-MCP and MCP-to-API are separate legs. Configure the API-facing server if you control it. | . | Hosted MCP/apps/connectors | Operator-controlled execution. Local proxy settings do not establish an egress route there. | . | Browser, browser automation and hosted search | Their own client or service controls. Browser subprocesses may need explicit browser proxy configuration; a shell variable alone proves nothing about browser traffic. | . OpenAI documents shell environments, MCP, and the command sandbox proxy separately. Keep a route record for each relevant leg: execution host, requesting client, proxy configuration and evidence at the destination. A successful IP check establishes only the checked client path. ",
    "url": "/docs/automation/codex-integration/#identify-the-network-leg",
    "relUrl": "/docs/automation/codex-integration/#identify-the-network-leg"
  },"215": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Select the product and allowlist both addresses",
    "content": "This guide covers QuotaGuard’s managed outbound static-IP proxy service at quotaguard.com, unrelated to projects named QuotaGuard that monitor quotas. For direct OpenAI API traffic, use the separate OpenAI API integration. Use proxy connection details for the assigned proxy hostname, authenticated connection URL and static IPs. In the destination’s IP restriction settings, add both assigned IPs, as individual addresses or /32 CIDRs when required. Either address can be used; repeated requests need not alternate. See why two IP addresses. The examples below use QuotaGuard Static’s authenticated HTTP proxy URL, on its assigned hostname and HTTP proxy port (9293). Copy the exact QUOTAGUARDSTATIC_URL from the subscription connection details rather than constructing credentials or resolving a hostname for allowlist addresses. An HTTPS destination uses CONNECT through that HTTP proxy. Destination TLS stays intact; Static does not encrypt the client-to-proxy hop or its proxy authentication. How proxying works explains the tunnel. | Outbound property | QuotaGuard Static | QuotaGuard Shield | . | Client-to-proxy hop | Plaintext HTTP proxy connection | TLS-encrypted HTTPS proxy connection | . | Destination HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Example fit | Non-regulated HTTPS client with HTTP proxy support | Regulated workload or policy requiring TLS on the proxy hop, with compatible client | . | Direct starting price | $19/month | $29/month | . Choose QuotaGuard Shield if that proxy hop must use TLS. It needs an HTTPS-proxy-capable client or a documented adapter. Do not replace http:// with https:// on a Static connection string: use the assigned Shield connection information. The Shield HTTPS-proxy setup guidance explains the HTTPS transport, compatible clients and QGPass adapter (the surrounding provisioning instructions are Heroku-specific). An adapter needs its own process and policy review. This guide’s helper accepts Static HTTP proxies only. For codex-cli 0.164.0, keep this guide’s command-sandbox upstream recipe on Static. Use the Shield host-client path for an HTTPS-proxy-capable client outside that chain. These are redacted, annotated dashboard captures. Use your own subscription’s current connection URL and both assigned IPs. The numbered markers identify connection information, both IP addresses, and the connection test. QuotaGuard Static. Redacted, annotated dashboard capture. Open the image for full size; supply your own subscription’s values. QuotaGuard Shield. Redacted, annotated dashboard capture. Open the image for full size; supply your own subscription’s values. The qg_get.py helper supports Static only. For Shield, use the HTTPS-proxy host-client setup above. Starter, Production and Business use shared static IP pairs. Enterprise provides dedicated IPs and proxy resources. Shared IP allowlisting is not exclusive to one customer; retain destination authentication. Choose isolation independently from encryption; consult current pricing. IP allowlisting supplements the destination’s tokens, roles and scopes. A proxy cannot make a private-only network reachable. Use the destination’s supported private connectivity. A fixed egress IP or managed NAT on your own execution host can be a suitable native alternative. For raw database TCP, use the appropriate SOCKS/tunnel client rather than the HTTP-only examples below. ",
    "url": "/docs/automation/codex-integration/#select-the-product-and-allowlist-both-addresses",
    "relUrl": "/docs/automation/codex-integration/#select-the-product-and-allowlist-both-addresses"
  },"216": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Supply the local CLI environment safely",
    "content": "Examples target a trusted local CLI execution host with Python 3.11+ and curl. Inspect codex --version, python3 --version and curl --version locally to record the versions used for your deployment. Configuration follows the current official OpenAI references below; permission profiles are beta and the command proxy is experimental. Supply QUOTAGUARDSTATIC_URL using your approved local secret manager or trusted process launcher. Use the complete assigned HTTP URL, with credentials correctly URL encoded. Keep it out of prompts, repository files, command arguments, shell tracing and logs. The name is our application convention, not a special Codex configuration key. Save this launcher as start-codex.sh and run it from the trusted project directory after your launcher has supplied the environment: . #!/usr/bin/env bash # Run from the trusted project directory. The secret is supplied by your launcher. set -euo pipefail set +x : \"${QUOTAGUARDSTATIC_URL:?Provide the Static HTTP URL through your secret manager}\" export QUOTAGUARDSTATIC_URL # Compatible clients may read these; this does not configure every Codex tool. export HTTP_PROXY=\"$QUOTAGUARDSTATIC_URL\" HTTPS_PROXY=\"$QUOTAGUARDSTATIC_URL\" export http_proxy=\"$QUOTAGUARDSTATIC_URL\" https_proxy=\"$QUOTAGUARDSTATIC_URL\" export NO_PROXY='localhost,127.0.0.1,::1' no_proxy='localhost,127.0.0.1,::1' exec codex \"$@\" . bash start-codex.sh . The standard proxy variables help clients that honor them. They do not force every SDK, browser or Codex capability through QuotaGuard. NO_PROXY keeps loopback direct; do not add a protected destination that must use QuotaGuard. Keep proxy credentials separate from destination API credentials. Any child process receiving a credential-bearing environment can read it: only run trusted code in this environment. ",
    "url": "/docs/automation/codex-integration/#supply-the-local-cli-environment-safely",
    "relUrl": "/docs/automation/codex-integration/#supply-the-local-cli-environment-safely"
  },"217": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Preserve the variables in command subprocesses",
    "content": "Merge this table into ~/.codex/config.toml (or your existing configured user location). Codex config basics describes config layers and trusted-project overrides. Preserve existing unrelated configuration; do not append duplicate TOML tables. # Merge into your local user config; never store proxy credentials here. [shell_environment_policy] inherit = \"all\" ignore_default_excludes = false [shell_environment_policy.filters] \"PATH\" = \"include\" \"HOME\" = \"include\" \"TMPDIR\" = \"include\" \"SYSTEMROOT\" = \"include\" \"QUOTAGUARDSTATIC_URL\" = \"include\" \"HTTP_PROXY\" = \"include\" \"HTTPS_PROXY\" = \"include\" \"NO_PROXY\" = \"include\" \"QG_TARGET_URL\" = \"include\" \"QG_DESTINATION_BEARER\" = \"include\" \"QG_AUTH_HOST\" = \"include\" . Starting from inherit = \"all\" makes the proxy values candidates for inheritance; the include rules then keep only matching names. With inherit = \"core\", an include rule does not retrieve a variable omitted from the starting environment. Add other non-secret runtime names your specific client needs. Do not put credentials in set or in project configuration. Filters match case-insensitively, so uppercase patterns also match lowercase proxy names. Automatic exclusions run first when ignore_default_excludes = false; custom exclusions, set values and the include allowlist follow. Includes cannot restore an earlier exclusion. Legacy: exclude and include_only arrays still work, but must not coexist with filters in the same configuration layer. Migrate the existing rules together. See OpenAI’s shell policy reference. In a command actually spawned by Codex, inspect presence without printing values: . python3 - &lt;&lt;'PY' import os for name in (\"QUOTAGUARDSTATIC_URL\", \"HTTPS_PROXY\", \"https_proxy\", \"NO_PROXY\"): print(name + \": \" + (\"present\" if os.environ.get(name) else \"missing\")) PY . Expected: required variables report present. This checks inheritance, not routing. Login-shell initialization, shell snapshots or wrappers can change the environment; inspect the final spawned command. Environment filtering is not a security boundary against credential files or helpers. ",
    "url": "/docs/automation/codex-integration/#preserve-the-variables-in-command-subprocesses",
    "relUrl": "/docs/automation/codex-integration/#preserve-the-variables-in-command-subprocesses"
  },"218": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "App and IDE execution",
    "content": "The CLI and IDE share configuration layers, but each running process needs the environment values. Exports in a terminal do not retroactively configure an already-running app, extension host, remote machine or container. Use that surface’s approved environment injection and restart the affected process, then repeat the presence check in its actual command tool. Do not assume a ~/.codex/.env recipe applies to every current surface: the current public environment reference does not establish it as a universal secret-loading mechanism. ",
    "url": "/docs/automation/codex-integration/#app-and-ide-execution",
    "relUrl": "/docs/automation/codex-integration/#app-and-ide-execution"
  },"219": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Permit the command network route",
    "content": "Environment variables and network permission are separate. When using the current permission model, this is a complete minimal policy example for a workspace-editing session. Replace assigned-proxy-host.example with the exact assigned public proxy hostname. Add an approved API hostname only when needed; keep the IP-check host only if the diagnostic is permitted. ",
    "url": "/docs/automation/codex-integration/#permit-the-command-network-route",
    "relUrl": "/docs/automation/codex-integration/#permit-the-command-network-route"
  },"220": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Combined CLI configuration",
    "content": "The inline example and config-combined.toml download are identical. Do not concatenate the separate environment and permission fragments: TOML keys after [shell_environment_policy.filters] stay inside that table, so an appended default_permissions would not be a root key. # Merge keys into existing user config; do not overwrite it or concatenate fragments. # This root key MUST precede every table header. default_permissions = \"qg-api\" # Merge into your local user config; never store proxy credentials here. [shell_environment_policy] inherit = \"all\" ignore_default_excludes = false [shell_environment_policy.filters] \"PATH\" = \"include\" \"HOME\" = \"include\" \"TMPDIR\" = \"include\" \"SYSTEMROOT\" = \"include\" \"QUOTAGUARDSTATIC_URL\" = \"include\" \"HTTP_PROXY\" = \"include\" \"HTTPS_PROXY\" = \"include\" \"NO_PROXY\" = \"include\" \"QG_TARGET_URL\" = \"include\" \"QG_DESTINATION_BEARER\" = \"include\" \"QG_AUTH_HOST\" = \"include\" [features.network_proxy] enabled = true allow_upstream_proxy = true [permissions.qg-api] extends = \":workspace\" [permissions.qg-api.network] enabled = true allow_upstream_proxy = true [permissions.qg-api.network.domains] \"assigned-proxy-host.example\" = \"allow\" \"ip.quotaguard.com\" = \"allow\" # Add only the exact approved API host when you need that optional destination. # \"api.vendor.example\" = \"allow\" . Merge deliberately: permission profiles and older sandbox_mode / sandbox_workspace_write settings do not compose. Remove conflicting legacy settings only as part of your approved configuration migration; do not bypass organizational policy. Managed requirements can constrain which profiles and destinations are available. See OpenAI permissions. network.enabled permits commands to use networking. The command network proxy is experimental and version-sensitive. This example explicitly enables it; allowed domains alone do not activate enforcement. Existing managed requirements may already activate the proxy, so do not infer effective behavior from a universal default. With network enabled and the proxy off, profile domain rules are not enforced on direct networking. allow_upstream_proxy allows the sandbox command proxy to chain through an upstream proxy from the environment. Leave the command proxy’s loopback listener defaults alone: proxy_url is its listener, not the field for your authenticated QuotaGuard URL. Preserve the sandbox-provided proxy variables inside the command; use the launcher environment for the upstream connection. Do not overwrite them inside a running sandbox to try to evade policy. The exact executor must support the chain and the effective policy must permit it. Configuration reference documents these controls. Administrator [experimental_network] requirements can also start and constrain the command proxy. Check effective enabled, domain rules and allow_upstream_proxy. In supported Codex Cloud paths an explicit allow_local_binding = false can block upstream-proxy reachability; that Cloud behavior is not a reason to enable broad local access on your laptop. Inherited denies and environment internet restrictions still matter. See managed network requirements. For commands under an active managed sandbox proxy, prefer the sandbox-injected proxy route and verify its upstream behavior. The explicit curl wrapper in the next section is for a customer-controlled client path that policy permits to reach QuotaGuard directly. It is not a workaround for a blocked sandbox. Keep both paths distinct in your route record. ",
    "url": "/docs/automation/codex-integration/#combined-cli-configuration",
    "relUrl": "/docs/automation/codex-integration/#combined-cli-configuration"
  },"221": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Host-shell helper: direct access to QuotaGuard",
    "content": "Use this helper only from a trusted host shell or another explicitly permitted direct-route context. It selects QuotaGuard explicitly and needs DNS resolution and direct connectivity to the assigned proxy host. Inside Codex’s network-proxied command sandbox, use the quickstart curl command with the injected proxy environment instead. Do not run this direct-route helper in a CLI 0.164.0 sandbox that cannot resolve the proxy host; use the injected route without bypassing policy. Save the following complete file as qg_get.py. It reads the secret from the environment and supplies curl configuration on stdin, keeping the proxy URL out of curl’s command arguments. It ignores .curlrc, disables bypass for this explicit request, retains TLS verification, has timeouts, follows no redirects and suppresses API response bodies. It performs only an HTTPS GET. #!/usr/bin/env python3 \"\"\"Host-shell/direct-route HTTPS GET through Static; credentials go to curl on stdin.\"\"\" import os import subprocess import sys from urllib.parse import urlsplit class IPCheckBearerError(ValueError): \"\"\"The public IP check must never receive destination credentials.\"\"\" def config_quote(value): if any(ord(c) &lt; 32 or ord(c) == 127 for c in value): raise ValueError(\"Control characters are not allowed\") return '\"' + value.replace('\\\\', '\\\\\\\\').replace('\"', '\\\\\"') + '\"' def build_config(proxy, target, bearer=None, auth_host=None): p, t = urlsplit(proxy), urlsplit(target) if (p.scheme != \"http\" or not p.hostname or not p.username or not p.password or p.path not in (\"\", \"/\") or p.query or p.fragment): raise ValueError(\"Expected the authenticated Static HTTP proxy URL\") if (t.scheme != \"https\" or not t.hostname or t.username or t.password or t.fragment): raise ValueError(\"Expected an HTTPS destination without URL credentials\") auth = [] if bearer: if t.hostname.lower() == \"ip.quotaguard.com\": raise IPCheckBearerError(\"Destination bearer is not allowed for the IP check\") if (not auth_host or t.hostname.lower() != auth_host.lower() or t.port not in (None, 443)): raise ValueError(\"Destination credential requires its approved HTTPS host\") auth = [\"header = \" + config_quote(\"Authorization: Bearer \" + bearer)] return \"\\n\".join([ \"proxy = \" + config_quote(proxy), \"url = \" + config_quote(target), 'noproxy = \"\"', 'proto = \"=https\"', \"connect-timeout = 10\", \"max-time = 30\", \"silent\", \"show-error\", \"fail\", \"globoff\", \"write-out = \" + config_quote(r\"\\nQG_STATUS %{http_connect} %{response_code}\\n\"), ] + auth + [\"\\n\"]) def main(): try: config = build_config(os.environ[\"QUOTAGUARDSTATIC_URL\"], os.environ[\"QG_TARGET_URL\"], os.environ.get(\"QG_DESTINATION_BEARER\"), os.environ.get(\"QG_AUTH_HOST\")) # -q must be first: ignore ~/.curlrc, including redirects or tracing. # Capture failures; do not print raw stderr, URLs, or response bodies. result = subprocess.run([\"curl\", \"-q\", \"--config\", \"-\"], input=config, text=True, capture_output=True, timeout=35, check=False) except IPCheckBearerError: print(\"IP check rejects QG_DESTINATION_BEARER. Run: \" \"env -u QG_DESTINATION_BEARER QG_TARGET_URL=https://ip.quotaguard.com \" \"python3 qg_get.py\", file=sys.stderr) return 2 except (KeyError, ValueError): print(\"Missing or invalid proxy/destination configuration\", file=sys.stderr) return 2 except (OSError, subprocess.TimeoutExpired): print(\"curl unavailable or request timed out\", file=sys.stderr) return 2 body, marker, status = result.stdout.rpartition(\"\\nQG_STATUS \") codes = status.strip().split() valid_status = (bool(marker) and len(codes) == 2 and all(len(code) == 3 and code.isascii() and code.isdigit() for code in codes)) connect, response = map(int, codes) if valid_status else (None, None) if result.returncode: hints = { 5: \"Proxy DNS lookup failed; check the assigned hostname and permitted DNS/network route.\", 6: \"Host DNS lookup failed; check hostname and resolver/network policy.\", 7: \"Connection failed; check proxy host/port, reachability and network policy.\", 22: \"HTTP error (400 or higher); confirm whether the proxy or destination rejected it. Check authentication and policy.\", 28: \"Request timed out; check reachability, network policy and upstream availability.\", 35: \"TLS handshake failed; check client transport and approved CA configuration.\", 56: \"Receive or CONNECT failure; possible proxy rejection, policy denial or connection interruption. Exit code alone cannot identify the cause.\", 60: \"TLS certificate verification failed; check approved CA trust. Do not disable verification.\", } hint = hints.get(result.returncode, \"Check the requesting client and permitted route with sanitized diagnostics.\") detail = \"\" if valid_status: detail = f\" CONNECT HTTP {connect:03d}; destination HTTP {response:03d} (000 = not reported).\" if connect == 407: hint = \"Proxy authentication rejected; check assigned connection credentials privately.\" elif connect &gt;= 400: hint = \"Proxy rejected CONNECT; check its authentication and policy.\" elif 200 &lt;= connect &lt; 300 and response &gt;= 400: hint = \"Destination returned an HTTP error after CONNECT; check its authentication, scope and IP policy.\" print(f\"Request failed (curl exit {result.returncode}).{detail} {hint}\", file=sys.stderr) return result.returncode if not valid_status: print(\"curl status fields unavailable; request result not verified.\", file=sys.stderr) return 2 # Print only the expected IP-check response, never arbitrary API payloads. if os.environ[\"QG_TARGET_URL\"] == \"https://ip.quotaguard.com\": print(body.strip()) else: print(\"HTTPS GET succeeded; response body suppressed\") return 0 if __name__ == \"__main__\": raise SystemExit(main()) . For the host-shell/direct-route helper, run this only where the host is permitted to reach QuotaGuard directly. Use quickstart curl for a network-proxied Codex command sandbox: . # Explicit Static client path; only where direct access to QuotaGuard is permitted. env -u QG_DESTINATION_BEARER QG_TARGET_URL=https://ip.quotaguard.com python3 qg_get.py # Environment-selected path, including an active sandbox proxy and its upstream. # -q ignores ~/.curlrc; no --proxy override is added here. curl -q --fail --silent --show-error --connect-timeout 10 --max-time 30 \\ https://ip.quotaguard.com . Run the IP check without QG_DESTINATION_BEARER; env -u removes it only for this invocation and leaves the parent environment unchanged. The helper rejects bearer credentials for the IP-check host with a specific safe error, even if QG_AUTH_HOST is set to that host. The MCP sample only forwards its listed variables; it does not set a bearer token. Expected: HTTP 200 and one of the two assigned QuotaGuard IPs. Treat the response as the service returns it, rather than depending on a particular JSON envelope. An environment-selected check succeeds only if that particular client’s effective proxy chain reaches QuotaGuard. Neither check proves another SDK, MCP connection, browser or model request uses the same route. For an existing approved HTTPS API’s read-only resource, set QG_TARGET_URL to that resource and run qg_get.py. Expected without destination authentication: the API may reject the request even though proxy routing worked. The wrapper’s success message means an HTTP GET succeeded, not that a business operation or all authentication scopes were validated. For a destination that uses bearer authentication, the wrapper also supports QG_DESTINATION_BEARER, supplied by the same approved secret launcher. Set the non-secret QG_AUTH_HOST to the exact approved API hostname; the script rejects a credential on another host, a non-443 port or the IP-check host. It sends destination authorization separately from proxy authentication and follows no redirects. Example invocation, with the bearer value already injected: . QG_TARGET_URL=\"$APPROVED_READ_ONLY_API_URL\" \\ QG_AUTH_HOST=\"$APPROVED_API_HOST\" python3 qg_get.py . Expected on success: HTTPS GET succeeded; response body suppressed. A client using OAuth refresh, mTLS or another authentication mechanism should use its existing approved implementation with explicit proxy support. Check the destination’s access logs or specific IP-denial response. Do not put tokens in URLs. For application HTTP clients, configure their proxy support explicitly. Reuse the QuotaGuard Node HTTPS reference or Python quick start for the actual stack. Do not assume Node fetch, a package manager and curl have identical environment handling. ",
    "url": "/docs/automation/codex-integration/#host-shell-helper-direct-access-to-quotaguard",
    "relUrl": "/docs/automation/codex-integration/#host-shell-helper-direct-access-to-quotaguard"
  },"222": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Configure MCP at the API-facing process",
    "content": "For an existing customer-operated local stdio MCP server, add a table like this with the actual executable path: . # Existing customer-operated stdio server, with a proxy-aware outbound client. [mcp_servers.protected_api] command = \"/absolute/path/to/your-existing-mcp-server\" env_vars = [\"QUOTAGUARDSTATIC_URL\", \"HTTP_PROXY\", \"HTTPS_PROXY\", \"http_proxy\", \"https_proxy\", \"NO_PROXY\", \"no_proxy\"] . env_vars forwards named values from the local Codex process. Configure the server’s own HTTP client to use that proxy, or explicitly read QUOTAGUARDSTATIC_URL in its outbound client configuration. Forwarding variables alone cannot change a library that ignores them. Keep server authentication in its approved mechanism. These controls come from OpenAI’s stdio MCP reference; shell command filters are not a substitute for MCP configuration. For a remote MCP server you operate, configure QuotaGuard in its deployment for server-to-API calls. If the Codex-to-MCP connection itself is IP restricted, that is a separate client transport requiring its own supported proxy path and destination evidence. A remote MCP url identifies the server, not a forward proxy. Hosted connectors and third-party MCP servers require operator-supported egress controls; local exports do not configure them. Reuse QuotaGuard’s MCP network-path guidance for server placement rather than treating one client setting as a whole MCP architecture. ",
    "url": "/docs/automation/codex-integration/#configure-mcp-at-the-api-facing-process",
    "relUrl": "/docs/automation/codex-integration/#configure-mcp-at-the-api-facing-process"
  },"223": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Handle hosted environments as a separate deployment",
    "content": "OpenAI’s current Cloud environments page distinguishes direct environment variables from network secrets. Programs receive placeholders for network secrets; substitution applies to allowed HTTPS services on port 443 during setup and tasks. This does not establish support for using such a placeholder as QuotaGuard HTTP CONNECT proxy authentication. Use the actual executor’s supported upstream-proxy and credential controls; this guide does not claim an arbitrary hosted connector or Cloud route is compatible. Legacy Codex Cloud: the separate legacy environment page says secrets are available only to setup scripts and are removed before the agent phase. Setup scripts run in a separate shell, so exports do not persist. Do not copy setup-only secrets into .bashrc, a repository file or cached configuration to evade that boundary. Plain environment variables are available throughout a legacy task but expose raw values to task code. Legacy internet settings are also separate from local policy. ChatGPT Work Cloud has separate capability permissions and does not inherit Codex Agent Security requirements. Follow the applicable hosted configuration rather than transplanting local TOML or legacy setup instructions. For a deployment without a supported customer-controlled proxy path, use its supported fixed egress/private connectivity or run the approved API client on infrastructure you control. ",
    "url": "/docs/automation/codex-integration/#handle-hosted-environments-as-a-separate-deployment",
    "relUrl": "/docs/automation/codex-integration/#handle-hosted-environments-as-a-separate-deployment"
  },"224": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Diagnose the failing layer",
    "content": "| Symptom | Likely layer | Action | . | curl exit 5: proxy DNS lookup failed | The proxy hostname could not be resolved | Verify the assigned hostname, DNS access and effective network policy. A policy-blocked resolver can resemble a DNS outage. | . | curl exit 6: host DNS lookup failed | The remote hostname could not be resolved | Check the target hostname and the resolver available to that execution context. | . | curl exit 7: connection failed | Host or proxy could not be reached | Check host/port, service availability, firewall and sandbox permissions. This code alone cannot distinguish them. | . | curl exit 22: HTTP error | An HTTP response was 400 or higher under --fail | Determine whether it came from a proxy or destination using sanitized status/log evidence. Do not assume an IP block or bad password from the exit code alone. | . | curl exit 56: receive / CONNECT failure | Failure receiving network data, possibly a rejected CONNECT or broken connection | Check proxy authentication, upstream-chain compatibility and policy. This code does not reliably identify which one failed. | . | Wrong public IP | Different execution host/client, NO_PROXY, or upstream route absent | Check the exact client and destination logs. Compare explicit and environment-selected paths only where policy permits. Reuse coding-agent wrong-IP guidance. | . | HTTP 407 / CONNECT authentication failure | Proxy authentication | Check assigned host, URL encoding and injected credential presence without printing the URL. curl may report a CONNECT failure rather than a destination status. | . | HTTP 401/403 from the API | Destination authentication, scope, or IP policy | Confirm both assigned IPs, token scope and the API’s specific error. A generic 403 alone does not prove an IP block. | . | Network denied, timeout before CONNECT | Sandbox, firewall, domain policy or unavailable upstream | Check network enablement, proxy activation, both host rules, effective upstream permission and permitted proxy port. Do not disable the sandbox to make the check pass. | . | Terminal works; Codex command fails | Missing inherited environment or different process | Run the presence check in that command, review filters and shell startup behavior, and restart the process that needs new values. | . | CONNECT tunnel closes around 600 seconds | Fixed HTTPS CONNECT tunnel lifetime, independent of idle time | Refresh pooled connections before 600 seconds; reconnect interrupted streams with bounded backoff and safe resume/retry semantics. Heartbeats do not extend this cap. This limit applies to CONNECT tunnels, not every proxy protocol or route. | . | Certificate / TLS failure | Destination trust, corporate CA, or wrong proxy transport | Keep verification enabled. curl uses its own CA options; Codex’s CODEX_CA_CERTIFICATE/SSL_CERT_FILE controls its own HTTPS/login/WebSocket clients. Match Static HTTP vs Shield HTTPS correctly. | . For a credential-safe HTTP failure diagnostic, use the same helper on the permitted host-shell/direct route with your approved read-only destination. Keep its existing secret injection; do not move the proxy URL into --proxy arguments, enable verbose tracing or print raw stderr. The helper sends configuration on stdin and prints only numeric CONNECT/destination status fields and fixed hints on failure: . QG_TARGET_URL=\"$APPROVED_READ_ONLY_API_URL\" \\ QG_AUTH_HOST=\"$APPROVED_API_HOST\" python3 qg_get.py . | CONNECT HTTP 407; destination HTTP 000: proxy authentication was rejected. Check the assigned connection credentials privately. | CONNECT HTTP 200; destination HTTP 401 (or another 4xx): CONNECT succeeded and the destination returned an error. Check destination authentication, scope and IP policy; a 403 alone does not prove an IP block. | 000 means no status was reported. Missing fields, DNS failures and interrupted connections remain ambiguous. In the Codex sandbox, retain quickstart curl and consult sanitized policy/destination logs; do not switch to the direct helper as a workaround. | . These fields use curl’s documented http_connect and response_code; the helper does not expose raw URLs, headers or error bodies. The helper emits fixed hints based on curl exit codes, never raw stderr, connection URLs or error response bodies. Codes 5, 7, 22 and 56 narrow the investigation but do not prove a root cause. A timeout (28), TLS handshake failure (35) or certificate failure (60) has its own safe hint. Check managed denials and DNS/network policy without disabling controls. For the TLS variables, see the official Codex environment reference. Share sanitized exit codes, execution surface, client/version and affected leg with support; omit proxy URLs, tokens, raw headers and sensitive response bodies. ",
    "url": "/docs/automation/codex-integration/#diagnose-the-failing-layer",
    "relUrl": "/docs/automation/codex-integration/#diagnose-the-failing-layer"
  },"225": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Keep inbound callbacks separate",
    "content": "For an existing webhook receiver or OAuth callback service that needs stable inbound addresses, QuotaGuard also offers inbound proxying. Use the inbound setup guide for the receiving service. Outbound environment settings do not configure that listener or OAuth redirect registration; retain the provider’s callback authentication and verification. This command-egress guide does not require creating a receiver. ",
    "url": "/docs/automation/codex-integration/#keep-inbound-callbacks-separate",
    "relUrl": "/docs/automation/codex-integration/#keep-inbound-callbacks-separate"
  },"226": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Choose the next step for a supported route",
    "content": "Use the AI-agent hub for broader architectures, and current plans when your client and destination match the supported path. Contact an engineer for dedicated infrastructure or a Shield/client transport review. ",
    "url": "/docs/automation/codex-integration/#choose-the-next-step-for-a-supported-route",
    "relUrl": "/docs/automation/codex-integration/#choose-the-next-step-for-a-supported-route"
  },"227": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "Download the complete examples",
    "content": "These files retain the complete source examples shown in this guide. Review them before use and supply your own runtime secrets. Environment templates are downloaded as env.example; store real values only through your approved private workflow. | config-combined.toml | env.example | local-mcp.toml | permission-profile.toml — standalone policy reference; use config-combined.toml for the quickstart, not concatenated fragments. | qg_get.py | shell-environment.toml | start-codex.sh | . ",
    "url": "/docs/automation/codex-integration/#download-the-complete-examples",
    "relUrl": "/docs/automation/codex-integration/#download-the-complete-examples"
  },"228": {
    "doc": "QuotaGuard and Codex Integration Guide",
    "title": "QuotaGuard and Codex Integration Guide",
    "content": "Follow these steps to use QuotaGuard with Codex. ",
    "url": "/docs/automation/codex-integration/",
    "relUrl": "/docs/automation/codex-integration/"
  },"229": {
    "doc": "Setting up SFTP with QuotaGuard Static IP's",
    "title": "Get Started with the SOCKS5 Proxy Utilizing QGTunnel",
    "content": "1) Download QGTunnel . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . 2) Setup the Tunnel . Login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. Copy Remote Destination: tcp://hostname.for.your.server.com:22 Local Port: 2222 Transparent: true Encrypted: false . This setup assumes that the remote SFTP server is located at hostname.for.your.server.com and is listening on port 22. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example, we set it to 2222, because port 22 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled because SFTP is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Creating the tunnels in the dashboard is for convenience. Please see the last step (Harden Your Setup) for how to remove this dependency from your system. 3) Change Your Code to Connect Through the Tunnel (maybe) . With transparent mode, you will only have to change to connect to port 2222 instead of 22. You can also connect to 127.0.0.1:2222. Without transparent mode, you will want to connect to 127.0.0.1:2222. 4) Change your Procfile . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . 5) Setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. 6) Deploy . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. 7) (Optional) If problems arise… . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. 8) IMPORTANT: Harden Your Setup . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/protocols/sftp/connect-via-static-ip/#get-started-with-the-socks5-proxy-utilizing-qgtunnel",
    "relUrl": "/docs/protocols/sftp/connect-via-static-ip/#get-started-with-the-socks5-proxy-utilizing-qgtunnel"
  },"230": {
    "doc": "Setting up SFTP with QuotaGuard Static IP's",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/protocols/sftp/connect-via-static-ip/#getting-help",
    "relUrl": "/docs/protocols/sftp/connect-via-static-ip/#getting-help"
  },"231": {
    "doc": "Setting up SFTP with QuotaGuard Static IP's",
    "title": "Setting up SFTP with QuotaGuard Static IP's",
    "content": "We suggest you go with the SOCKS proxy using our QGTunnel software. Here are the setup instructions to get you started. Using a Node.js Vercel Function? See SFTP from a Node.js Vercel Function for an authenticated SOCKS5 connection in your existing application. ",
    "url": "/docs/protocols/sftp/connect-via-static-ip/",
    "relUrl": "/docs/protocols/sftp/connect-via-static-ip/"
  },"232": {
    "doc": "Setting up PostgreSQL with QuotaGuard Static IP's",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/databases/postgresql/connect-via-static-ip/#getting-help",
    "relUrl": "/docs/databases/postgresql/connect-via-static-ip/#getting-help"
  },"233": {
    "doc": "Setting up PostgreSQL with QuotaGuard Static IP's",
    "title": "Setting up PostgreSQL with QuotaGuard Static IP's",
    "content": "We suggest you go with the SOCKS proxy using our QGTunnel software. Here are the setup instructions to get you started. 1) Download QGTunnel . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . 2) Setup the Tunnel . Login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. Copy Remote Destination: tcp://hostname.for.your.server.com:5432 Local Port: 5432 Transparent: true Encrypted: false . This setup assumes that your server is located at “hostname.for.your.server.com” and is listening on port 5432 (the default port). Use the same port for the local port, unless you are using that port or it is below 5432, then you will have to change this to some other port (_say 5433).     Transparent Mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions.     Encrypted Mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We have more details on end-to-end encryption as you follow along in these instructions. Creating the tunnels in the dashboard is for convenience. Please see the last step (Harden Your Setup) for how to remove this dependency from your system. 3) Change Your Code to Connect Through the Tunnel (maybe) . You may have to change your code to connect through QGTunnel. With transparent mode, and when using the same local and remote port, you should not have to change your code. Without transparent mode, you will want to connect to 127.0.0.1:5432 (like in this example). If you changed the local port, then you will need to change the port number to match. 4) Change your startup code . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base . 5) Setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. 6) Deploy . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. 7) (Optional) If problems arise… . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. 8) IMPORTANT: Harden Your Setup . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/databases/postgresql/connect-via-static-ip/",
    "relUrl": "/docs/databases/postgresql/connect-via-static-ip/"
  },"234": {
    "doc": "How to Connect to MongoDB using QuotaGuard",
    "title": "QGTunnel",
    "content": "QGTunnel allows you to map one or more local ports to route through the QuotaGuard proxy servers. It supports a DNS override mode for protocols that require the hostname stay the same (ie: HTTPS) or to minimize the impact on the code. QGTunnel also supports end-to-end encryption of your tunnel data for protocols that are not encrypted (ie: redis). Additionally, many languages support SOCKS5 proxies natively or via an add-on package. Please note: The wrapper is not compatible with OSX or Windows. We recommend using a Virtual Machine running Ubuntu for development testing if your main development environment does not run Linux. 1) Download QGTunnel . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . 2) Setup the Tunnel . Login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. A Note About Mongodb+Srv URL . If you are connecting with a mongodb+srv URL (eg: mongodb+srv://USERNAME:PASSWORD@cluster0.abc123.mongodb.net/DATABASE?option1=value1) then you can lookup your cluster’s shards here: https://www.whatsmydns.net/dns-lookup/srv-records. Be sure to prepend your cluster address with mongodb._tcp (_eg: _mongodb._tcp.cluster0.abc123.mongodb.net). This will produce the hostnames of your shards (_eg: cluster0-shard-00-00.abc123.mongodb.net, cluster0-shard-00-01.abc123.mongodb.net, and cluster0-shard-00-02.abc123.mongodb.net_). You will then need to create a tunnel for each shard. Copy Remote Destinations: * tcp://cluster0-shard-00-00.abc123.mongodb.net:27017 * tcp://cluster0-shard-00-01.abc123.mongodb.net:27017 ​* tcp://cluster0-shard-00-02.abc123.mongodb.net:27017 Local Port: 27017 Transparent: true Encrypted: false . This setup assumes that the remote mongodb server is listening on port 27017. This is usually the default port. Transparent mode allows QGTunnel to override the DNS for cluster0-shard-00-0X.abc123.mongodb.net to localhost, which redirects traffic to the QGTunnel software. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mongodb is already encrypted, but you should double check. Not using mongodb+srv? . If you are not using a mongodb+srv URL, please let us know what your connection URL looks like and we can help you set that up too. Send us an email at QuotaGuard Support. 3) Change Your Code to Connect Through the Tunnel (maybe) . You may have to change your code to connect through QGTunnel. With transparent mode, and when using the same local and remote port, you should not have to change your code. You can also connect to 127.0.0.1:27017. Without transparent mode, you will want to connect to 127.0.0.1:27017 (like in this example). If you changed the local port, then you will need to change the port number to match. 4) Change your Procfile . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . Heroku Users: If you do not have a Procfile, then Heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. 5) Environment Variable . Setup the environment variable QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL to be equal to your Connection URL in the Setup page of our dashboard. Be sure to use the QUOTAGUARDSHIELD_URL for QuotaGuard Shield subscriptions and QUOTAGUARDSTATIC_URL for QuotaGuard Static subscriptions. If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc.) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs will work. 6) Deploy . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. 7) (Optional) If problems arise… . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. On Heroku, for example, you enable QGTunnel’s debug from the Heroku CLI with: . heroku config:set QGTUNNEL_DEBUG=true . Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. 8) IMPORTANT: Harden Your Setup . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/databases/mongodb/connect-via-static-ip/#qgtunnel",
    "relUrl": "/docs/databases/mongodb/connect-via-static-ip/#qgtunnel"
  },"235": {
    "doc": "How to Connect to MongoDB using QuotaGuard",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/databases/mongodb/connect-via-static-ip/#getting-help",
    "relUrl": "/docs/databases/mongodb/connect-via-static-ip/#getting-help"
  },"236": {
    "doc": "How to Connect to MongoDB using QuotaGuard",
    "title": "How to Connect to MongoDB using QuotaGuard",
    "content": "We have lots of users that use MongoDB through our proxy servers. We suggest you go with the SOCKS proxy using our QGTunnel software. SOCKS5 is a very flexible TCP level tunneling protocol which works on a per host basis and is compatible with all programming environments. If you’re not sure whether to use the SOCKS proxy, then please check out our Choosing HTTP vs SOCKS article. Please note : This product includes software developed by Inferno Nettverk A/S, Norway. For more information on their software Dante, please see https://www.inet.no/dante/. ",
    "url": "/docs/databases/mongodb/connect-via-static-ip/",
    "relUrl": "/docs/databases/mongodb/connect-via-static-ip/"
  },"237": {
    "doc": "How to Contact Support",
    "title": "How to Contact Support",
    "content": "If you have any questions, concerns, archtitecture questions, or any other reason to contact our Support team, please send an email to QuotaGuard Support. ",
    "url": "/docs/support/contact-support/",
    "relUrl": "/docs/support/contact-support/"
  },"238": {
    "doc": "How to Add a Custom Domain for QuotaGuard Static",
    "title": "Last Notes",
    "content": "If you ever need to see these settings again, go to Setup Overview and you can review any configuration settings for each subscription. Remember, you can’t access your IP’s directly as multiple applications are hosted on the same shared server. Issues? Not seeing a it working? Contact us at Support, we’re here to help figure these things out with you. ",
    "url": "/docs/getting-started/custom-domain-setup/#last-notes",
    "relUrl": "/docs/getting-started/custom-domain-setup/#last-notes"
  },"239": {
    "doc": "How to Add a Custom Domain for QuotaGuard Static",
    "title": "How to Add a Custom Domain for QuotaGuard Static",
    "content": "To set up a Custom Domain, please keep in mind that on Heroku, AWS, and Azure marketplaces your subscription plan must be at the Micro level or above; all direct plans (Starter and above) include this feature. You also must have edit capabilities on your DNS records. (Although you can test locally by editing your own DNS settings, if you want.) . Once you have that plan enabled and edit access to your DNS records, please follow the directions below. 1) Log into the QuotaGuard Dashboard and go to the Setup section in top right menu. 2) Click “Configure Inbound Proxies”. Then click on “Create an Inbound Proxy”. 3) After entering the forwarding URL, and adjusting any of the Advanced Options that you desire, click “Save” . 4) Select Option 2 Custom Domain and click on “I want to use my own domain”. 5) Fill in the Custom Domain and add your SSL certificates - if needed. 7) Important: To complete the setup you must create DNS CNAME records with your DNS provider with the details provided in the final setp. You will need to add a CNAME record with your domain and the target URL.    Note: You can test locally without changing your global DNS by locally changing your DNS settings (ie: /etc/hosts in linux or OS X). 8) Once you click “OK, got it”, give us about 10 minutes for everything to propagate, so please be patient. ",
    "url": "/docs/getting-started/custom-domain-setup/",
    "relUrl": "/docs/getting-started/custom-domain-setup/"
  },"240": {
    "doc": "Adding a Custom Domain for QG Static on Heroku",
    "title": "Last Notes",
    "content": "If you ever need to see these settings again, go to Setup Overview and you can review any configuration settings for each subscription. Remember, you can’t access your IP’s directly as multiple applications are hosted on the same shared server. Issues? Not seeing a it working? Contact us at Support, we’re here to help figure these things out with you. ",
    "url": "/docs/platforms/heroku/custom-domain-setup/#last-notes",
    "relUrl": "/docs/platforms/heroku/custom-domain-setup/#last-notes"
  },"241": {
    "doc": "Adding a Custom Domain for QG Static on Heroku",
    "title": "Adding a Custom Domain for QG Static on Heroku",
    "content": "To set up a Custom Domain, please keep in mind your subscription plan must be at the Micro level or above. You also must have edit capabilities on your DNS records. (Although you can test locally by editing your own DNS settings, if you want.) . Once you have that plan enabled and edit access to your DNS records, please follow the directions below. 1) Log into the QuotaGuard Dashboard from Heroku by cliking the SSO arrow (see image) and then go to the Setup section in top right menu. 2) Click “Configure Inbound Proxies”. Then click on “Create an Inbound Proxy”. 3) After entering the forwarding URL, and any Advanced Options you desire, click “Save” . 4) Select Option 2 Custom Domain and click on “I want to use my own domain”. 5) Fill in the Custom Domain and add your SSL certificates - if needed. 7) Important: To complete the setup you must** create DNS CNAME records with your DNS provider with the details provided in the final setp. You will need to add a CNAME record with your domain and the target URL. Note: You can test locally without changing your global DNS by locally changing your DNS settings (ie: /etc/hosts in linux or OS X). 8) Once you click “OK, got it”, give us about 10 minutes for everything to propagate, so please be patient. ",
    "url": "/docs/platforms/heroku/custom-domain-setup/",
    "relUrl": "/docs/platforms/heroku/custom-domain-setup/"
  },"242": {
    "doc": "Account Administration Dashboard",
    "title": "Dashboard View",
    "content": "In the dashboard view, you can see the following metrics and useful information: . | Your Static IP’s (Why do I have two IP’s?) . | Plan Status . | Requests This Month . | Requests/Bandwidth for the Last Hour . | Requests/Bandwidth for the Last Day . | Requests/Bandwidth for the Last 7 Days . | Historical Six-Month Usage Statistics . | . These are metrics to help you get a quick view of your live and current usage, plan usage, and historical patterns. ",
    "url": "/docs/getting-started/dashboard/#dashboard-view",
    "relUrl": "/docs/getting-started/dashboard/#dashboard-view"
  },"243": {
    "doc": "Account Administration Dashboard",
    "title": "Account Options",
    "content": "Additionally, in the upper right, you will find button links for the following areas are available: . | Account Management - For updating your QuotaGuard account password, credit card, downloading prior invoices, generating Usage API keys, or canceling your account. The sections shown depend on how you subscribe; for example, accounts billed through a platform marketplace manage billing on that platform, so no billing section appears here. | Support Code - Retrieve your Support code to authenticate your ownership of the account when contacting QuotaGuard Support. | Setup - Setup individual Inbound and Outbound subscriptions. | Log Viewer - Inspect recent proxy request logs to verify traffic is routing correctly. | . ",
    "url": "/docs/getting-started/dashboard/#account-options",
    "relUrl": "/docs/getting-started/dashboard/#account-options"
  },"244": {
    "doc": "Account Administration Dashboard",
    "title": "Account Administration Dashboard",
    "content": "When you log into your QuotaGuard Administration Panel, you will first see your QuotaGuard Administration Dashboard. In the upper right, you will see a dropdown list with your current QuotaGuard subscription UserName. It will look something like the one in the image above, “l03mpkvsfko1n2”. If you only have one subscription, then you will always see this default dashboard for the default UserName. If you have multiple subscriptions, you can look at the dashboard for a different subscription by selecting the appropriate subscription from the drop-down list. Additionally, you can select Manage Subscriptions in the drop down list and visit the Subscriptions page directly to review all of your subscriptions in one location. ",
    "url": "/docs/getting-started/dashboard/",
    "relUrl": "/docs/getting-started/dashboard/"
  },"245": {
    "doc": "Datbase Error: Error Copying Data - Reset by Peer",
    "title": "Datbase Error: Error Copying Data - Reset by Peer",
    "content": "Here’s some suggestive help if you are getting the error : Error copying data through the tunnel: read tcp 127.0.0.1:27001-&gt;127.0.0.1:50410: read tcp 172.18.241.186:43162-&gt;52.16.31.125:1080: read: connection reset by peer . The “reset by peer” means that the remote server is closing the connection. Unfortunately, that means we can’t help because we’re not seeing the error on our side of the connection. We suggest checking logs on the remote side to see if you can discover the issue. If you need more help, you can always reach us at QuotaGuard Support. ",
    "url": "/docs/troubleshooting/database-reset-by-peer-error/",
    "relUrl": "/docs/troubleshooting/database-reset-by-peer-error/"
  },"246": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Why Databricks Connections Need a Static IP",
    "content": "Databricks controls which networks can reach a workspace with IP access lists. When the feature is enabled and an allow list exists, Databricks checks the source IP of every request and blocks anything not on the list. The control covers web application and REST API access to the workspace, which includes the Jobs API, the SQL Statement Execution API, Unity Catalog, the SDK, and the CLI. Applications on serverless and PaaS hosts use outbound IP addresses that rotate on every deploy, restart, and scale event. There is no fixed address to put on the allow list, and a cloud provider’s published range is far too broad to use for a security allow list. These clients hit the access list wall most often: . | Backends and APIs on AWS Lambda, Render, Railway, Fly.io, Heroku, and Cloud Functions | CI and CD pipelines that deploy jobs, run migrations, or call the SQL Statement Execution API | Orchestration and reverse-ETL tools driving Databricks through the REST API | BI and SQL clients connecting to SQL warehouses from rotating cloud IPs | Service integrations and automation built on the Databricks SDK | . Two static IPs solve all of these. You register the pair once and the connection stops breaking on every deploy. ",
    "url": "/docs/apis/databricks/databricks-integration/#why-databricks-connections-need-a-static-ip",
    "relUrl": "/docs/apis/databricks/databricks-integration/#why-databricks-connections-need-a-static-ip"
  },"247": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Where the IP Access List Is Configured",
    "content": "IP access lists exist at two scopes. Workspace admins configure them on a workspace. Account admins configure them on the account console. Each is an ALLOW or BLOCK list. You manage them with the IP Access Lists REST API, the Databricks CLI, the account or workspace console, or the SDK. The CLI is the fastest path: . databricks ip-access-lists create quotaguard ALLOW \\ --json '{\"ip_addresses\": [\"&lt;your-static-ip-1&gt;\", \"&lt;your-static-ip-2&gt;\"]}' . Five things to know about how this behaves: . | Lists accept individual IPv4 addresses and CIDR ranges, including a single address as a /32, up to 1000 values across all allow and block lists combined. | Block lists are evaluated before allow lists. An address on a block list is refused even if it also appears on an allow list. | The feature requires the Enterprise pricing tier on AWS and Google Cloud, or the Premium plan on Azure, and it supports IPv4 only. | The feature has to be enabled separately. An allow list has no effect until you turn IP access lists on for the workspace or account. | Databricks refuses to apply a list that would block the IP of the user setting it, returning a 400 error with error_code INVALID_STATE. This guards that one user, not your compute plane. | . Add the public NAT IPs your compute plane uses to reach the control plane to the allow list as well. If you enable the feature without them, you cut off your own clusters. Databricks is also rolling out context-based ingress control at the account level, which combines identity, request type, and network source into a single policy. Where it is in use, both it and any workspace IP access list apply together, and your QuotaGuard static IPs satisfy the network-source condition the same way. ",
    "url": "/docs/apis/databricks/databricks-integration/#where-the-ip-access-list-is-configured",
    "relUrl": "/docs/apis/databricks/databricks-integration/#where-the-ip-access-list-is-configured"
  },"248": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to your Databricks workspace to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/apis/databricks/databricks-integration/#getting-started",
    "relUrl": "/docs/apis/databricks/databricks-integration/#getting-started"
  },"249": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Step 1: Set the Proxy URL",
    "content": "Your QuotaGuard Static connection URL has this shape, with the region host taken from your dashboard: . QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . The host is region-specific. Use the exact host shown in your dashboard. The HTTP/HTTPS port is 9293. ",
    "url": "/docs/apis/databricks/databricks-integration/#step-1-set-the-proxy-url",
    "relUrl": "/docs/apis/databricks/databricks-integration/#step-1-set-the-proxy-url"
  },"250": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Step 2: Route Each Client Through the Proxy",
    "content": "Databricks clients connect over HTTPS, so each one attaches the proxy by pointing at your region host on port 9293. The host, port, and credentials in every example below come from your dashboard and must be exact. ",
    "url": "/docs/apis/databricks/databricks-integration/#step-2-route-each-client-through-the-proxy",
    "relUrl": "/docs/apis/databricks/databricks-integration/#step-2-route-each-client-through-the-proxy"
  },"251": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "REST API (curl)",
    "content": "Route any REST call through the proxy with the standard proxy flag: . curl -x \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ -H \"Authorization: Bearer $DATABRICKS_TOKEN\" \\ https://dbc-abcd1234-5678.cloud.databricks.com/api/2.1/jobs/list . ",
    "url": "/docs/apis/databricks/databricks-integration/#rest-api-curl",
    "relUrl": "/docs/apis/databricks/databricks-integration/#rest-api-curl"
  },"252": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Python SDK (databricks-sdk)",
    "content": "The SDK honors the standard HTTPS_PROXY environment variable. Set it before your code runs and every call routes through the proxy: . export HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . from databricks.sdk import WorkspaceClient w = WorkspaceClient( host=\"https://dbc-abcd1234-5678.cloud.databricks.com\", token=\"...\", ) for job in w.jobs.list(): print(job.settings.name) . ",
    "url": "/docs/apis/databricks/databricks-integration/#python-sdk-databricks-sdk",
    "relUrl": "/docs/apis/databricks/databricks-integration/#python-sdk-databricks-sdk"
  },"253": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Databricks CLI",
    "content": "The CLI is built on the SDK and honors the same environment variable: . export HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" databricks jobs list . ",
    "url": "/docs/apis/databricks/databricks-integration/#databricks-cli",
    "relUrl": "/docs/apis/databricks/databricks-integration/#databricks-cli"
  },"254": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "JDBC",
    "content": "The Databricks JDBC driver, version 3 and above, takes the proxy as connection properties in the URL: . jdbc:databricks://dbc-abcd1234-5678.cloud.databricks.com:443/default;httpPath=/sql/1.0/warehouses/abc123;AuthMech=3;UID=token;PWD=&lt;token&gt;;UseProxy=1;ProxyHost=&lt;your-quotaguard-proxy-host&gt;;ProxyPort=9293;ProxyAuth=1;ProxyUID=username;ProxyPWD=password . You can also pass the same properties through a java.util.Properties object instead of the URL. Cloud Fetch: The JDBC and ODBC drivers use a separate code path called Cloud Fetch to retrieve query results directly from cloud storage. Cloud Fetch has its own proxy properties (UseCFProxy, CFProxyHost, CFProxyPort, CFProxyAuth, CFProxyUID, CFProxyPwd). Routing the main connection through QuotaGuard does not route Cloud Fetch traffic. Most teams leave Cloud Fetch direct so result bandwidth does not consume your QuotaGuard plan; if you must route it through QuotaGuard too, set the CF properties to the same values. ",
    "url": "/docs/apis/databricks/databricks-integration/#jdbc",
    "relUrl": "/docs/apis/databricks/databricks-integration/#jdbc"
  },"255": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "ODBC",
    "content": "The ODBC driver uses the same proxy settings. Set them in the DSN or the connection string: . UseProxy=1;ProxyHost=&lt;your-quotaguard-proxy-host&gt;;ProxyPort=9293;ProxyAuth=1;ProxyUID=username;ProxyPWD=password . ",
    "url": "/docs/apis/databricks/databricks-integration/#odbc",
    "relUrl": "/docs/apis/databricks/databricks-integration/#odbc"
  },"256": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Python SQL connector (databricks-sql-connector)",
    "content": "The connector connects over HTTPS. Set HTTPS_PROXY in the environment before you open the connection: . export HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . from databricks import sql conn = sql.connect( server_hostname=\"dbc-abcd1234-5678.cloud.databricks.com\", http_path=\"/sql/1.0/warehouses/abc123\", access_token=\"...\", ) . If your connector version does not route through the environment variable, use the JDBC or ODBC driver’s explicit proxy properties instead. ",
    "url": "/docs/apis/databricks/databricks-integration/#python-sql-connector-databricks-sql-connector",
    "relUrl": "/docs/apis/databricks/databricks-integration/#python-sql-connector-databricks-sql-connector"
  },"257": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "dbt (dbt-databricks)",
    "content": "dbt-databricks runs on the Python SQL connector. Set HTTPS_PROXY in the environment dbt runs in. If your setup does not pick it up, point dbt at the ODBC or JDBC driver and set the proxy properties there. export HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/apis/databricks/databricks-integration/#dbt-dbt-databricks",
    "relUrl": "/docs/apis/databricks/databricks-integration/#dbt-dbt-databricks"
  },"258": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Node.js (@databricks/sql)",
    "content": "The Node client connects over HTTPS. Set HTTPS_PROXY for the process, or configure an HTTPS proxy agent on the client. Confirm the agent option against the current client documentation before relying on it. ",
    "url": "/docs/apis/databricks/databricks-integration/#nodejs-databrickssql",
    "relUrl": "/docs/apis/databricks/databricks-integration/#nodejs-databrickssql"
  },"259": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Go (databricks-sdk-go)",
    "content": "The Go SDK honors the standard proxy environment variables: . export HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/apis/databricks/databricks-integration/#go-databricks-sdk-go",
    "relUrl": "/docs/apis/databricks/databricks-integration/#go-databricks-sdk-go"
  },"260": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Testing the Connection",
    "content": "Confirm two things: that your traffic leaves from a QuotaGuard static IP, and that Databricks sees that IP. First, check the egress IP through the proxy: . curl -x \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" https://ip.quotaguard.com . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your dashboard. Call it more than once and you will see both addresses, because the pair is load-balanced. Second, confirm what Databricks recorded. Databricks audit logs, available in the system.access.audit system table, record the source IP address of each request, so you can verify the address the access list saw: . SELECT event_time, action_name, request_params, source_ip_address FROM system.access.audit WHERE source_ip_address IN ('&lt;your-static-ip-1&gt;', '&lt;your-static-ip-2&gt;') ORDER BY event_time DESC LIMIT 20; . A row whose source IP matches one of your QuotaGuard IPs confirms the full path. ",
    "url": "/docs/apis/databricks/databricks-integration/#testing-the-connection",
    "relUrl": "/docs/apis/databricks/databricks-integration/#testing-the-connection"
  },"261": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Databricks PrivateLink vs a NAT Gateway vs QuotaGuard",
    "content": "Databricks’ native answer to the public-IP problem is PrivateLink on AWS, or Private Service Connect on Google Cloud and Private Link on Azure. These remove the public internet path, and IP access lists do not apply to that private traffic. They work and are the right choice for some architectures. They also carry real weight: they require private connectivity on both ends and only apply within the one cloud where your workspace and your client both sit. A self-managed NAT gateway is the other native option, and it only covers the one platform whose VPC you control. |   | PrivateLink / PSC | Self-managed NAT gateway | QuotaGuard | . | Setup | Private connectivity on both ends | Own VPC plus gateway | One proxy config on the client | . | Scope | Same cloud as the workspace | One VPC or platform | Any cloud, any platform | . | Same identity everywhere | No | No | Yes, the same two IPs | . | Regulated data, no decrypt | Handled by the private path | Your responsibility | QuotaGuard Shield | . | Starting cost | Endpoint and connectivity | Around $32/month plus data | $19/month | . Use PrivateLink or Private Service Connect if your client and workspace are in the same cloud and you want to remove the public path. Use QuotaGuard if you run across clouds or platforms, or want one fixed identity that works everywhere you deploy. This page documents the QuotaGuard path. ",
    "url": "/docs/apis/databricks/databricks-integration/#databricks-privatelink-vs-a-nat-gateway-vs-quotaguard",
    "relUrl": "/docs/apis/databricks/databricks-integration/#databricks-privatelink-vs-a-nat-gateway-vs-quotaguard"
  },"262": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Outbound and Inbound",
    "content": "Outbound is the main case for Databricks. Your application, CI pipeline, SDK, or SQL client connects out to the workspace, and Databricks checks the source IP against the access list. Everything above covers this direction. Inbound applies when traffic flows into your application rather than out to Databricks. If a partner or enterprise system pushes data into your application on a fixed endpoint before your application loads it into Databricks, QuotaGuard includes inbound proxy on all direct plans (Micro and above on Heroku, AWS, and Azure marketplaces), and QuotaGuard Shield covers the inbound path when that incoming data is regulated. ",
    "url": "/docs/apis/databricks/databricks-integration/#outbound-and-inbound",
    "relUrl": "/docs/apis/databricks/databricks-integration/#outbound-and-inbound"
  },"263": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Troubleshooting",
    "content": "A request is refused with a 403 saying the IP is not allowed The request reached Databricks from an IP that is not on an allow list. Confirm your egress IP with the curl test above, then confirm both QuotaGuard IPs are on an ALLOW list and that the IP access list feature is enabled. If a block list also exists, remember it is evaluated first. Your own clusters or jobs stop working after enabling the feature The compute plane’s public NAT IPs are not on the allow list. Add them alongside the QuotaGuard pair. The lockout guard only protects the admin who set the list, not your compute plane. 407 Proxy Authentication Required The proxy credentials are wrong or missing. Recheck the username and password against the dashboard. For JDBC and ODBC, confirm ProxyAuth=1 with ProxyUID and ProxyPWD set. A credential with a special character may need URL-encoding. Connection times out Usually a wrong host or port. Confirm you are using your region’s host from the dashboard and port 9293 for Static. Wrong IP returned, or only one IP ever appears The pair is load-balanced, so repeated checks show both addresses over time. A non-QuotaGuard IP means the client is not actually using the proxy. Confirm the proxy is set on the client that opens the connection, not on a different process or a global default the runtime ignores. The allow list change has no effect Two common causes. The feature is not enabled, so the allow list is inert. Or the change has not propagated yet, because list changes take a few minutes to take effect. An IPv6 address shows up IP access lists are IPv4 only. Make sure your client and proxy path use IPv4 so the address Databricks sees is one it can match. ",
    "url": "/docs/apis/databricks/databricks-integration/#troubleshooting",
    "relUrl": "/docs/apis/databricks/databricks-integration/#troubleshooting"
  },"264": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static is right for most Databricks workspaces and satisfies the IP access list on its own. Choose Shield if the workload handles regulated data or the environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/apis/databricks/databricks-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/databricks/databricks-integration/#quotaguard-static-vs-quotaguard-shield"
  },"265": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Read the full walkthrough at our post Give Your Databricks Connection a Static IP for IP Access List Allowlisting. Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/apis/databricks/databricks-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/databricks/databricks-integration/#ready-to-get-started"
  },"266": {
    "doc": "QuotaGuard and Databricks Integration Guide",
    "title": "QuotaGuard and Databricks Integration Guide",
    "content": "QuotaGuard gives your Databricks clients two fixed outbound IP addresses that satisfy a workspace IP access list. Set your client’s proxy settings to point at QuotaGuard, register your two static IPs on an ALLOW list, and every request reaches the workspace from an address the list accepts. This guide covers the REST API, the Python SDK, the CLI, JDBC, ODBC, the SQL connector, Node.js, Go, and dbt, plus testing, the native PrivateLink comparison, and troubleshooting. This page documents connecting to a Databricks workspace over its public HTTPS interface. It applies wherever IP access lists are enforced. ",
    "url": "/docs/apis/databricks/databricks-integration/",
    "relUrl": "/docs/apis/databricks/databricks-integration/"
  },"267": {
    "doc": "Set up Inbound Proxy-Heroku Dedicated Static IP",
    "title": "Set up Inbound Proxy-Heroku Dedicated Static IP",
    "content": "Requirement . Setting up a Static Dedicated IP address that can connect to HTTPS on Heroku. Resolution Submit a request to our Support to be transferred to a dedicated proxy. (this is offered to any customer on Enterprises plan and above). Please help us by letting us know if you have an inbound service already configured, as inbound dedicated setup needs to be configured manually. After a team member from Support emails you that your dedicated proxy has been set up, change your QUOTAGUARDSTATIC_URL configuration variable to match the HTTP URL found in the dashboard. Inbound proxies on QuotaGuard Static uses SSL termination, which is a “bring-your-own” type of certificate setup. There are three ways to setup QuotaGuard Static for Inbound Proxy HTTPS traffic: . | Use the getstatica.com URL we automatically provide you. You will find the URL in your account subscription dashboard. This uses our certificates and then forwards the request onto your Heroku site. | Set up a custom domain in our dashboard and upload the SSL certificates for your domain. Then point your DNS for that domain to a CNAME for the getstatica.com URL provided to you. (This needs to be completed before moving to a dedicated setup) . | Switch your subscription to QuotaGuard Shield, which uses SSL Passthrough, so there is no need to set up any certificates with QuotaGuard. QG Shield will use the SSL certificate at the final destination (Heroku) (which many users just utilize the Heroku ACM). | . If you receive an error message when setting everything up, follow the steps below. | Run heroku certs:auto to check the certificate status for the domain. | Run heroku domains and confirm your DNS points to the Heroku DNS target shown there (format *.herokudns.com), not *.herokuapp.com or *.herokussl.com. | If DNS was wrong, fix it, then run heroku certs:auto:refresh. | Send us the DNS target from heroku domains at support@quotaguard.com. | . Don’t disable and re-enable ACM to retry. Heroku warns this can trigger a Let’s Encrypt rate limit that blocks new certificates for up to 7 days. If it continues to fail, go to Heroku’s ACM troubleshooting guide. If it’s still an issue, reach back out to us at Support and we’ll help figure out what the problem is and how to fix it for you. ",
    "url": "/docs/platforms/heroku/dedicated-proxy-setup/",
    "relUrl": "/docs/platforms/heroku/dedicated-proxy-setup/"
  },"268": {
    "doc": "QGTunnel Setup Guide for our Direct Service and HTTPS",
    "title": "QGTunnel Setup Guide for our Direct Service and HTTPS",
    "content": "If you’re looking to set up QGTunnel for HTTPS connections on our Direct Service, we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:443 Local Port: 4443 Transparent: true Encrypted: false . This setup assumes that the remote HTTPS server is located at hostname.for.your.server.com and is listening on port 443. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 4443, because port 443 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. You will likely require transparent mode for HTTPS connections, as most certificates are signed by hostname and will require the HTTP request to be bound for that hostname. Encrypted mode is disabled because HTTPS is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . Given the example above, you will now need to connect using the new port number in your URL. For example, if you previously were trying to connect to: . https://hostname.for.your.server.com/some/long/path?var=1&amp;var2=3 . Now you will want to connect to: . https://hostname.for.your.server.com:4443/some/long/path?var=1&amp;var2=3 . Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct HTTPS connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/https-tunneling/direct-tunnel-setup/",
    "relUrl": "/docs/protocols/https-tunneling/direct-tunnel-setup/"
  },"269": {
    "doc": "QGTunnel Setup Guide for our Direct Service and SFTP",
    "title": "QGTunnel Setup Guide for our Direct Service and SFTP",
    "content": "To setup QGTunnel on our Direct Service for a SFTP connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:22 Local Port: 2222 Transparent: true Encrypted: false . This setup assumes that the remote SFTP server is located at hostname.for.your.server.com and is listening on port 22. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2222, because port 22 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled because SFTP is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2222 instead of 22. You can also connect to 127.0.0.1:2222. Without transparent mode, you will want to connect to 127.0.0.1:2222. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct SFTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/sftp/direct-tunnel-setup/",
    "relUrl": "/docs/protocols/sftp/direct-tunnel-setup/"
  },"270": {
    "doc": "QGTunnel Setup Guide for FTP (Non-Cloud-Platform)",
    "title": "QGTunnel Setup Guide for FTP (Non-Cloud-Platform)",
    "content": "If you’re looking to set up QGTunnel for FTP connections via our Direct Service, we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1. Download QGTunnel and Save to Root of Your Project . Start by downloading QGTunnel and saving it to the root of your project with the following command: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:21 Local Port: 2121 Transparent: true Encrypted: false . This setup assumes that the remote FTP server is located at hostname.for.your.server.com and is listening on port 21. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2121, because port 21 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled in this example. Keep in mind that plain FTP is not encrypted, so credentials and data travel in cleartext. If you are transferring sensitive data, enable Encrypted mode, or use SFTP or FTPS for end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2121 instead of 21. You can also connect to 127.0.0.1:2121. Without transparent mode, you will want to connect to 127.0.0.1:2121. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push Your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct FTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/ftp/direct-tunnel-setup/",
    "relUrl": "/docs/protocols/ftp/direct-tunnel-setup/"
  },"271": {
    "doc": "QGTunnel Setup Guide for our Direct Service and SMTP",
    "title": "QGTunnel Setup Guide for our Direct Service and SMTP",
    "content": "To setup QGTunnel on our Direct Service for a SMTP endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:25 Local Port: 2525 Transparent: true Encrypted: false . This setup assumes that the remote SMTP server is located at hostname.for.your.server.com and is listening on port 25. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2525, because port 25 is in the reserved port range (0-1023) and may not be accessible on your platform. Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end for protocols that are not encrypted already. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2525 instead of 25. You can also connect to 127.0.0.1:2525. Without transparent mode, you will want to connect to 127.0.0.1:2525. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct SMTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/smtp/direct-tunnel-setup/",
    "relUrl": "/docs/protocols/smtp/direct-tunnel-setup/"
  },"272": {
    "doc": "QGTunnel Setup Guide for our Direct Service and MySQL",
    "title": "QGTunnel Setup Guide for our Direct Service and MySQL",
    "content": "To setup QGTunnel via our direct service for MySQL endpoints, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MySQL server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MySQL is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct MySQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mysql/direct-tunnel-setup/",
    "relUrl": "/docs/databases/mysql/direct-tunnel-setup/"
  },"273": {
    "doc": "QGTunnel Direct Service Postgres Db Setup Guide",
    "title": "QGTunnel Direct Service Postgres Db Setup Guide",
    "content": "To setup QGTunnel on our Direct Service for a Postgres (PostgreSQL) endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:5432 Local Port: 5432 Transparent: true Encrypted: false . This setup assumes that the remote postgresql server is located at hostname.for.your.server.com and is listening on port 5432. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 5432, but if you have another process using 5432, you may have to change it (ie: 5433). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe Postgresql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:5432. Without transparent mode, you will want to connect to 127.0.0.1:5432. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct Postgres connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/postgresql/direct-tunnel-setup/",
    "relUrl": "/docs/databases/postgresql/direct-tunnel-setup/"
  },"274": {
    "doc": "QGTunnel Direct Oracle Database Connection Setup Guide",
    "title": "QGTunnel Direct Oracle Database Connection Setup Guide",
    "content": "To setup QGTunnel via our direct service for Oracle Database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1521 Local Port: 1521 Transparent: true Encrypted: false . This setup assumes that the remote Oracle database server is located at hostname.for.your.server.com and is listening on port 1521. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1521, but if you have another process using 1521, you may have to change it (ie: 1522). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe oracle database connections are already encrypted but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1521. Without transparent mode, you will want to connect to 127.0.0.1:1521. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct Oracle database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/oracle/direct-tunnel-setup/",
    "relUrl": "/docs/databases/oracle/direct-tunnel-setup/"
  },"275": {
    "doc": "QGTunnel Setup Guide for Direct Service and MongoDB",
    "title": "QGTunnel Setup Guide for Direct Service and MongoDB",
    "content": "To setup QGTunnel on our Direct Service for a MongoDB endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. A Note About Mongodb+Srv URL . If you are connecting with a mongodb+srv URL (eg: mongodb+srv://USERNAME:PASSWORD@cluster0.abc123.mongodb.net/DATABASE?option1=value1) then you can lookup your cluster’s shards here: https://www.whatsmydns.net/dns-lookup/srv-records. Be sure to prepend your cluster address with mongodb._tcp (_eg: _mongodb._tcp.cluster0.abc123.mongodb.net). This will produce the hostnames of your shards (_eg: cluster0-shard-00-00.abc123.mongodb.net, cluster0-shard-00-01.abc123.mongodb.net, and cluster0-shard-00-02.abc123.mongodb.net_). You will then need to create a tunnel for each shard. Copy Remote Destinations: * tcp://cluster0-shard-00-00.abc123.mongodb.net:27017 * tcp://cluster0-shard-00-01.abc123.mongodb.net:27017 ​* tcp://cluster0-shard-00-02.abc123.mongodb.net:27017 Local Port: 27017 Transparent: true Encrypted: false . This setup assumes that the remote mongodb server is listening on port 27017. This is usually the default port. Transparent mode allows QGTunnel to override the DNS for cluster0-shard-00-0X.abc123.mongodb.net to localhost, which redirects traffic to the QGTunnel software. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mongodb is already encrypted, but you should double check. Not using mongodb+srv? . If you are not using a mongodb+srv URL, please let us know what your connection URL looks like and we can help you set that up too. Send us an email at QuotaGuard Support. Step 3: Change Your Code to Connect Through the Tunnel . In most other setups for QGTunnel, you have to change your code at this step, however with transparent mode and matching Local and Remote ports you should not need to change your code. And there was much rejoicing… . Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . Setup the environment variable QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL to be equal to your Connection URL in the Setup page of our dashboard. Be sure to use the QUOTAGUARDSHIELD_URL for QuotaGuard Shield subscriptions and QUOTAGUARDSTATIC_URL for QuotaGuard Static subscriptions. If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc.) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs will work. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for MongoDB database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mongodb/direct-tunnel-setup/",
    "relUrl": "/docs/databases/mongodb/direct-tunnel-setup/"
  },"276": {
    "doc": "QGTunnel Setup Guide for our Direct Service and MsSQL",
    "title": "QGTunnel Setup Guide for our Direct Service and MsSQL",
    "content": "To setup QGTunnel via our direct service for MsSQL endpoints, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1433 Local Port: 1433 Transparent: true Encrypted: false . This setup assumes that the remote mssql server is located at hostname.for.your.server.com and is listening on port 1433. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1433, but if you have another process using 1433, you may have to change it (ie: 1434). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mssql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1433. Without transparent mode, you will want to connect to 127.0.0.1:1433. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct MsSQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mssql/direct-tunnel-setup/",
    "relUrl": "/docs/databases/mssql/direct-tunnel-setup/"
  },"277": {
    "doc": "QGTunnel Direct MariaDB Database Connection Setup Guide",
    "title": "QGTunnel Direct MariaDB Database Connection Setup Guide",
    "content": "To setup QGTunnel via our direct service for MariaDB Database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . In the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MariaDB server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MariaDB is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code . Change the startup code that starts up your application. In many platforms, this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . Step 5: Setup the Environment Variable QUOTAGUARDSTATIC_URL . You need to setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 6: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 7: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 8: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for direct MariaDB database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mariadb/direct-tunnel-setup/",
    "relUrl": "/docs/databases/mariadb/direct-tunnel-setup/"
  },"278": {
    "doc": "Using QuotaGuard Static IP's with Django and MySQL",
    "title": "Get Started with the SOCKS5 Proxy Utilizing QGTunnel",
    "content": "1) Download QGTunnel . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . 2) Setup the Tunnel . If you are using the Heroku CLI, you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or, if you prefer, you can login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MySQL server is located at “hostname.for.your.server.com” and is listening on port 3306 (This is usually the default port.). The Local Port is the port number that QGTunnel will listen on. In this example, we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307).     Transparent Mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions.     Encrypted Mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. MySQL connections are only encrypted when TLS is configured on your server, so always double check your setup. Creating the tunnels in the dashboard is for convenience. Please see the last step (Harden Your Setup) for how to remove this dependency from your system. 3) Change Your Code to Connect Through the Tunnel (maybe) . You may have to change your code to connect through QGTunnel. With transparent mode, and when using the same local and remote port, you should not have to change your code. Without transparent mode, you will want to connect to 127.0.0.1:3306 (like in this example). If you changed the local port, then you will need to change the port number to match. 4) Change your Procfile . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . 5) Deploy . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. 6) (Optional) If problems arise… . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. 7) IMPORTANT: Harden Your Setup . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/databases/mysql/django-setup/#get-started-with-the-socks5-proxy-utilizing-qgtunnel",
    "relUrl": "/docs/databases/mysql/django-setup/#get-started-with-the-socks5-proxy-utilizing-qgtunnel"
  },"279": {
    "doc": "Using QuotaGuard Static IP's with Django and MySQL",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/databases/mysql/django-setup/#getting-help",
    "relUrl": "/docs/databases/mysql/django-setup/#getting-help"
  },"280": {
    "doc": "Using QuotaGuard Static IP's with Django and MySQL",
    "title": "Using QuotaGuard Static IP's with Django and MySQL",
    "content": "To use QuotaGuard in a Django environment with MySQL, we suggest you use the SOCKS proxy using the QuotaGuard QGTunnel software. QGTunnel is an extremely versatile wrapper script for your process. | It allows you to map one or more local ports to route through the QuotaGuard proxy servers. | It supports a DNS override mode for protocols that require the hostname stay the same (ie: HTTPS) or to minimize the impact on the code. | QGTunnel also supports end-to-end encryption of your tunnel data for protocols that are not encrypted (ie: redis). | . ",
    "url": "/docs/databases/mysql/django-setup/",
    "relUrl": "/docs/databases/mysql/django-setup/"
  },"281": {
    "doc": "Docker Integration - QuotaGuard",
    "title": "Docker Integration - QuotaGuard",
    "content": "QuotaGuard Static can be integrated with Docker in three easy steps. | Sign-up for a free QuotaGuard trial account. You can start with whatever plan suits you and change it at any point during or after your free trial. | Follow our setup guide for the language of your choice in our Support documentation. If you language isn’t listed - or you want some assistance - just send our Support team an e-mail. You can be up and running with most languages with just a few lines of code. | Set the QUOTAGUARDSTATIC_URL environment variable on container startup. | . Your unique QUOTAGUARDSTATIC_URL is displayed on our Setup screen for outbound connections. Copy docker run -e QUOTAGUARDSTATIC_URL=http://user:pass@&lt;your-quotaguard-proxy-host&gt;:9293 app . If you have any issues or challenges getting this setup, just drop us a line at Support so we can help you out. ",
    "url": "/docs/platforms/docker/docker-integration/",
    "relUrl": "/docs/platforms/docker/docker-integration/"
  },"282": {
    "doc": "Static IP Proxy Guides & API Documentation",
    "title": "Static IP Proxy Guides & API Documentation",
    "content": ". | Getting Started | Account | Outbound Proxy | Inbound Shield | QGTunnel | Databases | Protocols | Platforms | AI and Automations | Security | Troubleshooting | Support | . Looking for a compact overview? Browse the documentation catalog or use its machine-readable index. ",
    "url": "/docs/",
    "relUrl": "/docs/"
  },"283": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "DocuWare Cloud’s IP Allowlist Blocks Rotating Integration IPs",
    "content": "DocuWare Cloud includes IP-based access control in its Security settings. Once any address is listed, only those addresses can access the organization, and the control is enforced on all access including the REST API. A document-sync job or automation on a cloud platform like Heroku or AWS Lambda egresses from an address that changes on deploys and scaling, so the allowlist rejects it the moment it is active. This guide is for DocuWare Cloud. On-premises DocuWare runs on your own network, where you already control egress. ",
    "url": "/docs/apis/docuware/docuware-integration/#docuware-clouds-ip-allowlist-blocks-rotating-integration-ips",
    "relUrl": "/docs/apis/docuware/docuware-integration/#docuware-clouds-ip-allowlist-blocks-rotating-integration-ips"
  },"284": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your integration runs. The region is set at sign-up. Changes after sign-up require contacting support. QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/apis/docuware/docuware-integration/#getting-started",
    "relUrl": "/docs/apis/docuware/docuware-integration/#getting-started"
  },"285": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Add Your QuotaGuard IPs to DocuWare",
    "content": "In DocuWare, open Configurations &gt; Security settings &gt; IP-based access control and enter your two QuotaGuard IP addresses. DocuWare uses IPv4, which matches QuotaGuard’s static IPs. Once any address is listed, only listed addresses reach the organization, so confirm your own admin access is covered before you rely on it. ",
    "url": "/docs/apis/docuware/docuware-integration/#add-your-quotaguard-ips-to-docuware",
    "relUrl": "/docs/apis/docuware/docuware-integration/#add-your-quotaguard-ips-to-docuware"
  },"286": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Authenticate Against the Platform API",
    "content": "DocuWare Cloud’s Platform API lives at your organization’s endpoint, https://your-org.docuware.cloud/DocuWare/Platform, and uses OAuth 2.0 bearer tokens. The flow first discovers the identity service, then requests a token scoped to docuware.platform. Route every call, including the token request, through the proxy so it exits from your static IPs. | GET /Home/IdentityServiceInfo to discover the identity service for your deployment. | Request a token from the identity service, scoped to docuware.platform. Tokens are valid for about 60 minutes. | Send the bearer token on every Platform API call. | . ",
    "url": "/docs/apis/docuware/docuware-integration/#authenticate-against-the-platform-api",
    "relUrl": "/docs/apis/docuware/docuware-integration/#authenticate-against-the-platform-api"
  },"287": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Route Your DocuWare Calls Through the Proxy",
    "content": "Attach the proxy to the requests that reach DocuWare rather than forcing all traffic through it. This keeps the rest of your integration on its normal path. ",
    "url": "/docs/apis/docuware/docuware-integration/#route-your-docuware-calls-through-the-proxy",
    "relUrl": "/docs/apis/docuware/docuware-integration/#route-your-docuware-calls-through-the-proxy"
  },"288": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Python (requests)",
    "content": "import os, requests proxies = { \"http\": os.environ[\"QUOTAGUARDSTATIC_URL\"], \"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"], } base = \"https://your-org.docuware.cloud/DocuWare/Platform\" resp = requests.get( f\"{base}/FileCabinets\", headers={\"Authorization\": f\"Bearer {access_token}\", \"Accept\": \"application/json\"}, proxies=proxies, ) print(resp.status_code) . ",
    "url": "/docs/apis/docuware/docuware-integration/#python-requests",
    "relUrl": "/docs/apis/docuware/docuware-integration/#python-requests"
  },"289": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Node.js (undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const base = 'https://your-org.docuware.cloud/DocuWare/Platform'; const res = await fetch(`${base}/FileCabinets`, { dispatcher, headers: { Authorization: `Bearer ${accessToken}`, Accept: 'application/json' }, }); console.log(res.status); . ",
    "url": "/docs/apis/docuware/docuware-integration/#nodejs-undici",
    "relUrl": "/docs/apis/docuware/docuware-integration/#nodejs-undici"
  },"290": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "C# (.NET HttpClient)",
    "content": "var proxyUri = new Uri(Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\")); var handler = new HttpClientHandler { Proxy = new WebProxy(proxyUri) { Credentials = new NetworkCredential(proxyUri.UserInfo.Split(':')[0], proxyUri.UserInfo.Split(':')[1]) }, UseProxy = true }; var client = new HttpClient(handler); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(\"Bearer\", accessToken); var resp = await client.GetAsync(\"https://your-org.docuware.cloud/DocuWare/Platform/FileCabinets\"); . DocuWare’s .NET SDK is common in DocuWare integrations, which is why the C# example is included here. ",
    "url": "/docs/apis/docuware/docuware-integration/#c-net-httpclient",
    "relUrl": "/docs/apis/docuware/docuware-integration/#c-net-httpclient"
  },"291": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Or Set HTTP_PROXY Globally",
    "content": "For a quick start, set the standard proxy variables and exclude internal hosts. This is coarser, so prefer the in-code pattern when most of your traffic should not be proxied. export HTTP_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" export HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" export NO_PROXY=\"localhost,127.0.0.1\" . ",
    "url": "/docs/apis/docuware/docuware-integration/#or-set-http_proxy-globally",
    "relUrl": "/docs/apis/docuware/docuware-integration/#or-set-http_proxy-globally"
  },"292": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Testing Your Integration Is Using the Static IP",
    "content": "curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your QuotaGuard dashboard, and both must be on your DocuWare allowlist. Run it more than once to confirm both (load-balanced). ",
    "url": "/docs/apis/docuware/docuware-integration/#testing-your-integration-is-using-the-static-ip",
    "relUrl": "/docs/apis/docuware/docuware-integration/#testing-your-integration-is-using-the-static-ip"
  },"293": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/apis/docuware/docuware-integration/#troubleshooting",
    "relUrl": "/docs/apis/docuware/docuware-integration/#troubleshooting"
  },"294": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Access denied or 401/403 after enabling the allowlist",
    "content": "Only one of your two QuotaGuard IPs is on the DocuWare allowlist, so requests routed through the other IP fail. Add both. ",
    "url": "/docs/apis/docuware/docuware-integration/#access-denied-or-401403-after-enabling-the-allowlist",
    "relUrl": "/docs/apis/docuware/docuware-integration/#access-denied-or-401403-after-enabling-the-allowlist"
  },"295": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "This is the QuotaGuard proxy, not DocuWare. Your QUOTAGUARDSTATIC_URL credentials are wrong. Confirm them against your dashboard. ",
    "url": "/docs/apis/docuware/docuware-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/apis/docuware/docuware-integration/#407-proxy-authentication-required"
  },"296": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Token works locally but fails from the integration host",
    "content": "Your local machine’s IP is different from your two QuotaGuard IPs. The integration host must route the token request through the proxy too, not just the Platform API calls. ",
    "url": "/docs/apis/docuware/docuware-integration/#token-works-locally-but-fails-from-the-integration-host",
    "relUrl": "/docs/apis/docuware/docuware-integration/#token-works-locally-but-fails-from-the-integration-host"
  },"297": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Wrong IP returned",
    "content": "The proxy is not attached to the request. Confirm you applied it to the specific call, or that HTTP_PROXY/HTTPS_PROXY are set and not overridden by NO_PROXY. ",
    "url": "/docs/apis/docuware/docuware-integration/#wrong-ip-returned",
    "relUrl": "/docs/apis/docuware/docuware-integration/#wrong-ip-returned"
  },"298": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Regulated Document Data Belongs on QuotaGuard Shield",
    "content": "DocuWare often stores regulated documents such as HR records, contracts, invoices, and health information. If your integration moves that kind of data, use QuotaGuard Shield. Shield uses SSL passthrough and never decrypts your traffic at the proxy, and your TLS keys never leave your servers. Static tunnels outbound HTTPS without decrypting the payload and is appropriate for everything that is not regulated. ",
    "url": "/docs/apis/docuware/docuware-integration/#regulated-document-data-belongs-on-quotaguard-shield",
    "relUrl": "/docs/apis/docuware/docuware-integration/#regulated-document-data-belongs-on-quotaguard-shield"
  },"299": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . ",
    "url": "/docs/apis/docuware/docuware-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/docuware/docuware-integration/#quotaguard-static-vs-quotaguard-shield"
  },"300": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View DocuWare Integration Features . Read: How to Give a Cloud Integration a Static IP for DocuWare Cloud . Contact Support . ",
    "url": "/docs/apis/docuware/docuware-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/docuware/docuware-integration/#ready-to-get-started"
  },"301": {
    "doc": "QuotaGuard and DocuWare Cloud Integration Guide",
    "title": "QuotaGuard and DocuWare Cloud Integration Guide",
    "content": "QuotaGuard Static IPs let your integration reach the DocuWare Cloud Platform API from two fixed addresses you add once to DocuWare’s IP-based access control. Route your DocuWare calls through QuotaGuard Static, set QUOTAGUARDSTATIC_URL, and add your two fixed IPs to the allowlist in DocuWare’s Security settings. Inbound and EU residency: This page covers the outbound integration. For inbound static IPs and EU data residency options, see the DocuWare static IP integration page. ",
    "url": "/docs/apis/docuware/docuware-integration/",
    "relUrl": "/docs/apis/docuware/docuware-integration/"
  },"302": {
    "doc": "How Do I Access and Download QuotaGuard Invoices?",
    "title": "How Do I Access and Download QuotaGuard Invoices?",
    "content": ". | Log into your account at https://www.quotaguard.com/users/sign_in . | Click on Account Management. | You should see a list of your Invoices pulled directly from Stripe. You can view or download them from this location. | An invoice that still needs payment is listed under Payable Invoices with a “View &amp; Pay Invoice” button. It opens the invoice on Stripe’s secure payment page, where you can pay it. If your bank asks you to authenticate the payment, see How to Complete 3D Secure Authentication. | . (If you are not paying via Stripe, for example, via PayPal or ACH, you may need to contact us for your invoice history.) . Hopefully that’s simple enough! . ",
    "url": "/docs/account/billing/download-invoice-history/",
    "relUrl": "/docs/account/billing/download-invoice-history/"
  },"303": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Why Supabase Edge Functions Need Static IPs",
    "content": "Supabase Edge Functions run on Deno Deploy infrastructure distributed globally across edge locations. Your function’s outbound traffic can originate from any of these locations, and Supabase explicitly does not publish outbound IP ranges. From Supabase’s documentation on IP addresses: . “We don’t publish the IP addresses for our Rest, Storage, or Realtime services because their outgoing IP addresses can change without prior notice.” . This creates problems when your Edge Function needs to connect to: . | Enterprise APIs with firewall allowlisting requirements | MongoDB Atlas or other databases with IP-based network access controls | Payment providers like PayPro Global or banking APIs | Internal corporate APIs behind firewalls | Google Workspace with Context-Aware Access policies | Legacy systems that only accept connections from known IP addresses | . QuotaGuard gives your Edge Functions a fixed, verifiable IP identity that partners can add to their firewall allowlists once. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#why-supabase-edge-functions-need-static-ips",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#why-supabase-edge-functions-need-static-ips"
  },"304": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Native Supabase IP Options (What They Don’t Cover)",
    "content": "Supabase offers a Dedicated IPv4 Address paid add-on, but this is for inbound connections only. It provides a static IP for connecting TO your Supabase database from external services. This does NOT provide static outbound IPs for your Edge Functions. Traffic FROM Edge Functions to external services still uses dynamic, shared IP addresses. | Feature | Supabase Dedicated IPv4 | QuotaGuard | . | Direction | Inbound (to database) | Outbound (from functions) | . | Use case | External services connecting to your DB | Your functions connecting to external services | . | Edge Functions support | No | Yes | . | Static egress IPs | No | Yes | . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#native-supabase-ip-options-what-they-dont-cover",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#native-supabase-ip-options-what-they-dont-cover"
  },"305": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Supabase Edge Functions run globally at edge locations closest to your users. For lowest latency on proxied requests, select a QuotaGuard region closest to the APIs you are calling. QuotaGuard proxies run in 12 AWS regions: . | Region | Location | . | US-East-1 | N. Virginia | . | US-East-2 | Ohio | . | US-West-2 | Oregon | . | CA-Central-1 | Montreal | . | EU-West-1 | Ireland | . | EU-West-2 | London | . | EU-Central-1 | Frankfurt | . | AP-Northeast-1 | Tokyo | . | AP-Southeast-1 | Singapore | . | AP-Southeast-2 | Sydney | . | AP-South-1 | Mumbai | . | SA-East-1 | Sao Paulo | . Your proxy URL will look like this: . http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 . For example, http://username:password@us-east-static-01.quotaguard.com:9293. Use the exact QUOTAGUARDSTATIC_URL value shown in your dashboard, not a hostname assembled by hand. Finding Your Static IPs: The two static IPs assigned to your subscription are displayed in the QuotaGuard dashboard. Allowlist both of them on the target service. Use the pair shown in your dashboard as the single source of truth. Do not resolve the proxy hostname to obtain an address. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#getting-started",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#getting-started"
  },"306": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Configuring Your Edge Function",
    "content": " ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#configuring-your-edge-function",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#configuring-your-edge-function"
  },"307": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Step 1: Add Your Proxy URL as a Secret",
    "content": "Store your QuotaGuard credentials securely using Supabase secrets: . supabase secrets set QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293\" . Use the exact QUOTAGUARDSTATIC_URL value from your QuotaGuard dashboard. Verify the secret was set: . supabase secrets list . You can also add secrets through the Supabase Dashboard under Project Settings &gt; Edge Functions &gt; Secrets. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#step-1-add-your-proxy-url-as-a-secret",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#step-1-add-your-proxy-url-as-a-secret"
  },"308": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Step 2: Configure Your HTTP Requests with the Proxy",
    "content": "Supabase Edge Functions run on a Deno-compatible runtime. Deno provides Deno.createHttpClient() which supports proxy configuration for the standard fetch() API. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#step-2-configure-your-http-requests-with-the-proxy",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#step-2-configure-your-http-requests-with-the-proxy"
  },"309": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Basic Proxy Setup",
    "content": "// supabase/functions/my-function/index.ts Deno.serve(async (req) =&gt; { // Get proxy URL from secrets const proxyUrl = Deno.env.get(\"QUOTAGUARDSTATIC_URL\"); if (!proxyUrl) { return new Response( JSON.stringify({ error: \"Proxy URL not configured\" }), { status: 500, headers: { \"Content-Type\": \"application/json\" } } ); } // Parse proxy URL to extract credentials const url = new URL(proxyUrl); // Create HTTP client with proxy configuration const client = Deno.createHttpClient({ proxy: { url: `${url.protocol}//${url.host}`, basicAuth: { username: url.username, password: url.password, }, }, }); try { // Make the proxied request const response = await fetch(\"https://api.example.com/data\", { client }); const data = await response.json(); return new Response( JSON.stringify(data), { headers: { \"Content-Type\": \"application/json\" } } ); } catch (error) { return new Response( JSON.stringify({ error: error.message }), { status: 500, headers: { \"Content-Type\": \"application/json\" } } ); } finally { // Always close the client when done client.close(); } }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#basic-proxy-setup",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#basic-proxy-setup"
  },"310": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Protocol Variants: Static HTTP, Static SOCKS5, Shield HTTPS",
    "content": "The same code pattern works for all three QuotaGuard proxy protocols. Only the proxy URL scheme and port change: . | Product | Protocol | URL Pattern | . | Static | HTTP | http://user:pass@&lt;region&gt;-static-01.quotaguard.com:9293 | . | Static | SOCKS5 | socks5://user:pass@&lt;region&gt;-static-01.quotaguard.com:1080 | . | Shield | HTTPS | https://user:pass@&lt;region&gt;-shield-01.quotaguard.com:9294 | . The Deno.createHttpClient configuration is the same shape in each case: . // Static HTTP (port 9293) - replace URL in the Basic Proxy Setup above const client = Deno.createHttpClient({ proxy: { url: \"http://&lt;your-quotaguard-proxy-host&gt;:9293\", basicAuth: { username: \"...\", password: \"...\" }, }, }); // Static SOCKS5 (port 1080) - use for non-HTTP TCP or when you need SOCKS semantics const client = Deno.createHttpClient({ proxy: { url: \"socks5://&lt;your-quotaguard-proxy-host&gt;:1080\", basicAuth: { username: \"...\", password: \"...\" }, }, }); // Shield HTTPS (port 9294) - encrypts proxy credentials and destination host:port on the wire const client = Deno.createHttpClient({ proxy: { url: \"https://&lt;your-quotaguard-shield-host&gt;:9294\", basicAuth: { username: \"...\", password: \"...\" }, }, }); . Use the exact host and credentials from your QuotaGuard dashboard in each case. Note: Shield also provides a Secure SOCKS variant on port 1081, but that one requires the QGTunnel sidecar binary, which Supabase Edge Functions do not support. Use Static SOCKS5 if you need SOCKS on this platform. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#protocol-variants-static-http-static-socks5-shield-https",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#protocol-variants-static-http-static-socks5-shield-https"
  },"311": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Reusable Proxy Helper Function",
    "content": "For functions that make multiple proxied requests, create a helper: . // supabase/functions/_shared/proxy.ts export interface ProxyConfig { proxyUrl: string; } export function createProxiedClient(): Deno.HttpClient { const proxyUrl = Deno.env.get(\"QUOTAGUARDSTATIC_URL\"); if (!proxyUrl) { throw new Error(\"QUOTAGUARDSTATIC_URL not configured\"); } const url = new URL(proxyUrl); return Deno.createHttpClient({ proxy: { url: `${url.protocol}//${url.host}`, basicAuth: { username: url.username, password: url.password, }, }, }); } export async function proxiedFetch( input: string | URL | Request, init?: RequestInit ): Promise&lt;Response&gt; { const client = createProxiedClient(); try { return await fetch(input, { ...init, client }); } finally { client.close(); } } . Usage: . // supabase/functions/my-function/index.ts import { proxiedFetch } from \"../_shared/proxy.ts\"; Deno.serve(async (req) =&gt; { const response = await proxiedFetch(\"https://api.example.com/data\"); const data = await response.json(); return new Response(JSON.stringify(data), { headers: { \"Content-Type\": \"application/json\" }, }); }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#reusable-proxy-helper-function",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#reusable-proxy-helper-function"
  },"312": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "POST Request with JSON Body",
    "content": "Deno.serve(async (req) =&gt; { const proxyUrl = Deno.env.get(\"QUOTAGUARDSTATIC_URL\"); const url = new URL(proxyUrl!); const client = Deno.createHttpClient({ proxy: { url: `${url.protocol}//${url.host}`, basicAuth: { username: url.username, password: url.password, }, }, }); try { const payload = await req.json(); const response = await fetch(\"https://api.example.com/submit\", { client, method: \"POST\", headers: { \"Content-Type\": \"application/json\", \"Authorization\": `Bearer ${Deno.env.get(\"API_TOKEN\")}`, }, body: JSON.stringify(payload), }); const result = await response.json(); return new Response(JSON.stringify(result), { headers: { \"Content-Type\": \"application/json\" }, }); } finally { client.close(); } }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#post-request-with-json-body",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#post-request-with-json-body"
  },"313": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Request with Custom Headers",
    "content": "Deno.serve(async (req) =&gt; { const proxyUrl = Deno.env.get(\"QUOTAGUARDSTATIC_URL\"); const url = new URL(proxyUrl!); const client = Deno.createHttpClient({ proxy: { url: `${url.protocol}//${url.host}`, basicAuth: { username: url.username, password: url.password, }, }, }); try { const response = await fetch(\"https://api.example.com/protected\", { client, headers: { \"Authorization\": `Bearer ${Deno.env.get(\"API_KEY\")}`, \"X-Custom-Header\": \"custom-value\", \"Accept\": \"application/json\", }, }); if (!response.ok) { return new Response( JSON.stringify({ error: `API returned ${response.status}` }), { status: response.status, headers: { \"Content-Type\": \"application/json\" } } ); } const data = await response.json(); return new Response(JSON.stringify(data), { headers: { \"Content-Type\": \"application/json\" }, }); } finally { client.close(); } }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#request-with-custom-headers",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#request-with-custom-headers"
  },"314": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Common Use Cases",
    "content": " ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#common-use-cases",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#common-use-cases"
  },"315": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Connecting to Firewalled APIs",
    "content": "Many enterprise APIs require IP allowlisting. Configure the proxy in your Edge Function, then provide the two static IPs from your QuotaGuard dashboard to the API provider. // Example: Calling a partner API that requires IP whitelisting const response = await proxiedFetch(\"https://partner-api.example.com/v1/data\", { headers: { \"Authorization\": `Bearer ${Deno.env.get(\"PARTNER_API_KEY\")}`, }, }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#connecting-to-firewalled-apis",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#connecting-to-firewalled-apis"
  },"316": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Payment Provider Integrations",
    "content": "Financial services APIs often have strict IP-based access controls: . // Example: Calling a payment provider that requires static IPs const response = await proxiedFetch(\"https://api.payprovider.com/v1/transactions\", { method: \"POST\", headers: { \"Content-Type\": \"application/json\", \"X-API-Key\": Deno.env.get(\"PAYMENT_API_KEY\")!, }, body: JSON.stringify({ amount: 1000, currency: \"USD\", // ... transaction details }), }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#payment-provider-integrations",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#payment-provider-integrations"
  },"317": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Database HTTP APIs",
    "content": "While Edge Functions can connect to your Supabase database directly, you may need to connect to external databases that offer HTTP APIs: . // Example: MongoDB Atlas Data API const response = await proxiedFetch( \"https://data.mongodb-api.com/app/data-xxxxx/endpoint/data/v1/action/find\", { method: \"POST\", headers: { \"Content-Type\": \"application/json\", \"api-key\": Deno.env.get(\"MONGODB_API_KEY\")!, }, body: JSON.stringify({ dataSource: \"Cluster0\", database: \"mydb\", collection: \"users\", filter: { status: \"active\" }, }), } ); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#database-http-apis",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#database-http-apis"
  },"318": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Webhook Delivery to Firewalled Endpoints",
    "content": "When your Edge Function needs to deliver webhooks to systems with IP restrictions: . Deno.serve(async (req) =&gt; { const event = await req.json(); // Deliver webhook to a firewalled endpoint const response = await proxiedFetch(\"https://internal.partner.com/webhooks/receive\", { method: \"POST\", headers: { \"Content-Type\": \"application/json\", \"X-Webhook-Signature\": computeSignature(event), }, body: JSON.stringify(event), }); if (!response.ok) { // Log failure, implement retry logic, etc. console.error(`Webhook delivery failed: ${response.status}`); } return new Response(\"OK\", { status: 200 }); }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#webhook-delivery-to-firewalled-endpoints",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#webhook-delivery-to-firewalled-endpoints"
  },"319": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Database Connections",
    "content": "Supabase Edge Functions are primarily designed for HTTP workloads. For non-HTTP database connections (PostgreSQL, MySQL, MongoDB via native drivers), the serverless nature of Edge Functions creates challenges. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#database-connections",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#database-connections"
  },"320": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Recommended Approaches for External Databases",
    "content": ". | Use HTTP/REST APIs when available (MongoDB Atlas Data API, Supabase’s own REST API, etc.) . | Use Supabase’s built-in database for primary data storage. Your Edge Function can access your Supabase PostgreSQL database directly without needing a proxy. | For external PostgreSQL/MySQL, consider: . | Using the database’s HTTP API if available | Creating a dedicated API service on a platform that supports QGTunnel (like Heroku, Fly.io, or Render) that proxies database queries | . | . To create a tunnel on a platform that supports QGTunnel, go to Setup (the gear icon, top-right) &gt; QGTunnel Configuration &gt; Create a Tunnel in your QuotaGuard dashboard. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#recommended-approaches-for-external-databases",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#recommended-approaches-for-external-databases"
  },"321": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Connecting to External PostgreSQL via HTTP Proxy",
    "content": "If your external database offers an HTTP interface: . // Example: Connecting to Neon's serverless driver (uses HTTP) const response = await proxiedFetch(\"https://your-db.neon.tech/sql\", { method: \"POST\", headers: { \"Content-Type\": \"application/json\", \"Authorization\": `Bearer ${Deno.env.get(\"NEON_API_KEY\")}`, }, body: JSON.stringify({ query: \"SELECT * FROM users WHERE active = true\", }), }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#connecting-to-external-postgresql-via-http-proxy",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#connecting-to-external-postgresql-via-http-proxy"
  },"322": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Testing Your Implementation",
    "content": " ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#testing-your-implementation"
  },"323": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Verify Your Static IP",
    "content": "Create a test function to verify your proxy configuration: . // supabase/functions/test-proxy/index.ts Deno.serve(async (req) =&gt; { const proxyUrl = Deno.env.get(\"QUOTAGUARDSTATIC_URL\"); if (!proxyUrl) { return new Response( JSON.stringify({ error: \"QUOTAGUARDSTATIC_URL not set\" }), { status: 500, headers: { \"Content-Type\": \"application/json\" } } ); } const url = new URL(proxyUrl); const client = Deno.createHttpClient({ proxy: { url: `${url.protocol}//${url.host}`, basicAuth: { username: url.username, password: url.password, }, }, }); try { // ip.quotaguard.com returns the client's IP address const response = await fetch(\"https://ip.quotaguard.com\", { client }); const data = await response.json(); return new Response( JSON.stringify({ your_static_ip: data.ip, proxy_working: true, }), { headers: { \"Content-Type\": \"application/json\" } } ); } catch (error) { return new Response( JSON.stringify({ error: error.message, proxy_working: false, }), { status: 500, headers: { \"Content-Type\": \"application/json\" } } ); } finally { client.close(); } }); . Deploy and invoke: . supabase functions deploy test-proxy supabase functions invoke test-proxy . Expected response: . { \"your_static_ip\": \"203.0.113.10\", \"proxy_working\": true } . The returned IP should match one of the two static IPs shown in your QuotaGuard dashboard. Run it multiple times to see both IPs in use. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#verify-your-static-ip",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#verify-your-static-ip"
  },"324": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Local Development Testing",
    "content": "When testing locally with supabase functions serve, you need to set your secrets: . # Set secret for local development supabase secrets set QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293\" --local # Start the functions server supabase functions serve . Then invoke your function: . curl http://localhost:54321/functions/v1/test-proxy . Local runs confirm your code and credentials are wired correctly. They do not confirm behavior on the hosted runtime, which has different network permissions. Deploy and invoke the function before relying on the result. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#local-development-testing",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#local-development-testing"
  },"325": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds a network hop to your requests. This is especially relevant for Edge Functions, which are designed for low-latency responses. A same-region proxy adds less latency than a cross-region one. Measure against your own workload and your own target API rather than assuming a fixed figure. Important tradeoffs: . | Edge benefits may be reduced for proxied requests. Non-proxied requests benefit from edge distribution. Proxied requests route through QuotaGuard’s infrastructure. | Only proxy requests that require static IPs. Keep non-firewalled API calls using standard fetch() without the proxy. | Match proxy region to API location, not user location. If you’re calling an API hosted in US-East, use QuotaGuard’s US-East-1 region. | . Example of selective proxying: . Deno.serve(async (req) =&gt; { // Non-proxied request to public API (benefits from edge) const publicData = await fetch(\"https://api.publicservice.com/data\"); // Proxied request to firewalled API (needs static IP) const privateData = await proxiedFetch(\"https://partner.firewalled.com/secure\"); return new Response(JSON.stringify({ public: await publicData.json(), private: await privateData.json(), })); }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#latency-considerations",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#latency-considerations"
  },"326": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Error Handling",
    "content": " ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#error-handling",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#error-handling"
  },"327": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Robust Error Handling Pattern",
    "content": "Deno.serve(async (req) =&gt; { const proxyUrl = Deno.env.get(\"QUOTAGUARDSTATIC_URL\"); if (!proxyUrl) { console.error(\"QUOTAGUARDSTATIC_URL not configured\"); return new Response( JSON.stringify({ error: \"Proxy configuration missing\" }), { status: 500, headers: { \"Content-Type\": \"application/json\" } } ); } let client: Deno.HttpClient | null = null; try { const url = new URL(proxyUrl); client = Deno.createHttpClient({ proxy: { url: `${url.protocol}//${url.host}`, basicAuth: { username: url.username, password: url.password, }, }, }); const response = await fetch(\"https://api.example.com/data\", { client }); if (!response.ok) { console.error(`API returned ${response.status}: ${await response.text()}`); return new Response( JSON.stringify({ error: `Upstream API error: ${response.status}` }), { status: response.status, headers: { \"Content-Type\": \"application/json\" } } ); } const data = await response.json(); return new Response(JSON.stringify(data), { headers: { \"Content-Type\": \"application/json\" }, }); } catch (error) { console.error(\"Request failed:\", error); // Provide specific error messages for common issues if (error.message.includes(\"407\")) { return new Response( JSON.stringify({ error: \"Proxy authentication failed\" }), { status: 500, headers: { \"Content-Type\": \"application/json\" } } ); } if (error.message.includes(\"connection\")) { return new Response( JSON.stringify({ error: \"Connection to proxy failed\" }), { status: 503, headers: { \"Content-Type\": \"application/json\" } } ); } return new Response( JSON.stringify({ error: \"Request failed\" }), { status: 500, headers: { \"Content-Type\": \"application/json\" } } ); } finally { if (client) { client.close(); } } }); . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#robust-error-handling-pattern",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#robust-error-handling-pattern"
  },"328": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#troubleshooting",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#troubleshooting"
  },"329": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your proxy credentials are incorrect. Verify: . | The secret is set correctly: supabase secrets list . | The URL format includes credentials: http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 . | Check for special characters in your password that may need URL encoding. | . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#407-proxy-authentication-required"
  },"330": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Connection Timeout",
    "content": ". | Verify the QuotaGuard proxy hostname is correct (copy it from your dashboard) | Ensure port 9293 is used for HTTP proxy connections | Check if the target service is reachable from QuotaGuard’s infrastructure | . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#connection-timeout",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#connection-timeout"
  },"331": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Wrong IP Address Returned",
    "content": "If ip.quotaguard.com returns an unexpected IP: . | Verify the proxy configuration is being applied to the specific fetch call | Check that you’re passing the client option to fetch() | Ensure you’re not accidentally using a non-proxied fetch | . A request that returns a normal 200 response but reports a non-QuotaGuard IP means the proxy configuration was ignored, not that it failed. Always check the returned IP against the pair in your dashboard rather than treating a successful response as confirmation. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#wrong-ip-address-returned",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#wrong-ip-address-returned"
  },"332": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Deno.createHttpClient Not Available",
    "content": "Deno.createHttpClient is available on current Supabase Edge Runtime versions (verified on v1.73.x with HTTP, SOCKS5, and HTTPS proxies). If you see an error that it is not available, the runtime is likely out of date. Redeploy your function to pick up the latest runtime, or upgrade your Supabase CLI if you are self-hosting. If the problem persists on the current runtime, contact QuotaGuard support. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#denocreatehttpclient-not-available",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#denocreatehttpclient-not-available"
  },"333": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Function Timeout",
    "content": "Supabase Edge Functions have execution time limits. If your proxied requests are timing out: . | Check if the target API is responding slowly | Consider increasing timeout handling in your code | For long-running operations, consider using Supabase’s background tasks or a different architecture | . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#function-timeout",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#function-timeout"
  },"334": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Security Best Practices",
    "content": " ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#security-best-practices",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#security-best-practices"
  },"335": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Never Hard-Code Credentials",
    "content": "Always use Supabase secrets: . # Good supabase secrets set QUOTAGUARDSTATIC_URL=\"http://user:pass@us-east-static-01.quotaguard.com:9293\" # Bad - Don't do this in code const proxyUrl = \"http://user:pass@us-east-static-01.quotaguard.com:9293\"; // Never hard-code! . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#never-hard-code-credentials",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#never-hard-code-credentials"
  },"336": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Validate Proxy Configuration",
    "content": "Always check that the proxy URL is configured before using it: . const proxyUrl = Deno.env.get(\"QUOTAGUARDSTATIC_URL\"); if (!proxyUrl) { throw new Error(\"Proxy not configured\"); } . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#validate-proxy-configuration",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#validate-proxy-configuration"
  },"337": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Close HttpClient Connections",
    "content": "Always close the HttpClient when done to prevent resource leaks: . const client = Deno.createHttpClient({ /* ... */ }); try { // Use client } finally { client.close(); } . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#close-httpclient-connections",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#close-httpclient-connections"
  },"338": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price (direct) | $19/month | $29/month | . Static is right for most apps on Supabase Edge Functions. Choose Shield if the workload handles regulated data under HIPAA, PCI-DSS, or SOC 2, or if the environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#quotaguard-static-vs-quotaguard-shield"
  },"339": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Get QuotaGuard for Supabase Edge Functions . View Supabase Integration Features . Contact Support . ",
    "url": "/docs/platforms/supabase/edge-functions-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/#ready-to-get-started"
  },"340": {
    "doc": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "title": "QuotaGuard and Supabase Edge Functions Integration Guide",
    "content": "QuotaGuard Static IPs allow your Supabase Edge Functions to send outbound HTTP requests through a pair of static IP addresses assigned to your subscription. Once configured, you can use QuotaGuard’s IPs to connect to firewalled APIs, enterprise databases, and services that require IP allowlisting. This page covers outbound traffic from Edge Functions to external services. An Edge Function reaching your own Supabase database does not need a proxy under default project settings. That changes if Network Restrictions are enabled. Supabase’s documentation states that with network restrictions applied, Edge Functions lose direct access to the database. The same applies from outside Supabase. If your application runs on Heroku, Render, Railway, Fly.io, or a VM and connects to a Supabase database with Network Restrictions enabled, that connection needs a static source IP to be allowlisted. QuotaGuard handles that case too. ",
    "url": "/docs/platforms/supabase/edge-functions-integration/",
    "relUrl": "/docs/platforms/supabase/edge-functions-integration/"
  },"341": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "The Problem: An IP Filter Needs an Address You Cannot Pin Down",
    "content": "Elastic’s documentation states that by default, deployments in Elastic Cloud Hosted and Elastic Cloud Serverless are accessible over the public internet without restrictions. Once you associate at least one network security policy with a deployment, traffic that does not match that policy or any other policy on the resource is denied. Elastic also notes that network security policies were formerly called traffic filter rules, so you will encounter both names depending on which document or API you are reading. That restriction is the control your security review asks for. On a platform with rotating egress IPs there is no stable CIDR to enter. Rejected requests come back as 403 Forbidden with a body indicating the request was blocked by traffic filtering, rather than an authentication error. That distinction is the fastest diagnostic you have. A 401 means you reached the cluster and your credentials were wrong. A 403 mentioning filtering means the proxy layer stopped you before the cluster ever saw the request. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-problem-an-ip-filter-needs-an-address-you-cannot-pin-down",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-problem-an-ip-filter-needs-an-address-you-cannot-pin-down"
  },"342": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "The Common Workaround",
    "content": "The usual response is to leave the deployment open to the internet and rely on the API key or the username and password alone. Elasticsearch clusters routinely hold log data, customer records, search indexes over proprietary content, and increasingly vector embeddings of internal documents. Leaving the endpoint publicly reachable means a leaked API key is complete access from anywhere. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-common-workaround",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-common-workaround"
  },"343": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "The QuotaGuard Solution",
    "content": "Route your Elasticsearch requests through QuotaGuard’s HTTP proxy. They exit from one of the two static IP addresses assigned to your subscription. Add those two addresses to an IP filter policy and attach it to the deployment. | Network-level protection that works on a platform with no fixed egress | The same two IPs cover every service in your stack | Adding a worker on Fly.io or moving off Heroku changes nothing on the Elastic side | A leaked API key is no longer sufficient on its own | . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-quotaguard-solution",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-quotaguard-solution"
  },"344": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Native Elastic Cloud Options (What They Cover)",
    "content": "| Option | Availability | Best for | . | IP filter policy | Elastic Cloud Hosted deployments and Elasticsearch Serverless projects, no specific tier requirement | Any application that can present a stable source address | . | Private connections | ECH supports AWS PrivateLink, Azure Private Link, and GCP Private Service Connect. Serverless supports AWS PrivateLink only | Teams already inside a matching cloud who want to bypass the public internet | . | Egress or outbound IP filters | API only, not exposed in the console | Restricting what your deployment can reach, the opposite direction from this guide | . Three details worth knowing before you start. Elastic’s documentation states there are no specific tier requirements for Elastic Cloud Hosted deployments or Elasticsearch Serverless projects. Observability projects require the Observability Complete feature tier, and Security projects require the Security Analytics Complete feature tier. Policies are created at the organization level and then applied at the deployment level. Creating one does nothing until you attach it to a resource. In Elastic Cloud Hosted deployments, IP filters do not apply to the managed OTLP endpoint. If you ship telemetry through that endpoint, the filter will not cover it. Use QuotaGuard when: . | Your application runs on a platform with dynamic egress IPs you cannot enumerate | Your platform has no private link option, which covers Heroku, Render, Railway, Vercel, and most serverless runtimes | Your stack spans several platforms and you want one pair of entries for all of them | You want the IP filter on today without a networking project | You need the same static identity for other destinations too, not just Elastic | . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#native-elastic-cloud-options-what-they-cover",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#native-elastic-cloud-options-what-they-cover"
  },"345": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard, where you can find your proxy credentials and the two static IP addresses assigned to your subscription. Choose the right proxy region. Match your QuotaGuard region to the cloud region hosting your Elastic Cloud deployment. QuotaGuard proxies run in 12 AWS regions: . | Region | Location | . | US-East-1 | N. Virginia | . | US-East-2 | Ohio | . | US-West-2 | Oregon | . | CA-Central-1 | Montreal | . | EU-West-1 | Ireland | . | EU-West-2 | London | . | EU-Central-1 | Frankfurt | . | AP-Northeast-1 | Tokyo | . | AP-Southeast-1 | Singapore | . | AP-Southeast-2 | Sydney | . | AP-South-1 | Mumbai | . | SA-East-1 | Sao Paulo | . Your deployment’s region is shown in the Elastic Cloud Console and is encoded in the endpoint hostname. Pick the matching QuotaGuard region, or the nearest available one, from the region list in your dashboard. Your proxy URL will look like this: . http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 . For example, http://username:password@us-east-static-01.quotaguard.com:9293. Use the exact QUOTAGUARDSTATIC_URL value shown in your dashboard, not a hostname assembled by hand. Finding your static IPs: both addresses are shown in the QuotaGuard dashboard. Add both. The dashboard pair is the single source of truth. Do not resolve the proxy hostname to obtain an address, and do not add only one of the two. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#getting-started",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#getting-started"
  },"346": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Configuring the Elastic Cloud IP Filter",
    "content": " ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#configuring-the-elastic-cloud-ip-filter",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#configuring-the-elastic-cloud-ip-filter"
  },"347": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Step 1: Create the Policy at the Organization Level",
    "content": ". | Log in to the Elastic Cloud Console | From the navigation menu, select Security &gt; Network security | Create a new IP filter policy, giving it a name you will recognize later, such as QuotaGuard static IPs | . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-1-create-the-policy-at-the-organization-level",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-1-create-the-policy-at-the-organization-level"
  },"348": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Step 2: Add Your QuotaGuard IPs",
    "content": "Add both static IPs from your QuotaGuard dashboard as rules. Elastic accepts individual IP addresses and CIDR blocks: . 203.0.113.10/32 203.0.113.11/32 . Substitute the actual addresses shown in your dashboard. DNS names are not supported in IP filter rules. Decide whether to mark the policy as applied by default. A default policy attaches automatically to new deployments you create in its region, and does not attach retroactively to existing ones. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-2-add-your-quotaguard-ips",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-2-add-your-quotaguard-ips"
  },"349": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Step 3: Attach the Policy to Your Deployment",
    "content": ". | On the Hosted deployments page, select your deployment | Select the Security tab in the left-hand menu | Under Network security, select Apply policies and choose your IP filter | . The policy takes effect only once it is attached. Creating it in step 1 changes nothing on its own. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-3-attach-the-policy-to-your-deployment",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-3-attach-the-policy-to-your-deployment"
  },"350": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Step 4: Add Any Other Sources Before You Rely on It",
    "content": "Once at least one policy is attached, everything not matching a policy on that deployment is denied. If you also connect from an office network, a CI runner, or a bastion host, cover those sources too. Elastic notes that multiple policies can be attached to one deployment, and traffic matching any of them is allowed. That makes it clean to keep your QuotaGuard pair in one policy and your office ranges in another, rather than maintaining a single combined list. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-4-add-any-other-sources-before-you-rely-on-it",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-4-add-any-other-sources-before-you-rely-on-it"
  },"351": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Step 5: Verify Before You Lock Down",
    "content": "Confirm a successful request through the proxy before you treat the filter as your access control. Attach the policy, deploy the proxy configuration, confirm the application connects, then finish tightening. If you make a mistake in the address, the deployment locks out all of your traffic. You can still adjust or remove the policy from the console, so this is recoverable, but it is an outage while you do it. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-5-verify-before-you-lock-down",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#step-5-verify-before-you-lock-down"
  },"352": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Configuring Your Application",
    "content": "Elasticsearch on Elastic Cloud is served over HTTPS, typically on port 9243. That means the standard HTTP proxy handles it. Set QUOTAGUARDSTATIC_URL and point your client’s proxy or agent option at it. Because the proxy tunnels HTTPS with CONNECT rather than terminating it, your Elasticsearch credentials and query payloads are not decrypted at the proxy, and certificate verification against the Elastic hostname works normally. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#configuring-your-application",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#configuring-your-application"
  },"353": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Node.js with @elastic/elasticsearch",
    "content": "npm install @elastic/elasticsearch https-proxy-agent . const { Client } = require('@elastic/elasticsearch'); const { HttpsProxyAgent } = require('https-proxy-agent'); const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const client = new Client({ node: process.env.ELASTIC_URL, auth: { apiKey: process.env.ELASTIC_API_KEY }, agent: () =&gt; agent, }); client.info() .then((res) =&gt; console.log('Connected to Elastic Cloud through QuotaGuard:', res.version.number)) .catch((err) =&gt; console.error('Connection failed:', err.message)); . Recent versions of the client also accept a proxy option directly on ClientOptions, which is cleaner than supplying an agent. Check the client version you have pinned before choosing between them. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#nodejs-with-elasticelasticsearch",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#nodejs-with-elasticelasticsearch"
  },"354": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Python with elasticsearch-py",
    "content": "pip install elasticsearch . import os from elasticsearch import Elasticsearch es = Elasticsearch( os.environ[\"ELASTIC_URL\"], api_key=os.environ[\"ELASTIC_API_KEY\"], node_class=\"requests\", ) print(\"Connected to Elastic Cloud through QuotaGuard:\", es.info()[\"version\"][\"number\"]) . With the requests transport, the standard HTTP_PROXY and HTTPS_PROXY environment variables are honored, so set HTTPS_PROXY to your QUOTAGUARDSTATIC_URL value in your platform’s config and no code change is needed. Transport configuration changed between elasticsearch-py 7.x and 8.x, which moved to elastic-transport. Confirm the proxy behavior on the version you have pinned rather than assuming it carries over. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#python-with-elasticsearch-py",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#python-with-elasticsearch-py"
  },"355": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Go with go-elasticsearch",
    "content": "Go’s standard http.Transport takes a proxy function, and the Elasticsearch client accepts a custom transport. package main import ( \"fmt\" \"log\" \"net/http\" \"net/url\" \"os\" \"github.com/elastic/go-elasticsearch/v8\" ) func main() { proxyURL, err := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) if err != nil { log.Fatal(\"parse proxy url:\", err) } cfg := elasticsearch.Config{ Addresses: []string{os.Getenv(\"ELASTIC_URL\")}, APIKey: os.Getenv(\"ELASTIC_API_KEY\"), Transport: &amp;http.Transport{ Proxy: http.ProxyURL(proxyURL), }, } es, err := elasticsearch.NewClient(cfg) if err != nil { log.Fatal(\"client:\", err) } res, err := es.Info() if err != nil { log.Fatal(\"info:\", err) } defer res.Body.Close() fmt.Println(\"Connected to Elastic Cloud through QuotaGuard:\", res.Status()) } . http.ProxyURL carries the credentials embedded in the URL, so no separate authentication step is needed. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#go-with-go-elasticsearch",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#go-with-go-elasticsearch"
  },"356": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Java with the Elasticsearch Java client",
    "content": "The low-level REST client exposes the underlying Apache HTTP client, which takes a proxy directly. import org.apache.http.HttpHost; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.impl.client.BasicCredentialsProvider; import org.elasticsearch.client.RestClient; import java.net.URI; URI proxy = URI.create(System.getenv(\"QUOTAGUARDSTATIC_URL\")); String[] userInfo = proxy.getUserInfo().split(\":\", 2); BasicCredentialsProvider credentials = new BasicCredentialsProvider(); credentials.setCredentials( new AuthScope(proxy.getHost(), proxy.getPort()), new UsernamePasswordCredentials(userInfo[0], userInfo[1]) ); RestClient restClient = RestClient .builder(HttpHost.create(System.getenv(\"ELASTIC_URL\"))) .setHttpClientConfigCallback(httpClientBuilder -&gt; httpClientBuilder .setProxy(new HttpHost(proxy.getHost(), proxy.getPort())) .setDefaultCredentialsProvider(credentials)) .build(); . Add your Elasticsearch authentication to the same builder alongside the proxy credentials. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#java-with-the-elasticsearch-java-client",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#java-with-the-elasticsearch-java-client"
  },"357": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Ruby with elasticsearch-ruby",
    "content": "require 'elasticsearch' client = Elasticsearch::Client.new( host: ENV['ELASTIC_URL'], api_key: ENV['ELASTIC_API_KEY'], transport_options: { proxy: ENV['QUOTAGUARDSTATIC_URL'] } ) puts \"Connected to Elastic Cloud through QuotaGuard: #{client.info['version']['number']}\" . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#ruby-with-elasticsearch-ruby",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#ruby-with-elasticsearch-ruby"
  },"358": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "PHP with elasticsearch-php",
    "content": "&lt;?php use Elastic\\Elasticsearch\\ClientBuilder; $client = ClientBuilder::create() -&gt;setHosts([getenv('ELASTIC_URL')]) -&gt;setApiKey(getenv('ELASTIC_API_KEY')) -&gt;setHttpClientOptions([ 'proxy' =&gt; getenv('QUOTAGUARDSTATIC_URL'), ]) -&gt;build(); $info = $client-&gt;info(); echo \"Connected to Elastic Cloud through QuotaGuard\\n\"; . The exact option name depends on which PSR-18 HTTP client the library is configured with. Confirm against your installed client if the source address does not change. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#php-with-elasticsearch-php",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#php-with-elasticsearch-php"
  },"359": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "curl",
    "content": "Useful for a fast check before touching application code: . curl -x \"$QUOTAGUARDSTATIC_URL\" \\ -H \"Authorization: ApiKey $ELASTIC_API_KEY\" \\ \"$ELASTIC_URL\" . A 200 with cluster information means the proxy and the filter are both configured correctly. A 403 mentioning traffic filtering means the request reached Elastic but the address was not on an attached policy. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#curl",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#curl"
  },"360": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Testing Your Implementation",
    "content": " ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#testing-your-implementation",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#testing-your-implementation"
  },"361": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Confirm the Outbound IP",
    "content": "Before testing against Elastic, confirm the proxy is actually in the path: . curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . The response is JSON, {\"ip\":\"...\"}, and the address should match one of the two in your QuotaGuard dashboard. Which one you get is decided per connection and can be either, so allowlist both. Repeated tests may show the same address or different ones, and both are normal. If the service you are allowlisting can only accept a single address, you can connect to one node of the pair directly and always use that IP, at the cost of the pair’s failover. See How to use one static IP address. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#confirm-the-outbound-ip",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#confirm-the-outbound-ip"
  },"362": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Confirm the Filter Is Doing Something",
    "content": "The useful test is the negative one. Make the same request without the proxy: . curl \"$ELASTIC_URL\" -H \"Authorization: ApiKey $ELASTIC_API_KEY\" . This should fail with a 403 referencing traffic filtering. If it succeeds, the policy is either not attached to the deployment or contains a range wide enough to include your current address, and you do not yet have the protection you think you have. A request that succeeds through the proxy is only half the confirmation. A request that fails without it is the other half. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#confirm-the-filter-is-doing-something",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#confirm-the-filter-is-doing-something"
  },"363": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Latency Considerations",
    "content": "Routing through a proxy adds a network hop to each request. Elasticsearch workloads vary widely in how much that matters. | Match all three regions. Application, QuotaGuard proxy, and Elastic deployment in the same cloud region wherever possible. | Reuse connections. Keep a long-lived client rather than constructing one per request, so TLS and proxy setup are not repeated. Every official Elasticsearch client pools connections by default. Do not defeat that by creating clients inside a request handler. | Use the bulk API for indexing. One bulk request pays the hop once instead of once per document. This matters far more through a proxy than without one. | Only proxy what needs a static IP. If your application also calls services with no IP restriction, leave those on a normal client without the proxy. | . Measure against your own workload and region pairing rather than assuming a fixed figure. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#latency-considerations",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#latency-considerations"
  },"364": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#troubleshooting",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#troubleshooting"
  },"365": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "403 Forbidden mentioning traffic filtering",
    "content": "The filter refused the request. In order: . | Confirm both QuotaGuard IPs are in the policy, not just one | Confirm the addresses match your dashboard exactly | Confirm the policy is attached to the deployment, not just created at the organization level. This is the most common miss. | Confirm the request is actually going through the proxy using the IP check above | . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#403-forbidden-mentioning-traffic-filtering",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#403-forbidden-mentioning-traffic-filtering"
  },"366": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "401 Unauthorized",
    "content": "An Elasticsearch credential error, not a filter or proxy problem. You reached the cluster. Check the API key or the username and password, and confirm the key has not expired or been revoked. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#401-unauthorized",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#401-unauthorized"
  },"367": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "The proxy works for some code paths and not others",
    "content": "Most likely you configured the proxy on one client instance and other parts of the application construct their own. Search for every place a client is created. Kibana dashboards, background jobs, and health checks are common stragglers. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-proxy-works-for-some-code-paths-and-not-others",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#the-proxy-works-for-some-code-paths-and-not-others"
  },"368": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Requests succeed without the proxy too",
    "content": "The policy is not attached, or an attached policy includes a range covering your current address. Remember that multiple attached policies are evaluated as a match against any of them, so a permissive policy attached alongside your restrictive one leaves the deployment open. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#requests-succeed-without-the-proxy-too",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#requests-succeed-without-the-proxy-too"
  },"369": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Telemetry still arrives but application requests fail",
    "content": "Elastic’s documentation states that in Elastic Cloud Hosted deployments, IP filters do not apply to the managed OTLP endpoint. Traffic to that endpoint is not covered by your policy. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#telemetry-still-arrives-but-application-requests-fail",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#telemetry-still-arrives-but-application-requests-fail"
  },"370": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": ". | Confirm the secret holds the full URL including credentials | Check for characters in the password that need URL encoding | Confirm port 9293 for the HTTP proxy, not 1080 | . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#407-proxy-authentication-required"
  },"371": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Certificate errors",
    "content": "The HTTP proxy tunnels HTTPS with CONNECT rather than terminating it, so certificate verification should behave exactly as it does without the proxy. If you see certificate errors that appear only with the proxy configured, check whether your client is treating the proxy URL as the request target rather than as a proxy. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#certificate-errors",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#certificate-errors"
  },"372": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Environment Variables Reference",
    "content": "# HTTP proxy (port 9293) - used for all Elasticsearch requests QUOTAGUARDSTATIC_URL=http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 # Some clients read the standard proxy variables instead HTTPS_PROXY=http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 # Your Elastic Cloud endpoint and credentials ELASTIC_URL=https://&lt;deployment&gt;.es.&lt;region&gt;.&lt;provider&gt;.elastic-cloud.com:9243 ELASTIC_API_KEY=your-api-key . Use the exact values from your QuotaGuard dashboard and your Elastic Cloud Console. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#environment-variables-reference",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#environment-variables-reference"
  },"373": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Security Best Practices",
    "content": ". | Attach the policy, do not just create it. A policy sitting at the organization level with no deployment association protects nothing. | Add both static IPs. Adding one produces intermittent failures that are hard to diagnose. | Keep separate policies for separate sources. Multiple attached policies are matched against any, so keeping your proxy pair and your office ranges in different policies makes each easy to remove without disturbing the other. | Use API keys with least privilege. The IP filter controls where connections come from. Role-based access controls what they can do once connected. | Never commit credentials. Use your platform’s secret storage for both the Elastic API key and the proxy URL. | Rotate credentials periodically, on both the Elastic and QuotaGuard sides. | . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#security-best-practices",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#security-best-practices"
  },"374": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price (direct) | $19/month | $29/month | . Your Elasticsearch queries and results travel inside the HTTPS tunnel in both cases and are never decrypted at the proxy. Static is right for most Elastic Cloud deployments. Choose Shield if the cluster holds regulated data under HIPAA, PCI-DSS, or SOC 2, or if your environment requires TLS between your app and the proxy itself. This is worth a real look for Elastic specifically, because clusters holding application logs frequently contain more regulated data than anyone intended, and log pipelines are a common source of unplanned PHI and cardholder data exposure. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#quotaguard-static-vs-quotaguard-shield"
  },"375": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Lock your Elastic Cloud deployment to two addresses without locking out your own application. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/#ready-to-get-started"
  },"376": {
    "doc": "QuotaGuard and Elastic Cloud Integration Guide",
    "title": "QuotaGuard and Elastic Cloud Integration Guide",
    "content": "QuotaGuard Static IPs let your cloud application reach an Elastic Cloud deployment protected by an IP filter. You add the two static IPs assigned to your subscription to a network security policy, and every request arrives from a known address no matter which platform your app runs on. You do not need QuotaGuard for local development or for infrastructure with stable IPs. This guide is for applications on Heroku, Render, Railway, Fly.io, Vercel, AWS Lambda, Google Cloud Run, Kubernetes, and other platforms where outbound IPs are dynamic. Elasticsearch is reached over HTTPS, so this integration uses QuotaGuard’s HTTP proxy on port 9293. There is no tunnel to configure and no SOCKS5 client library required. ",
    "url": "/docs/apis/elastic-cloud/elastic-cloud-integration/",
    "relUrl": "/docs/apis/elastic-cloud/elastic-cloud-integration/"
  },"377": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Why Emergent Apps Need Static IPs",
    "content": "Emergent.sh turns natural language prompts into production-ready applications, but those apps inherit the dynamic IP behavior of cloud infrastructure. Whether hosted on Emergent’s managed platform or exported and self-hosted, your app’s outbound traffic originates from shared, rotating IP pools. Common scenarios where you need a static IP: . | MongoDB Atlas: Requires IP allowlisting in Network Access settings | Payment Gateways: Stripe Connect, Adyen, and banking APIs that only accept requests from registered IPs | Amazon RDS: Security groups with IP-based rules | Partner APIs: Corporate firewalls that require known source addresses | Government Systems: Agencies and healthcare providers with strict IP policies | Legacy ERPs: On-premise SAP, Oracle, and mainframe systems with firewall restrictions | . The result is connection failures and blocked requests that have nothing to do with your code. Your credentials are valid. Your application logic is correct. The external service is simply blocking requests from unknown cloud IP addresses. QuotaGuard gives your Emergent applications a fixed, verifiable identity that partners can add to their firewall allowlists once. ",
    "url": "/docs/platforms/emergent/emergent-integration/#why-emergent-apps-need-static-ips",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#why-emergent-apps-need-static-ips"
  },"378": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Two Deployment Paths",
    "content": "Emergent supports two ways to run your apps: . | Path | How It Works | Static IP Solution | . | Emergent-hosted | Deploy directly on Emergent’s managed infrastructure | Configure proxy in application code | . | Exported | Export to GitHub, deploy on Vercel, Render, Fly.io, AWS, etc. | Configure proxy in code + set environment variable on hosting platform | . Both paths use the same code-level proxy configuration. The only difference is where you set the QUOTAGUARDSTATIC_URL environment variable. ",
    "url": "/docs/platforms/emergent/emergent-integration/#two-deployment-paths",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#two-deployment-paths"
  },"379": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Your proxy URL will look like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Finding Your Static IPs: Your two static IPs are displayed in the QuotaGuard dashboard. Both IPs are active simultaneously for high availability. Add both to any firewall allowlists you configure on the target service side. Choose the right proxy region: Match your QuotaGuard region to minimize latency. | Deployment Region | Recommended QuotaGuard Region | . | US (default) | US-East | . | US West | US-West | . | Canada | Canada (Montreal) | . | Europe | EU-West (Ireland) or EU-Central (Frankfurt) | . | Asia Pacific | AP-Northeast (Tokyo) or AP-Southeast (Singapore) | . | Australia | Australia (Sydney) | . | South America | South America (Sao Paulo) | . ",
    "url": "/docs/platforms/emergent/emergent-integration/#getting-started",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#getting-started"
  },"380": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Configuring Your Emergent Application",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#configuring-your-emergent-application",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#configuring-your-emergent-application"
  },"381": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Step 1: Set the Environment Variable",
    "content": "For Emergent-hosted apps: Check Emergent’s documentation for how to set environment variables. Most platforms provide this through a settings panel or configuration file. For exported apps on Vercel: . vercel env add QUOTAGUARDSTATIC_URL # Enter: http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Or add to your Vercel project settings in the dashboard under Environment Variables. For exported apps on Render: . Add the variable in your service’s Environment settings in the Render dashboard. For exported apps on Fly.io: . fly secrets set QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . For exported apps on AWS (Lambda/ECS): . Set the environment variable in your Lambda configuration or ECS task definition. ",
    "url": "/docs/platforms/emergent/emergent-integration/#step-1-set-the-environment-variable",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#step-1-set-the-environment-variable"
  },"382": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Step 2: Configure Your Application Code",
    "content": "Emergent typically generates Node.js or Python backends. Configure the proxy in your HTTP client. ",
    "url": "/docs/platforms/emergent/emergent-integration/#step-2-configure-your-application-code",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#step-2-configure-your-application-code"
  },"383": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Node.js",
    "content": "Install the proxy agent: . npm install https-proxy-agent . ",
    "url": "/docs/platforms/emergent/emergent-integration/#nodejs",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#nodejs"
  },"384": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Axios",
    "content": "const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); async function callProtectedAPI(url, data) { const response = await axios.post(url, data, { httpsAgent: agent }); return response.data; } // Example: payment API that requires IP whitelisting async function processPayment(paymentDetails) { return await callProtectedAPI( 'https://api.paymentprovider.com/v1/charge', paymentDetails ); } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-axios",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-axios"
  },"385": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Native Fetch (Undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const dispatcher = new ProxyAgent(proxyUrl); async function callProtectedAPI(url, options = {}) { const response = await fetch(url, { ...options, dispatcher }); return response.json(); } . Install undici: . npm install undici . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-native-fetch-undici",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-native-fetch-undici"
  },"386": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Node-Fetch",
    "content": "const fetch = require('node-fetch'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); async function callProtectedAPI(url, options = {}) { const response = await fetch(url, { ...options, agent }); return response.json(); } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-node-fetch",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-node-fetch"
  },"387": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Got",
    "content": "const got = require('got'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); async function callProtectedAPI(url) { const response = await got(url, { agent: { https: agent } }); return JSON.parse(response.body); } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-got",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-got"
  },"388": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Superagent",
    "content": "const superagent = require('superagent'); require('superagent-proxy')(superagent); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; async function callProtectedAPI(url, data) { const response = await superagent .post(url) .send(data) .proxy(proxyUrl); return response.body; } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-superagent",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-superagent"
  },"389": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Python",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#python",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#python"
  },"390": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Requests",
    "content": "import os import requests proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') proxies = { 'http': proxy_url, 'https': proxy_url } def call_protected_api(url, data): response = requests.post(url, json=data, proxies=proxies) return response.json() # Example: partner API behind corporate firewall def sync_inventory(inventory_data): return call_protected_api( 'https://api.partner.com/v2/inventory', inventory_data ) . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-requests",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-requests"
  },"391": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With HTTPX",
    "content": "import os import httpx proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') def call_protected_api(url, data): with httpx.Client(proxy=proxy_url) as client: response = client.post(url, json=data) return response.json() # Async version async def call_protected_api_async(url, data): async with httpx.AsyncClient(proxy=proxy_url) as client: response = await client.post(url, json=data) return response.json() . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-httpx",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-httpx"
  },"392": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With aiohttp (Async)",
    "content": "import os import aiohttp proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') async def call_protected_api(url, data): async with aiohttp.ClientSession() as session: async with session.post(url, json=data, proxy=proxy_url) as response: return await response.json() . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-aiohttp-async",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-aiohttp-async"
  },"393": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With urllib3",
    "content": "import os import urllib3 import json proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') http = urllib3.ProxyManager(proxy_url) def call_protected_api(url, data): response = http.request( 'POST', url, body=json.dumps(data), headers={'Content-Type': 'application/json'} ) return json.loads(response.data.decode('utf-8')) . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-urllib3",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-urllib3"
  },"394": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Ruby",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#ruby",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#ruby"
  },"395": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Net::HTTP",
    "content": "require 'net/http' require 'uri' require 'json' def call_protected_api(url, data) uri = URI.parse(url) proxy_uri = URI.parse(ENV['QUOTAGUARDSTATIC_URL']) http = Net::HTTP.new( uri.host, uri.port, proxy_uri.host, proxy_uri.port, proxy_uri.user, proxy_uri.password ) http.use_ssl = uri.scheme == 'https' request = Net::HTTP::Post.new(uri.path) request['Content-Type'] = 'application/json' request.body = data.to_json response = http.request(request) JSON.parse(response.body) end . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-nethttp",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-nethttp"
  },"396": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Faraday",
    "content": "require 'faraday' proxy_url = ENV['QUOTAGUARDSTATIC_URL'] conn = Faraday.new(proxy: proxy_url) do |f| f.request :json f.response :json end response = conn.post('https://api.partner.com/v2/data') do |req| req.body = { key: 'value' } end puts response.body . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-faraday",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-faraday"
  },"397": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With HTTParty",
    "content": "require 'httparty' proxy_uri = URI.parse(ENV['QUOTAGUARDSTATIC_URL']) response = HTTParty.post( 'https://api.partner.com/v2/data', body: { key: 'value' }.to_json, headers: { 'Content-Type' =&gt; 'application/json' }, http_proxyaddr: proxy_uri.host, http_proxyport: proxy_uri.port, http_proxyuser: proxy_uri.user, http_proxypass: proxy_uri.password ) puts response.parsed_response . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-httparty",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-httparty"
  },"398": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With RestClient",
    "content": "require 'rest-client' proxy_url = ENV['QUOTAGUARDSTATIC_URL'] RestClient.proxy = proxy_url response = RestClient.post( 'https://api.partner.com/v2/data', { key: 'value' }.to_json, { content_type: :json } ) puts JSON.parse(response.body) . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-restclient",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-restclient"
  },"399": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "PHP",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#php",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#php"
  },"400": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With cURL",
    "content": "&lt;?php function callProtectedAPI($url, $data) { $proxyUrl = getenv('QUOTAGUARDSTATIC_URL'); $proxy = parse_url($proxyUrl); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']); curl_setopt($ch, CURLOPT_PROXY, $proxy['host'] . ':' . $proxy['port']); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxy['user'] . ':' . $proxy['pass']); $response = curl_exec($ch); if (curl_errno($ch)) { throw new Exception('cURL error: ' . curl_error($ch)); } curl_close($ch); return json_decode($response, true); } // Example usage $result = callProtectedAPI('https://api.partner.com/v2/data', ['key' =&gt; 'value']); print_r($result); . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-curl",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-curl"
  },"401": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Guzzle",
    "content": "&lt;?php require 'vendor/autoload.php'; use GuzzleHttp\\Client; $proxyUrl = getenv('QUOTAGUARDSTATIC_URL'); $client = new Client([ 'proxy' =&gt; $proxyUrl ]); $response = $client-&gt;post('https://api.partner.com/v2/data', [ 'json' =&gt; ['key' =&gt; 'value'] ]); $data = json_decode($response-&gt;getBody(), true); print_r($data); . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-guzzle",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-guzzle"
  },"402": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Symfony HttpClient",
    "content": "&lt;?php use Symfony\\Component\\HttpClient\\HttpClient; $proxyUrl = getenv('QUOTAGUARDSTATIC_URL'); $client = HttpClient::create([ 'proxy' =&gt; $proxyUrl ]); $response = $client-&gt;request('POST', 'https://api.partner.com/v2/data', [ 'json' =&gt; ['key' =&gt; 'value'] ]); $data = $response-&gt;toArray(); print_r($data); . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-symfony-httpclient",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-symfony-httpclient"
  },"403": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Go",
    "content": "package main import ( \"bytes\" \"encoding/json\" \"fmt\" \"io\" \"net/http\" \"net/url\" \"os\" ) func callProtectedAPI(targetURL string, data map[string]interface{}) (map[string]interface{}, error) { proxyURL, err := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) if err != nil { return nil, err } client := &amp;http.Client{ Transport: &amp;http.Transport{ Proxy: http.ProxyURL(proxyURL), }, } jsonData, err := json.Marshal(data) if err != nil { return nil, err } resp, err := client.Post(targetURL, \"application/json\", bytes.NewBuffer(jsonData)) if err != nil { return nil, err } defer resp.Body.Close() body, err := io.ReadAll(resp.Body) if err != nil { return nil, err } var result map[string]interface{} json.Unmarshal(body, &amp;result) return result, nil } func main() { data := map[string]interface{}{\"key\": \"value\"} result, err := callProtectedAPI(\"https://api.partner.com/v2/data\", data) if err != nil { panic(err) } fmt.Println(result) } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#go",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#go"
  },"404": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Java",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#java",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#java"
  },"405": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With HttpURLConnection",
    "content": "import java.net.*; import java.io.*; public class ProxiedRequest { public static String callProtectedAPI(String targetUrl, String jsonData) throws Exception { String proxyUrlStr = System.getenv(\"QUOTAGUARDSTATIC_URL\"); URL proxyUrl = new URL(proxyUrlStr); String userInfo = proxyUrl.getUserInfo(); String user = userInfo.substring(0, userInfo.indexOf(':')); String password = userInfo.substring(userInfo.indexOf(':') + 1); Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyUrl.getHost(), proxyUrl.getPort())); Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(user, password.toCharArray()); } }); URL url = new URL(targetUrl); HttpURLConnection conn = (HttpURLConnection) url.openConnection(proxy); conn.setRequestMethod(\"POST\"); conn.setRequestProperty(\"Content-Type\", \"application/json\"); conn.setDoOutput(true); try (OutputStream os = conn.getOutputStream()) { os.write(jsonData.getBytes(\"UTF-8\")); } StringBuilder response = new StringBuilder(); try (BufferedReader br = new BufferedReader( new InputStreamReader(conn.getInputStream(), \"UTF-8\"))) { String line; while ((line = br.readLine()) != null) { response.append(line); } } return response.toString(); } } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-httpurlconnection",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-httpurlconnection"
  },"406": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With OkHttp",
    "content": "import okhttp3.*; import java.net.*; public class ProxiedOkHttpClient { public static OkHttpClient createClient() { String proxyUrlStr = System.getenv(\"QUOTAGUARDSTATIC_URL\"); URL proxyUrl; try { proxyUrl = new URL(proxyUrlStr); } catch (Exception e) { throw new RuntimeException(e); } String userInfo = proxyUrl.getUserInfo(); String user = userInfo.substring(0, userInfo.indexOf(':')); String password = userInfo.substring(userInfo.indexOf(':') + 1); Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyUrl.getHost(), proxyUrl.getPort())); Authenticator proxyAuthenticator = (route, response) -&gt; { String credential = Credentials.basic(user, password); return response.request().newBuilder() .header(\"Proxy-Authorization\", credential) .build(); }; return new OkHttpClient.Builder() .proxy(proxy) .proxyAuthenticator(proxyAuthenticator) .build(); } } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-okhttp",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-okhttp"
  },"407": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Apache HttpClient",
    "content": "import org.apache.http.HttpHost; import org.apache.http.auth.*; import org.apache.http.client.*; import org.apache.http.impl.client.*; import org.apache.http.client.methods.*; import org.apache.http.entity.StringEntity; public class ProxiedApacheClient { public static CloseableHttpClient createClient() { String proxyUrlStr = System.getenv(\"QUOTAGUARDSTATIC_URL\"); java.net.URL proxyUrl; try { proxyUrl = new java.net.URL(proxyUrlStr); } catch (Exception e) { throw new RuntimeException(e); } String userInfo = proxyUrl.getUserInfo(); String user = userInfo.substring(0, userInfo.indexOf(':')); String password = userInfo.substring(userInfo.indexOf(':') + 1); HttpHost proxy = new HttpHost(proxyUrl.getHost(), proxyUrl.getPort()); CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials( new AuthScope(proxyUrl.getHost(), proxyUrl.getPort()), new UsernamePasswordCredentials(user, password) ); return HttpClients.custom() .setProxy(proxy) .setDefaultCredentialsProvider(credsProvider) .build(); } } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-apache-httpclient",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-apache-httpclient"
  },"408": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "C# / .NET",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#c--net",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#c--net"
  },"409": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With HttpClient",
    "content": "using System; using System.Net; using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; public class ProxiedHttpClient { private static HttpClient CreateProxiedClient() { var proxyUrl = Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\"); var proxyUri = new Uri(proxyUrl); var proxy = new WebProxy(proxyUri.GetLeftPart(UriPartial.Authority)) { Credentials = new NetworkCredential( Uri.UnescapeDataString(proxyUri.UserInfo.Split(':')[0]), Uri.UnescapeDataString(proxyUri.UserInfo.Split(':')[1]) ) }; var handler = new HttpClientHandler { Proxy = proxy, UseProxy = true }; return new HttpClient(handler); } public static async Task&lt;T&gt; CallProtectedAPI&lt;T&gt;(string url, object data) { using var client = CreateProxiedClient(); var json = JsonSerializer.Serialize(data); var content = new StringContent(json, Encoding.UTF8, \"application/json\"); var response = await client.PostAsync(url, content); var responseJson = await response.Content.ReadAsStringAsync(); return JsonSerializer.Deserialize&lt;T&gt;(responseJson); } } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-httpclient",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-httpclient"
  },"410": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With RestSharp",
    "content": "using RestSharp; using System; using System.Net; public class ProxiedRestClient { public static RestClient CreateClient(string baseUrl) { var proxyUrl = Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\"); var proxyUri = new Uri(proxyUrl); var options = new RestClientOptions(baseUrl) { Proxy = new WebProxy(proxyUri.GetLeftPart(UriPartial.Authority)) { Credentials = new NetworkCredential( Uri.UnescapeDataString(proxyUri.UserInfo.Split(':')[0]), Uri.UnescapeDataString(proxyUri.UserInfo.Split(':')[1]) ) } }; return new RestClient(options); } } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-restsharp",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-restsharp"
  },"411": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Rust",
    "content": "use reqwest::Proxy; use std::env; #[tokio::main] async fn main() -&gt; Result&lt;(), Box&lt;dyn std::error::Error&gt;&gt; { let proxy_url = env::var(\"QUOTAGUARDSTATIC_URL\")?; let proxy = Proxy::all(&amp;proxy_url)?; let client = reqwest::Client::builder() .proxy(proxy) .build()?; let response = client .post(\"https://api.partner.com/v2/data\") .json(&amp;serde_json::json!({\"key\": \"value\"})) .send() .await?; let data: serde_json::Value = response.json().await?; println!(\"{:?}\", data); Ok(()) } . Add to Cargo.toml: . [dependencies] reqwest = { version = \"0.11\", features = [\"json\", \"socks\"] } tokio = { version = \"1\", features = [\"full\"] } serde_json = \"1.0\" . ",
    "url": "/docs/platforms/emergent/emergent-integration/#rust",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#rust"
  },"412": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Elixir",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#elixir",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#elixir"
  },"413": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With HTTPoison",
    "content": "defmodule ProxiedClient do def call_protected_api(url, data) do proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") uri = URI.parse(proxy_url) [user, pass] = String.split(uri.userinfo, \":\") proxy = { String.to_charlist(uri.host), uri.port, [{:proxy_auth, {String.to_charlist(user), String.to_charlist(pass)}}] } headers = [{\"Content-Type\", \"application/json\"}] body = Jason.encode!(data) options = [proxy: proxy] case HTTPoison.post(url, body, headers, options) do {:ok, %HTTPoison.Response{body: response_body}} -&gt; Jason.decode!(response_body) {:error, %HTTPoison.Error{reason: reason}} -&gt; {:error, reason} end end end . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-httpoison",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-httpoison"
  },"414": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Req",
    "content": "defmodule ProxiedClient do def call_protected_api(url, data) do proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") Req.post!(url, json: data, connect_options: [proxy: proxy_url] ).body end end . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-req",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-req"
  },"415": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "With Tesla",
    "content": "defmodule ProxiedClient do use Tesla def client do proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") middleware = [ {Tesla.Middleware.BaseUrl, \"https://api.partner.com\"}, Tesla.Middleware.JSON ] adapter = {Tesla.Adapter.Hackney, [proxy: proxy_url]} Tesla.client(middleware, adapter) end def call_protected_api(path, data) do client() |&gt; post(path, data) end end . ",
    "url": "/docs/platforms/emergent/emergent-integration/#with-tesla",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#with-tesla"
  },"416": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Kotlin",
    "content": "import okhttp3.* import java.net.InetSocketAddress import java.net.Proxy import java.net.URL fun createProxiedClient(): OkHttpClient { val proxyUrlStr = System.getenv(\"QUOTAGUARDSTATIC_URL\") val proxyUrl = URL(proxyUrlStr) val userInfo = proxyUrl.userInfo val user = userInfo.substringBefore(':') val password = userInfo.substringAfter(':') val proxy = Proxy(Proxy.Type.HTTP, InetSocketAddress(proxyUrl.host, proxyUrl.port)) val proxyAuthenticator = Authenticator { _, response -&gt; val credential = Credentials.basic(user, password) response.request.newBuilder() .header(\"Proxy-Authorization\", credential) .build() } return OkHttpClient.Builder() .proxy(proxy) .proxyAuthenticator(proxyAuthenticator) .build() } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#kotlin",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#kotlin"
  },"417": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Scala",
    "content": "import sttp.client3._ import sttp.client3.httpclient.HttpClientSyncBackend import java.net.{InetSocketAddress, PasswordAuthentication, Proxy, Authenticator} object ProxiedClient { def call(url: String): String = { val proxyUrl = new java.net.URL(sys.env(\"QUOTAGUARDSTATIC_URL\")) val userInfo = proxyUrl.getUserInfo.split(\":\") Authenticator.setDefault(new Authenticator { override def getPasswordAuthentication: PasswordAuthentication = new PasswordAuthentication(userInfo(0), userInfo(1).toCharArray) }) val backend = HttpClientSyncBackend( options = SttpBackendOptions.httpProxy(proxyUrl.getHost, proxyUrl.getPort) ) val request = basicRequest.get(uri\"$url\") val response = request.send(backend) response.body.getOrElse(\"\") } } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#scala",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#scala"
  },"418": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Swift",
    "content": "import Foundation class ProxiedClient { static func callProtectedAPI(url: URL, data: [String: Any], completion: @escaping (Result&lt;[String: Any], Error&gt;) -&gt; Void) { guard let proxyUrlString = ProcessInfo.processInfo.environment[\"QUOTAGUARDSTATIC_URL\"], let proxyUrl = URL(string: proxyUrlString) else { return } let config = URLSessionConfiguration.default config.connectionProxyDictionary = [ kCFNetworkProxiesHTTPEnable: true, kCFNetworkProxiesHTTPProxy: proxyUrl.host!, kCFNetworkProxiesHTTPPort: proxyUrl.port!, kCFNetworkProxiesHTTPSEnable: true, kCFNetworkProxiesHTTPSProxy: proxyUrl.host!, kCFNetworkProxiesHTTPSPort: proxyUrl.port! ] let session = URLSession(configuration: config) var request = URLRequest(url: url) request.httpMethod = \"POST\" request.setValue(\"application/json\", forHTTPHeaderField: \"Content-Type\") request.httpBody = try? JSONSerialization.data(withJSONObject: data) session.dataTask(with: request) { data, response, error in if let error = error { completion(.failure(error)) return } if let data = data, let json = try? JSONSerialization.jsonObject(with: data) as? [String: Any] { completion(.success(json)) } }.resume() } } . ",
    "url": "/docs/platforms/emergent/emergent-integration/#swift",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#swift"
  },"419": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Database Connections (SOCKS5)",
    "content": "For non-HTTP protocols like PostgreSQL, MySQL, MongoDB, or SFTP, use QuotaGuard’s SOCKS5 proxy on port 1080. Your SOCKS5 proxy URL: . socks5://username:password@&lt;your-quotaguard-proxy-host&gt;:1080 . ",
    "url": "/docs/platforms/emergent/emergent-integration/#database-connections-socks5",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#database-connections-socks5"
  },"420": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Python with PySocks",
    "content": "import os import socks import socket proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') # Parse the URL to get host, port, user, password socks.set_default_proxy( socks.SOCKS5, '&lt;your-quotaguard-proxy-host&gt;', 1080, username='your-username', password='your-password' ) socket.socket = socks.socksocket # Now database connections use the SOCKS5 proxy import psycopg2 conn = psycopg2.connect( host='your-database.example.com', database='mydb', user='dbuser', password='dbpass' ) . ",
    "url": "/docs/platforms/emergent/emergent-integration/#python-with-pysocks",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#python-with-pysocks"
  },"421": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Using QGTunnel",
    "content": "For complex multi-protocol setups, QGTunnel creates local port mappings that route traffic through QuotaGuard’s SOCKS5 proxy transparently. | Download QGTunnel from QuotaGuard dashboard | Configure tunnel mappings in the dashboard | Download the .qgtunnel configuration file | Run your app with: bin/qgtunnel your-app-command | . Your application connects to localhost, and QGTunnel handles the proxying. ",
    "url": "/docs/platforms/emergent/emergent-integration/#using-qgtunnel",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#using-qgtunnel"
  },"422": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Selective Proxying",
    "content": "Only route requests that need static IPs through the proxy: . const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const proxyAgent = new HttpsProxyAgent(proxyUrl); // Services that require static IPs const PROTECTED_DOMAINS = [ 'api.paymentprovider.com', 'api.partner.com', 'sftp.enterprise.com' ]; function needsStaticIP(url) { const hostname = new URL(url).hostname; return PROTECTED_DOMAINS.some(domain =&gt; hostname.includes(domain)); } async function smartRequest(url, options = {}) { const config = { ...options }; if (needsStaticIP(url)) { config.httpsAgent = proxyAgent; } return axios(url, config); } . This approach minimizes latency for requests that don’t need static IPs while ensuring protected services always receive requests from your allowlisted addresses. ",
    "url": "/docs/platforms/emergent/emergent-integration/#selective-proxying",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#selective-proxying"
  },"423": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Testing Your Configuration",
    "content": "Verify your static IP is working by calling the QuotaGuard test endpoint: . // Node.js const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const response = await axios.get('https://ip.quotaguard.com', { httpsAgent: agent }); console.log('Your static IP:', response.data); . # Python import os import requests proxies = { 'http': os.environ.get('QUOTAGUARDSTATIC_URL'), 'https': os.environ.get('QUOTAGUARDSTATIC_URL') } response = requests.get('https://ip.quotaguard.com', proxies=proxies) print('Your static IP:', response.json()) . The returned IP should match one of the two static IPs shown in your QuotaGuard dashboard. Run multiple times to see both IPs in action (load-balanced). ",
    "url": "/docs/platforms/emergent/emergent-integration/#testing-your-configuration",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#testing-your-configuration"
  },"424": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/emergent/emergent-integration/#troubleshooting",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#troubleshooting"
  },"425": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your proxy credentials are incorrect. Verify: . | The QUOTAGUARDSTATIC_URL environment variable is set correctly | Username and password match your QuotaGuard dashboard | Special characters in the password are URL-encoded | . ",
    "url": "/docs/platforms/emergent/emergent-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#407-proxy-authentication-required"
  },"426": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Connection Timeout",
    "content": ". | Verify the QuotaGuard proxy hostname is correct (check your dashboard) | Ensure port 9293 is used for HTTP proxy, port 1080 for SOCKS5 | Check that your deployment environment allows outbound connections | Verify no firewall rules block traffic to QuotaGuard | . ",
    "url": "/docs/platforms/emergent/emergent-integration/#connection-timeout",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#connection-timeout"
  },"427": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Wrong IP Address Returned",
    "content": "The proxy may not be configured correctly: . | Verify the environment variable is being read in your code | Check that you’re passing the proxy agent to the specific request | Ensure you’re not reusing an HTTP client instance created without the proxy | . ",
    "url": "/docs/platforms/emergent/emergent-integration/#wrong-ip-address-returned",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#wrong-ip-address-returned"
  },"428": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "SSL/TLS Errors",
    "content": "If you see certificate errors: . | Ensure you’re using httpsAgent (not httpAgent) for HTTPS requests | Check that your HTTP client library version supports modern TLS | . ",
    "url": "/docs/platforms/emergent/emergent-integration/#ssltls-errors",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#ssltls-errors"
  },"429": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Encryption | Outbound payload never decrypted (both products) | Outbound payload never decrypted; Shield adds a TLS-encrypted app-to-proxy hop | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . For most Emergent applications, QuotaGuard Static provides everything you need. Choose Shield if you’re handling protected health information (PHI), payment card data, or have specific compliance requirements where end-to-end encryption through the proxy is mandatory. ",
    "url": "/docs/platforms/emergent/emergent-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#quotaguard-static-vs-quotaguard-shield"
  },"430": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/platforms/emergent/emergent-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/emergent/emergent-integration/#ready-to-get-started"
  },"431": {
    "doc": "QuotaGuard and Emergent Integration Guide",
    "title": "QuotaGuard and Emergent Integration Guide",
    "content": "QuotaGuard Static IPs allow your Emergent applications to send outbound traffic through a load-balanced pair of static IP addresses. Once set up, you can use QuotaGuard’s IPs to connect to firewalled databases and APIs that require IP allowlisting. This guide covers both deployment paths: Emergent-hosted apps and apps exported to GitHub for self-hosting on Vercel, Render, Fly.io, AWS, or other platforms. ",
    "url": "/docs/platforms/emergent/emergent-integration/",
    "relUrl": "/docs/platforms/emergent/emergent-integration/"
  },"432": {
    "doc": "Enable/Disable 2FA",
    "title": "Enabling 2FA",
    "content": "Follow these steps to enable Two-Factor Authentication (2FA) for your account: . | Navigate to the Account Management page. | Under the “Two-Factor Authentication” heading, click “Enable 2FA”. | Scan the provided QR code or enter the OTP provisioning information into your Authenticator app. | Enter the OTP code generated by your Authenticator app into the text field and click “Enable 2FA”. | Securely save the provided backup codes. | Click “Close”. You have now enabled 2FA for your account. | . ",
    "url": "/docs/security/two-factor-authentication/enable-or-disable/#enabling-2fa",
    "relUrl": "/docs/security/two-factor-authentication/enable-or-disable/#enabling-2fa"
  },"433": {
    "doc": "Enable/Disable 2FA",
    "title": "Disabling 2FA",
    "content": "Follow these steps to disable Two-Factor Authentication (2FA) for your account: . | Navigate to the Account Management page. | Under the “Two-Factor Authentication” heading, click “Disable 2FA”. | Enter the OTP code generated by your Authenticator app into the text field and click “Disable 2FA”. | . ",
    "url": "/docs/security/two-factor-authentication/enable-or-disable/#disabling-2fa",
    "relUrl": "/docs/security/two-factor-authentication/enable-or-disable/#disabling-2fa"
  },"434": {
    "doc": "Enable/Disable 2FA",
    "title": "Enable/Disable 2FA",
    "content": "Two-factor authentication (2FA) adds an additional layer of protection beyond passwords. Here’s how to enable or disable it. Note: 2FA applies to accounts that sign in to the dashboard with an email and password. If you access your dashboard through your platform’s single sign-on, your login is secured by that platform instead, and the Two-Factor Authentication section will not appear on your Account Management page. ",
    "url": "/docs/security/two-factor-authentication/enable-or-disable/",
    "relUrl": "/docs/security/two-factor-authentication/enable-or-disable/"
  },"435": {
    "doc": "How do I set up environment-specific .qgtunnel files?",
    "title": "How do I set up environment-specific .qgtunnel files?",
    "content": "There are three options to make this work. Each works perfectly fine and either can be adjusted to fit your needs. A) We’ve added the ability to store the configuration file in an environment variable “QGTUNNEL_CONFIG”. Note: The QGTUNNEL_CONFIG option will only work if you have the April 2021 (or later) version of qgtunnel installed. If you aren’t sure if you have the most recent version of qgtunnel, you can grab it using: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . You will want to set the environment variable to the content of the .qgtunnel file. (You don’t need to put the qgtunnel file in your repo). ​ So if you are on Heroku you would set it like this: . Copy heroku config:set -a $APPNAME QGTUNNEL_CONFIG='[qgtunnel.mysql] accept = \"localhost:3306\" connect = \"tcp://abcdef1234567890.us-east-1.rds.amazonaws.com:3306\" transparent = true' . B) You can also handle this with a launch script by making a .qgtunnel.staging and a .qgtunnel.production file. Then in the launch script do something like this: . Copy #!/bin/bash if [ \"$ENVIRONMENT\" == \"staging\" ]; then cp .qgtunnel.staging .qgtunnel else cp .qgtunnel.production .qgtunnel fi bin/qgtunnel $@ . Save that as something like bin/qglaunch. Then change your startup code to call bin/qglaunch with all your program arguments instead of bin/qgtunnel. C) We’ve seen some customers save the full .qgtunnel file into an environment variable and in the launch script they create the .qgtunnel file from the environment variable. Note: If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. You can use this variable to help in situations where you have multiple environments and want to make sure they’re starting up with the right configuration file. Pretty easy, huh? . Happy tunneling! . ",
    "url": "/docs/qgtunnel/environment-specific-config/",
    "relUrl": "/docs/qgtunnel/environment-specific-config/"
  },"436": {
    "doc": "ERROR 1222",
    "title": "Oops… something went wrong",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/error-1222/#oops-something-went-wrong",
    "relUrl": "/docs/troubleshooting/error-codes/error-1222/#oops-something-went-wrong"
  },"437": {
    "doc": "ERROR 1222",
    "title": "If you administer this site…",
    "content": "You can find the usual causes of this error on this page. If you are still experiencing issues after reviewing the information below, please reach out to our support team. If you still have questions, please write us to help get this resolved. Email: support@quotaguard.com . ",
    "url": "/docs/troubleshooting/error-codes/error-1222/#if-you-administer-this-site",
    "relUrl": "/docs/troubleshooting/error-codes/error-1222/#if-you-administer-this-site"
  },"438": {
    "doc": "ERROR 1222",
    "title": "Not a QuotaGuard customer or a former Statica Customer?",
    "content": "QuotaGuard was formerly known as Statica, so if you’re seeing errors regarding that name, please contact support@quotaguard.com for help. ",
    "url": "/docs/troubleshooting/error-codes/error-1222/#not-a-quotaguard-customer-or-a-former-statica-customer",
    "relUrl": "/docs/troubleshooting/error-codes/error-1222/#not-a-quotaguard-customer-or-a-former-statica-customer"
  },"439": {
    "doc": "ERROR 1222",
    "title": "ERROR 1222",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/error-1222/",
    "relUrl": "/docs/troubleshooting/error-codes/error-1222/"
  },"440": {
    "doc": "ERROR 2297",
    "title": "Oops… something went wrong…",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/error-2297/#oops-something-went-wrong",
    "relUrl": "/docs/troubleshooting/error-codes/error-2297/#oops-something-went-wrong"
  },"441": {
    "doc": "ERROR 2297",
    "title": "If you administer this site…",
    "content": "We have an article for the usual causes of this error -&gt; QuotaGuard Error 2297. If you still have questions, please write us to help get this resolved. Email: support@quotaguard.com . ",
    "url": "/docs/troubleshooting/error-codes/error-2297/#if-you-administer-this-site",
    "relUrl": "/docs/troubleshooting/error-codes/error-2297/#if-you-administer-this-site"
  },"442": {
    "doc": "ERROR 2297",
    "title": "Not a QuotaGuard customer or a former Statica Customer?",
    "content": "QuotaGuard was formerly known as Statica, so if you’re seeing errors regarding that name, please contact support@quotaguard.com for help. ",
    "url": "/docs/troubleshooting/error-codes/error-2297/#not-a-quotaguard-customer-or-a-former-statica-customer",
    "relUrl": "/docs/troubleshooting/error-codes/error-2297/#not-a-quotaguard-customer-or-a-former-statica-customer"
  },"443": {
    "doc": "ERROR 2297",
    "title": "ERROR 2297",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/error-2297/",
    "relUrl": "/docs/troubleshooting/error-codes/error-2297/"
  },"444": {
    "doc": "ERROR 3521",
    "title": "Oops… something went wrong",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/error-3521/#oops-something-went-wrong",
    "relUrl": "/docs/troubleshooting/error-codes/error-3521/#oops-something-went-wrong"
  },"445": {
    "doc": "ERROR 3521",
    "title": "If you administer this site…",
    "content": "Please contact QuotaGuard, we can help, so please write us to help get this resolved. Email: support@quotaguard.com . ",
    "url": "/docs/troubleshooting/error-codes/error-3521/#if-you-administer-this-site",
    "relUrl": "/docs/troubleshooting/error-codes/error-3521/#if-you-administer-this-site"
  },"446": {
    "doc": "ERROR 3521",
    "title": "Not a QuotaGuard customer or a former Statica Customer?",
    "content": "QuotaGuard was formerly known as Statica, so if you’re seeing errors regarding that name, please contact support@quotaguard.com for help. ",
    "url": "/docs/troubleshooting/error-codes/error-3521/#not-a-quotaguard-customer-or-a-former-statica-customer",
    "relUrl": "/docs/troubleshooting/error-codes/error-3521/#not-a-quotaguard-customer-or-a-former-statica-customer"
  },"447": {
    "doc": "ERROR 3521",
    "title": "ERROR 3521",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/error-3521/",
    "relUrl": "/docs/troubleshooting/error-codes/error-3521/"
  },"448": {
    "doc": "QuotaGuard 402 Payment Required Error",
    "title": "Ignore Everything Below This Line",
    "content": "Unforunately, Google won’t index short and to-the-point answers like we provided above. Apparently verbose, long-winded meandering rambles that waste your time is what Google prefers. So we have to add all this extra text that serves no purpose down here to make the article appear “authoritative” to Google. So just ignore all of this text about the 402 Payment Required Error and follow through with what the first three paragraphs say. If you still see issues, just ping us at that QuotaGuard Support email address above so we can help. ",
    "url": "/docs/troubleshooting/error-codes/error-402-payment-required/#ignore-everything-below-this-line",
    "relUrl": "/docs/troubleshooting/error-codes/error-402-payment-required/#ignore-everything-below-this-line"
  },"449": {
    "doc": "QuotaGuard 402 Payment Required Error",
    "title": "QuotaGuard 402 Payment Required Error",
    "content": "The 402 - Payment Required error usually surfaces if you’re trying to use our Heroku Dynamic proxy and attempting to access HTTPS URL’s. HTTPS is only available on our Enterprise plan, so please try changing your plan to the Enterprise level and see if that resolves the error. If not, send us a Support ticket so we can look into what else might be causing the 402 Error “Payment Required” for your subscription. ",
    "url": "/docs/troubleshooting/error-codes/error-402-payment-required/",
    "relUrl": "/docs/troubleshooting/error-codes/error-402-payment-required/"
  },"450": {
    "doc": "QuotaGuard Error 407",
    "title": "Steps to Fix QuotaGuard Error 407:",
    "content": "A) Log into your QuotaGuard account and follow these instructions to change your plan to one that covers the usage for the current month : . Our guide on How to Upgrade, Downgrade, or Cancel Your Subscription covers Direct, Heroku, AWS, and Azure subscriptions. B) After changing the plan to an appropriate level, the subscription plan service will update each account every 10 minutes, on the “0” minute, to reflect “Active” instead of “Suspended”. Please wait until you see the time pass 10, 20, 30, 40, 50, or the start of the hour and verify that your QuotaGuard service is working. C) Verify your QG integration is now working. If it is not, write us at Support so we can verify that everything processed correctly with the upgrade and the service is now in good standing. D) Optional Recommendation - Make sure Quotaguard has an email address on file that you actually will receive when your account is approaching its quota so we can successfully reach out to you. Some accounts have generic Accounting or unmonitored emails and we have no way to reach you to tell you your account is over its limit. This is the #1 reason subscriptions are suspended, not because there’s an issue, but because we can’t reach customers to discuss how to resolve account questions. If you account has a generic or unmonitored email address, please send us an email at Support so we can update your contact information. ",
    "url": "/docs/troubleshooting/error-codes/error-407/#steps-to-fix-quotaguard-error-407",
    "relUrl": "/docs/troubleshooting/error-codes/error-407/#steps-to-fix-quotaguard-error-407"
  },"451": {
    "doc": "QuotaGuard Error 407",
    "title": "QuotaGuard Error 407",
    "content": "When you see a QuotaGuard Error of 407 Proxy Authentication Required then this is likely an error that relates to suspended subscriptions. This is usually a result of monthly usage that exceeds the plans monthly quota allowable. The QuotaGuard system will suspend a subscription after multiple attempts to contact the user (to update the payment plan) have been unsuccessful. ",
    "url": "/docs/troubleshooting/error-codes/error-407/",
    "relUrl": "/docs/troubleshooting/error-codes/error-407/"
  },"452": {
    "doc": "ERROR 4522",
    "title": "Oops… something went wrong",
    "content": "Please contact QuotaGuard, we can help, so please write us to help get this resolved. Email: support@quotaguard.com . ",
    "url": "/docs/troubleshooting/error-codes/error-4522/#oops-something-went-wrong",
    "relUrl": "/docs/troubleshooting/error-codes/error-4522/#oops-something-went-wrong"
  },"453": {
    "doc": "ERROR 4522",
    "title": "Not a QuotaGuard customer or a former Statica Customer?",
    "content": "QuotaGuard was formerly known as Statica, so if you’re seeing errors regarding that name, please contact support@quotaguard.com for help. ",
    "url": "/docs/troubleshooting/error-codes/error-4522/#not-a-quotaguard-customer-or-a-former-statica-customer",
    "relUrl": "/docs/troubleshooting/error-codes/error-4522/#not-a-quotaguard-customer-or-a-former-statica-customer"
  },"454": {
    "doc": "ERROR 4522",
    "title": "ERROR 4522",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/error-4522/",
    "relUrl": "/docs/troubleshooting/error-codes/error-4522/"
  },"455": {
    "doc": "RazorpayX example code and offline checks",
    "title": "Configure a deployed runtime",
    "content": "Set QUOTAGUARDSTATIC_URL from the selected QuotaGuard subscription’s HTTP connection URL. Set EXPECTED_EGRESS_IPS to its two distinct dashboard IPv4 addresses, separated by a comma. Use your platform’s server-side secret store for the URL.env.example contains non-working placeholders only; these programs do not automatically load a .env file. Install dependencies in your application-managed environment, review the resolved versions, and commit the normal dependency lockfile without secrets. Python: . python -m pip install requests python check_egress.py . Node.js with a currently supported runtime compatible with the selected dependency: . npm install https-proxy-agent node check-egress.mjs . The current upstream https-proxy-agent package metadata specifies Node 20 or newer. Check the actual installed release’s runtime requirements. Upstream source and an installed package are not necessarily the same version. ",
    "url": "/docs/apis/razorpayx/examples/#configure-a-deployed-runtime",
    "relUrl": "/docs/apis/razorpayx/examples/#configure-a-deployed-runtime"
  },"456": {
    "doc": "RazorpayX example code and offline checks",
    "title": "Read the result",
    "content": "A successful run prints a JSON object with egress_ip and matches_configured_pair. The observed address must match either member of the configured pair. No sample output in this packet represents an actual proxied result. Failures return a nonzero exit code. The examples reject missing configuration, malformed pairs, redirects/non-200 responses, oversized bodies, invalid JSON or IP fields, and addresses outside the pair. There is no direct fallback or automatic retry. TLS certificate verification remains enabled. Proxy errors are deliberately sanitized rather than printed verbatim. The Node program applies a 30-second overall request deadline. Python applies separate connection and read timeouts; those are not a complete wall-clock deadline. Use a process-level deadline in automation if required. ",
    "url": "/docs/apis/razorpayx/examples/#read-the-result",
    "relUrl": "/docs/apis/razorpayx/examples/#read-the-result"
  },"457": {
    "doc": "RazorpayX example code and offline checks",
    "title": "What to reuse",
    "content": "The route configuration, fail-closed behavior, timeouts, TLS verification, and secret handling are patterns for an integration-specific transport. The diagnostic itself is not a payout client. Do not add financial API credentials to the IP-check request, and do not change its URL to a state-changing operation. The Python Session deliberately disables environment-derived proxies and .netrc behavior with trust_env = False. It also stops environment-derived CA settings from being applied. If your deployment requires an approved custom CA bundle, configure its path explicitly instead of disabling verification. The Node example uses the built-in https API plus HttpsProxyAgent. Its agent setting is not a configuration for built-in fetch or for an arbitrary SDK. Use the transport interface documented for the actual client. ",
    "url": "/docs/apis/razorpayx/examples/#what-to-reuse",
    "relUrl": "/docs/apis/razorpayx/examples/#what-to-reuse"
  },"458": {
    "doc": "RazorpayX example code and offline checks",
    "title": "Primary references",
    "content": ". | Requests proxy configuration | Requests Session and request options | HttpsProxyAgent usage | Current upstream HttpsProxyAgent package metadata | Node HTTPS client | . Offline tests check configuration and response handling; they do not establish live proxy or provider acceptance. | QuotaGuard source IP diagnostic response format | . ",
    "url": "/docs/apis/razorpayx/examples/#primary-references",
    "relUrl": "/docs/apis/razorpayx/examples/#primary-references"
  },"459": {
    "doc": "RazorpayX example code and offline checks",
    "title": "RazorpayX example code and offline checks",
    "content": "Download the RazorpayX examples ZIP. Extract the archive before following the commands below. These programs make one GET request to https://ip.quotaguard.com, through an explicitly configured authenticated proxy. They do not call Razorpay, read destination API credentials, or create financial operations. They parse the JSON ip field and compare it with two supplied IPv4 addresses. ",
    "url": "/docs/apis/razorpayx/examples/",
    "relUrl": "/docs/apis/razorpayx/examples/"
  },"460": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Files",
    "content": "| File | Purpose | . | brails-check.mjs | Preserved Deno helper; no public handler or import-time network activity | . | brails-check.offline.test.mjs | Preserved original suite of 22 mocked checks | . | brails-check.supplementary.test.mjs | Additional offline edge-case checks, separate from the original suite | . There is no package install step or third-party runtime dependency in the helper. The mock suites use Node’s built-in test and assertion modules. The actual HTTP client is Deno-specific. ",
    "url": "/docs/apis/brails/examples/#files",
    "relUrl": "/docs/apis/brails/examples/#files"
  },"461": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Signature",
    "content": "checkBrailsSandbox(mode = \"echo\") . Only echo and wallets are accepted. Omitting the argument selects the echo. No argument can select a different destination, method, token source or arbitrary URL. ",
    "url": "/docs/apis/brails/examples/#signature",
    "relUrl": "/docs/apis/brails/examples/#signature"
  },"462": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Configuration contract",
    "content": "QUOTAGUARD_PROXY_URL must be a complete HTTP or HTTPS proxy URL. The helper requires credentials, a standard QuotaGuard subdomain and no path/query/fragment beyond the root slash. It passes the URL origin separately from the decoded basic-auth credentials. QUOTAGUARD_EXPECTED_IPS must contain exactly two distinct syntactically valid IPv4 addresses. This format validation does not prove ownership, allocation, routability or provider approval; the operator supplies the actual subscription pair. BRAILS_SANDBOX_API_KEY is required only for wallets. It is read before the echo in that mode, so missing token configuration produces no fetch. The token is attached only to the fixed Brails request. ",
    "url": "/docs/apis/brails/examples/#configuration-contract",
    "relUrl": "/docs/apis/brails/examples/#configuration-contract"
  },"463": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Result contract",
    "content": "// echo { echoEgressIp: \"192.0.2.10\" } // wallets, illustrative HTTP success { echoEgressIp: \"192.0.2.10\", brailsStatus: 200, brailsHttpOk: true } . The documentation address and status here illustrate shape only. echoEgressIp deliberately names the echo observation rather than claiming the Brails connection used that exact address. brailsHttpOk follows the response’s HTTP success flag. A non-2xx status returns false; it does not itself cause the helper to throw. Since the body is canceled, no Brails business-state field is inspected. ",
    "url": "/docs/apis/brails/examples/#result-contract",
    "relUrl": "/docs/apis/brails/examples/#result-contract"
  },"464": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Failures and resource lifecycle",
    "content": "The helper sanitizes caught errors to one of three stages: configuration, IP echo or Brails sandbox. It does not expose the caught exception’s message. The surrounding operator workflow should catch thrown failures and separately inspect brailsHttpOk on returned wallet results. Each call creates a client and closes it in finally. Echo JSON is consumed on success; a non-success echo body is canceled. Every received wallet body is canceled before return, whether the HTTP status is success or failure. The code does not fetch a direct URL as a fallback after proxy failure. Both requests reject redirects and retain default certificate validation. Timeout signals are set to 10,000 milliseconds per request. The mock tests assert the signal is supplied; they do not simulate a real network clock or TLS handshake. ",
    "url": "/docs/apis/brails/examples/#failures-and-resource-lifecycle",
    "relUrl": "/docs/apis/brails/examples/#failures-and-resource-lifecycle"
  },"465": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Install and invoke",
    "content": "Copy the preserved module into supabase/functions/_shared/brails-check.mjs. From an existing operator function in the adjacent directory: . import { checkBrailsSandbox } from \"../_shared/brails-check.mjs\"; // Invoke only after the existing operator authorization has succeeded. const routing = await checkBrailsSandbox(\"echo\"); . The comment marks an application requirement, not an implemented authentication mechanism. Do not paste this into an unauthenticated handler. No new handler is supplied because the existing application’s authorization boundary should remain authoritative. When the operator is separately authorized to read the sandbox account, the same import supports await checkBrailsSandbox(\"wallets\"). Neither mode creates a payout. ",
    "url": "/docs/apis/brails/examples/#install-and-invoke",
    "relUrl": "/docs/apis/brails/examples/#install-and-invoke"
  },"466": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Run the offline suites",
    "content": "From the downloaded examples root: . node --check code/brails-check.mjs node --test code/brails-check.offline.test.mjs node --test code/brails-check.supplementary.test.mjs . The tests replace global Deno and fetch; all addresses, users and tokens in the tests are fixtures. No API account is needed. Do not replace those fixture values with real credentials. ",
    "url": "/docs/apis/brails/examples/#run-the-offline-suites",
    "relUrl": "/docs/apis/brails/examples/#run-the-offline-suites"
  },"467": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Keep the boundary when adapting",
    "content": "If your application needs production API calls, a custom proxy hostname, additional destinations, pooling or a separate SDK adapter, implement and review that work outside this preserved helper. Keep destination allowlists, credential separation, authorization, timeout behavior, response cleanup and explicit routing visible in the review. Do not turn the diagnostic into a general-purpose fetch endpoint or use it to forward a caller-supplied URL. See the technical guide and troubleshooting reference for the deployment workflow. ",
    "url": "/docs/apis/brails/examples/#keep-the-boundary-when-adapting",
    "relUrl": "/docs/apis/brails/examples/#keep-the-boundary-when-adapting"
  },"468": {
    "doc": "Brails / Supabase example code and offline checks",
    "title": "Brails / Supabase example code and offline checks",
    "content": "Download the Brails / Supabase examples ZIP. Extract the archive before following the commands below. brails-check.mjs is the original helper preserved without changes. Import it into a Deno-based, operator-only diagnostic path to check a selected QuotaGuard route before an authorized Brails sandbox read. ",
    "url": "/docs/apis/brails/examples/",
    "relUrl": "/docs/apis/brails/examples/"
  },"469": {
    "doc": "SendGrid example code and offline checks",
    "title": "Files",
    "content": ". | sendgrid_httpx.py: explicit Python HTTPX client, IP verification, non-delivering sandbox validation, and separately gated live mode. | sendgrid_curl.py: curl launcher with secrets supplied through standard input; IP and sandbox modes only. | .env.example: placeholder names and formats, not usable credentials. | requirements.txt: HTTPX dependency range for the Python client. | test_examples.py: offline unit tests. Network calls are intercepted or prohibited. | . ",
    "url": "/docs/apis/sendgrid/examples/#files",
    "relUrl": "/docs/apis/sendgrid/examples/#files"
  },"470": {
    "doc": "SendGrid example code and offline checks",
    "title": "Setup",
    "content": "Read the full quickstart before changing SendGrid restrictions. Store real environment values through your runtime’s protected settings. Do not commit an actual .env file. python -m pip install -r requirements.txt python sendgrid_httpx.py ip python sendgrid_httpx.py sandbox . Use SENDGRID_REGION=eu only for an appropriate EU regional subuser. The default is global. The IP mode does not need a SendGrid key and sends none to the IP checker. Both dashboard addresses must appear in QG_EXPECTED_IPS, comma-separated. ",
    "url": "/docs/apis/sendgrid/examples/#setup",
    "relUrl": "/docs/apis/sendgrid/examples/#setup"
  },"471": {
    "doc": "SendGrid example code and offline checks",
    "title": "Live mode",
    "content": "After explicit approval of the recipient and message, set SENDGRID_CONFIRM_LIVE_SEND=YES in the trusted environment, then run: . python sendgrid_httpx.py live . This requests actual email delivery. Remove the confirmation value afterward. The example requires HTTP 202 for accepted submission and makes no automatic retry. A successful submission does not establish recipient delivery. ",
    "url": "/docs/apis/sendgrid/examples/#live-mode",
    "relUrl": "/docs/apis/sendgrid/examples/#live-mode"
  },"472": {
    "doc": "SendGrid example code and offline checks",
    "title": "Curl alternative",
    "content": "The curl helper needs Python and curl, not HTTPX: . python sendgrid_curl.py ip python sendgrid_curl.py sandbox . Proxy and API credentials go to curl over standard input. They are removed from the child process environment and are not embedded in its argument list. The parent process still needs protected access to its environment. Do not enable shell tracing, debug logging, or general process-memory capture around secrets. ",
    "url": "/docs/apis/sendgrid/examples/#curl-alternative",
    "relUrl": "/docs/apis/sendgrid/examples/#curl-alternative"
  },"473": {
    "doc": "SendGrid example code and offline checks",
    "title": "Offline tests",
    "content": "python -m unittest -v test_examples . The tests check request construction, configuration, and error behavior without calling SendGrid or QuotaGuard. Keep runtime verification and any approved live send separate from this suite. ",
    "url": "/docs/apis/sendgrid/examples/#offline-tests",
    "relUrl": "/docs/apis/sendgrid/examples/#offline-tests"
  },"474": {
    "doc": "SendGrid example code and offline checks",
    "title": "SendGrid example code and offline checks",
    "content": "Download the SendGrid examples ZIP. Extract the archive before following the commands below. These files configure application-to-SendGrid HTTPS requests through QuotaGuard Static. They do not change SendGrid’s email-sending IP or configure SMTP. ",
    "url": "/docs/apis/sendgrid/examples/",
    "relUrl": "/docs/apis/sendgrid/examples/"
  },"475": {
    "doc": "Laravel Cloud example code and offline checks",
    "title": "Laravel Cloud example code and offline checks",
    "content": ". Download the Laravel Cloud examples ZIP. Extract the archive before following the commands below. These files are standalone reference snippets to add to your Laravel application. They assume a Laravel application using its standard Guzzle cURL transport. No credentials are included. No PHP, Composer, Laravel, Cloud, proxy, or destination API execution has been performed. | Add config/quotaguard.php and app/Support/QuotaGuardHttp.php to the application. | Merge routes/console-snippet.php into routes/console.php, retaining existing commands and avoiding duplicate imports and PHP opening tags. | Configure the real QUOTAGUARDSTATIC_URL only through the target environment’s secret or environment-variable workflow. Do not commit it. | Deploy after changes. If caching config, Laravel Cloud says to run php artisan optimize or config:cache during build, not deploy commands. | Run php artisan quotaguard:check through Cloud’s non-interactive Commands tab and compare the returned IP with the two assigned IPv4 addresses. A 200 alone is not a match assertion. | Use the same factory for only the API requests that need the allowlist, preserving the provider’s authentication and request semantics. Independently configured SDKs, raw cURL, browsers, database drivers, unrelated Http calls, and other processes are not automatically configured. | . The CURLOPT_NOPROXY empty string disables libcurl’s host bypass list for this client, not globally. The sample stops before making a request if its proxy URL is missing. It has no direct-request fallback and does not disable TLS certificate verification. It disables automatic redirects, so a 3xx requires explicit review. The IP-check command intentionally sends no partner API credentials. It reads the JSON ip field, validates it as an IPv4 address with FILTER_VALIDATE_IP and FILTER_FLAG_IPV4, and prints only that validated address. A missing, non-string, or invalid value fails with a fixed message and a nonzero exit code. It never prints the raw response body and catches failures without dumping raw transport exception text. Inspect diagnostics privately when debugging. The address still needs to be manually matched against the two allocated IPv4 addresses. Before calling this a tested integration, run PHP lint and application tests, then verify deployed web, real queue-worker, and scheduled-job request paths as applicable. A Cloud Commands invocation runs on any available environment instance and does not prove that each application path uses this client. ",
    "url": "/docs/platforms/laravel-cloud/examples/",
    "relUrl": "/docs/platforms/laravel-cloud/examples/"
  },"476": {
    "doc": "Extract QuotaGuard Static credentials from VCAP_SERVICES",
    "title": "Extract QuotaGuard Static credentials from VCAP_SERVICES",
    "content": "Our documentation assumes that your QuotaGuard Static credentials are available in the form of a connection string in the QUOTAGUARDSTATIC_URL environment variable. On CloudFoundry based platforms like IBM Cloud, Pivotal and RedHat Openshift, this is not the case. So you need slightly different code to access your QuotaGuard Static credentials by extracting them from the VCAP_SERVICES environment variable. The VCAP_SERVICES entry looks like the following: . Copy { \"quotaguard\": [ { \"name\": \"QuotaGuardInstance\", \"label\": \"quotaguard\", \"tags\": [], \"plan\": \"starter\", \"credentials\": { \"QUOTAGUARDSTATIC_URL\": \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" } } ] } . Extract the variable using the snippets below and then continue with our standard documented solutions. In Java . Copy String vcapServices = System.getenv(\"VCAP_SERVICES\"); JsonRootNode root = new JdomParser().parse(vcapServices); JsonNode quotaguardNode = root.getNode(\"quotaguard\"); JsonNode credentials = quotaguardNode.getNode(0).getNode(\"credentials\"); String proxyURL = credentials.getStringValue(\"QUOTAGUARDSTATIC_URL\"); . In Ruby . Copy vcapServices = JSON.parse(ENV['VCAP_SERVICES']) proxyURL = vcapServices['quotaguard'].first.dig('credentials', 'QUOTAGUARDSTATIC_URL') . In Python . Copy service = json.loads(os.environ['VCAP_SERVICES'])['quotaguard'][0] credentials = service['credentials'] proxy_url = credentials['QUOTAGUARDSTATIC_URL'] . In Node.js/Javascript . Copy let vcap_services = JSON.parse(process.env.VCAP_SERVICES) let proxyUrl = vcap_services.quotaguard[0].credentials.QUOTAGUARDSTATIC_URL . In PHP . Copy $vcap = json_decode(getenv(\"VCAP_SERVICES\"),true); $proxy_url = $vcap[\"quotaguard\"][0][\"credentials\"][\"QUOTAGUARDSTATIC_URL\"]; . If you have any questions on these code samples, please write us at Support so we can assist. ",
    "url": "/docs/platforms/heroku/extract-vcap-credentials/",
    "relUrl": "/docs/platforms/heroku/extract-vcap-credentials/"
  },"477": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Why Fireblocks needs a static IP",
    "content": "Fireblocks lets you lock each API key to specific source IP addresses. The restriction is set per API key (per API user), so a key can be configured to accept calls only from the addresses you list. Once you add any address to a key’s allowlist, a request arriving from any other IP is refused at authentication. That is the right security posture for a custody or treasury workload. It also breaks the moment your client runs on infrastructure with a changing egress IP, which is almost all modern hosting: . | Containers and serverless functions (AWS Fargate, ECS, Cloud Run, Lambda, Azure Container Apps) draw their outbound IP from a shared pool that rotates. | Autoscaling groups add and remove nodes, each with a different public IP. | PaaS hosts (Heroku, Render, Railway, Fly.io) do not give your app a fixed outbound IP by default. | . The result is the same: a key that worked yesterday starts returning authentication failures today, because the request is now coming from an address that is not on the allowlist. QuotaGuard fixes this by giving you two static IPs that do not change, so the allowlist stays valid across every deploy. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#why-fireblocks-needs-a-static-ip",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#why-fireblocks-needs-a-static-ip"
  },"478": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your Fireblocks client runs to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#getting-started",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#getting-started"
  },"479": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Add both IPs to the API key’s allowlist",
    "content": "In the Fireblocks Console, open the API user (API key) your client uses and add both QuotaGuard static IP addresses to its IP allowlist. Enter them as two separate addresses. Add both, not one: QuotaGuard load-balances across the pair, so requests can exit from either address, and a key that lists only one will intermittently reject traffic that happens to leave from the other. The allowlist is enforced per API key, so if you run separate keys for staging and production, each key needs both IPs listed. The same QuotaGuard pair can serve multiple keys. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#add-both-ips-to-the-api-keys-allowlist",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#add-both-ips-to-the-api-keys-allowlist"
  },"480": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Step 1: set the proxy URL",
    "content": "Your QuotaGuard dashboard shows the connection string. Store it as an environment variable. The host is region-specific, so copy the exact host shown in your dashboard. export QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . &lt;your-quotaguard-proxy-host&gt;:9293 is an example. Use the host for your region from the dashboard. Port 9293 is the HTTP/HTTPS proxy port. Keep the credentials in your platform’s secret store (Fireblocks Secrets is for Fireblocks keys, not this; use your host’s environment or secret manager) and inject the value at runtime. Do not hard-code it into an image. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#step-1-set-the-proxy-url",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#step-1-set-the-proxy-url"
  },"481": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Step 2: route your Fireblocks API calls through the proxy",
    "content": "The proxy attaches at the HTTP layer. Your Fireblocks credentials, the X-API-Key header, and the RS256-signed JWT in the Authorization header are all unchanged. The only thing that changes is the source IP Fireblocks sees on the request, which becomes one of your two QuotaGuard static IPs. How you attach the proxy depends on which SDK you use. The four official Fireblocks SDKs do not behave the same way, so this section is explicit per SDK. Get this right and the rest is one environment variable. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#step-2-route-your-fireblocks-api-calls-through-the-proxy",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#step-2-route-your-fireblocks-api-calls-through-the-proxy"
  },"482": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Fireblocks Python SDK (legacy, fireblocks-sdk)",
    "content": "The legacy Python SDK uses requests, which honors the HTTPS_PROXY environment variable. Point HTTPS_PROXY at your QuotaGuard URL before the client is created. import os os.environ[\"HTTPS_PROXY\"] = os.environ[\"QUOTAGUARDSTATIC_URL\"] from fireblocks_sdk import FireblocksSDK with open(\"fireblocks_secret.key\", \"r\") as f: private_key = f.read() fireblocks = FireblocksSDK(private_key, os.environ[\"FIREBLOCKS_API_KEY\"]) # Calls now exit from your QuotaGuard static IP. vault_accounts = fireblocks.get_vault_accounts_with_page_info() . ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-python-sdk-legacy-fireblocks-sdk",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-python-sdk-legacy-fireblocks-sdk"
  },"483": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Fireblocks Python SDK (new, fireblocks)",
    "content": "The newer fireblocks package is generated from the OpenAPI spec and uses urllib3 under the hood. The user-facing ClientConfiguration does not expose a proxy field, and the SDK does not auto-read HTTPS_PROXY from the environment. If you set the variable and run this SDK, the request goes out directly and Fireblocks sees your host’s real IP, not your QuotaGuard IP. Two ways to handle it: . | Use the legacy fireblocks-sdk for the calls that must be allowlisted. It honors HTTPS_PROXY as shown above. | Route below the application layer so all outbound traffic from the container or machine egresses through QuotaGuard regardless of the library. Options include a transparent forward proxy (such as Squid) in the container, or platform-level egress rules that direct outbound HTTPS through your QuotaGuard proxy. The library never has to know about the proxy because the routing happens beneath it. | . Do not expect HTTPS_PROXY alone to work with the new Python SDK. It will not. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-python-sdk-new-fireblocks",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-python-sdk-new-fireblocks"
  },"484": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Fireblocks JavaScript SDK (legacy, fireblocks-sdk)",
    "content": "The legacy JS SDK accepts a proxy field in its SDKOptions, typed as an axios proxy config. Pass your QuotaGuard host, port, and credentials. const { FireblocksSDK } = require(\"fireblocks-sdk\"); const fs = require(\"fs\"); const u = new URL(process.env.QUOTAGUARDSTATIC_URL); const privateKey = fs.readFileSync(\"fireblocks_secret.key\", \"utf8\"); const fireblocks = new FireblocksSDK( privateKey, process.env.FIREBLOCKS_API_KEY, \"https://api.fireblocks.io\", undefined, { proxy: { protocol: \"http\", host: u.hostname, port: Number(u.port), auth: { username: u.username, password: decodeURIComponent(u.password) }, }, } ); . ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-javascript-sdk-legacy-fireblocks-sdk",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-javascript-sdk-legacy-fireblocks-sdk"
  },"485": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Fireblocks TypeScript SDK (new, @fireblocks/ts-sdk)",
    "content": "The new TypeScript SDK uses axios, which reads the HTTPS_PROXY environment variable. Set it in the environment before the process starts, then initialize the client normally. export HTTPS_PROXY=\"$QUOTAGUARDSTATIC_URL\" . import { Fireblocks } from \"@fireblocks/ts-sdk\"; import * as fs from \"fs\"; const fireblocks = new Fireblocks({ apiKey: process.env.FIREBLOCKS_API_KEY, secretKey: fs.readFileSync(\"fireblocks_secret.key\", \"utf8\"), basePath: \"https://api.fireblocks.io\", }); // Requests pick up HTTPS_PROXY and exit from your QuotaGuard static IP. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-typescript-sdk-new-fireblocksts-sdk",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#fireblocks-typescript-sdk-new-fireblocksts-sdk"
  },"486": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Raw HTTP clients (custom signing, no SDK)",
    "content": "If you sign the JWT yourself and call the API directly, attach the proxy at the HTTP client. The JWT and headers are unchanged; only the egress path moves. Python, requests: . import os, requests proxies = {\"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"]} r = requests.get(\"https://api.fireblocks.io/v1/vault/accounts\", headers={\"X-API-Key\": api_key, \"Authorization\": f\"Bearer {jwt}\"}, proxies=proxies) . Node, axios: . const axios = require(\"axios\"); const u = new URL(process.env.QUOTAGUARDSTATIC_URL); await axios.get(\"https://api.fireblocks.io/v1/vault/accounts\", { headers: { \"X-API-Key\": apiKey, Authorization: `Bearer ${jwt}` }, proxy: { protocol: \"http\", host: u.hostname, port: Number(u.port), auth: { username: u.username, password: decodeURIComponent(u.password) }, }, }); . Go, net/http: . proxyURL, _ := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) client := &amp;http.Client{Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyURL)}} req, _ := http.NewRequest(\"GET\", \"https://api.fireblocks.io/v1/vault/accounts\", nil) req.Header.Set(\"X-API-Key\", apiKey) req.Header.Set(\"Authorization\", \"Bearer \"+jwt) resp, _ := client.Do(req) . Ruby, Net::HTTP: . require \"net/http\" require \"uri\" p = URI(ENV[\"QUOTAGUARDSTATIC_URL\"]) api = URI(\"https://api.fireblocks.io/v1/vault/accounts\") http = Net::HTTP.new(api.host, api.port, p.host, p.port, p.user, p.password) http.use_ssl = true req = Net::HTTP::Get.new(api) req[\"X-API-Key\"] = api_key req[\"Authorization\"] = \"Bearer #{jwt}\" res = http.request(req) . Java, system proxy properties: . Since Java 8u111, Basic authentication for HTTPS tunneling through an HTTP proxy is disabled by default. You must re-enable it with -Djdk.http.auth.tunneling.disabledSchemes=\"\" for the credentials flags to take effect. java -Dhttps.proxyHost=&lt;your-quotaguard-proxy-host&gt; \\ -Dhttps.proxyPort=9293 \\ -Dhttps.proxyUser=username \\ -Dhttps.proxyPassword=password \\ -Djdk.http.auth.tunneling.disabledSchemes=\"\" \\ -jar your-app.jar . For a more flexible approach, use java.net.Authenticator instead of the credentials JVM flags. See our Java HTTPS proxy support article for details.NET, WebProxy: . var u = new Uri(Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\")); var handler = new HttpClientHandler { Proxy = new WebProxy(u.Host, u.Port) { Credentials = new NetworkCredential(u.UserInfo.Split(':')[0], u.UserInfo.Split(':')[1]) }, UseProxy = true }; var client = new HttpClient(handler); . ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#raw-http-clients-custom-signing-no-sdk",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#raw-http-clients-custom-signing-no-sdk"
  },"487": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "QuotaGuard sits in front of your API calls, not your signing path",
    "content": "QuotaGuard carries the outbound REST traffic from your client to api.fireblocks.io. It does not touch the API Co-Signer or its Callback Handler. The Co-Signer holds your vault’s key shares and runs in your own production environment, in the cloud or on premise. When a transaction needs signing, the Co-Signer exchanges signing requests and responses with your Callback Handler, an HTTPS server you operate, over a path you control. Putting QuotaGuard in front of your outbound API calls changes only the source IP Fireblocks sees when your client calls the REST API. It inserts nothing into the signing path, and your transaction-authorization and co-signing model is unchanged. This matters for a custody review: the static-IP layer is scoped to API authentication, not to key custody or transaction approval. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#quotaguard-sits-in-front-of-your-api-calls-not-your-signing-path",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#quotaguard-sits-in-front-of-your-api-calls-not-your-signing-path"
  },"488": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Inbound: webhooks and your receiver",
    "content": "Fireblocks sends webhook events (transaction created, transaction status updated, vault account added, and others) to a URL you register, signed so you can verify each event with the Fireblocks public key. If you need your webhook receiver to present a fixed inbound IP for your own firewall or a fronting partner, QuotaGuard provides a static inbound IP for that receiver. Keep the Co-Signer Callback Handler out of this. It is part of the signing path and belongs in your own environment, reachable directly by the Co-Signer, not fronted by a proxy. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#inbound-webhooks-and-your-receiver",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#inbound-webhooks-and-your-receiver"
  },"489": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Testing",
    "content": "Confirm the egress IP before you debug anything else. Call the QuotaGuard IP check through the proxy: . curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your dashboard. Run it a few times: because the pair is load-balanced, you should see both addresses appear. Both must be on the API key’s allowlist. Then confirm a real Fireblocks call succeeds through the proxy. A read call is enough: . # Through your client/SDK configured as above: # GET https://api.fireblocks.io/v1/vault/accounts -&gt; 200, not 401 . A 200 means the request reached Fireblocks from an allowlisted IP. A 401 means it did not. Disambiguate with the IP check above. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#testing",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#testing"
  },"490": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Is there a native way to do this?",
    "content": "Fireblocks does not issue egress IPs. It is the destination, so the “native” option is whatever your host platform offers: a NAT gateway with a reserved address, or a single fixed-IP instance. If your platform can give you one stable egress IP and you only run there, that also satisfies the allowlist. QuotaGuard is the better fit when your host cannot give you a fixed egress IP, when you run across more than one platform or region and want a single identity on the allowlist, when you want the same IP pair to serve several API keys, or when you need the load-balanced pair with failover so a single node issue does not drop your connection to Fireblocks. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#is-there-a-native-way-to-do-this",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#is-there-a-native-way-to-do-this"
  },"491": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Troubleshooting",
    "content": "401, message like “Unauthorized: Token was not accepted,” from a non-allowlisted IP. Fireblocks rejected the request at authentication. The most common proxy-related cause is that the request did not actually route through QuotaGuard, so Fireblocks saw your host’s real IP. This same 401 can also mean a bad or expired JWT, so check the IP path first: run the ip.quotaguard.com test and confirm both returned addresses are on the key’s allowlist. If the IP check is correct and you still get 401, look at the JWT (next item). New Python SDK (fireblocks) sending requests directly. If you set HTTPS_PROXY and still get rejected, and the IP check shows your host IP rather than a QuotaGuard IP, the new Python SDK is ignoring the proxy because its user-facing configuration does not expose a proxy hook. Switch the allowlisted calls to the legacy fireblocks-sdk, or route at the host level (Squid sidecar, platform egress rules) so the SDK does not need to know about the proxy. 407 Proxy Authentication Required. The proxy credentials in QUOTAGUARDSTATIC_URL are missing or wrong. Re-copy the full string from your dashboard, and if you split it into host, port, and auth for an SDK config, URL-decode the password. Connection timeout to the proxy. The proxy host or port is wrong for your region, or your platform’s egress firewall is blocking port 9293. Confirm the host matches your dashboard region and that outbound 9293 is allowed. ip.quotaguard.com returns your host IP, not a QuotaGuard IP. The client is not using the proxy. The environment variable is not being read at runtime, or the library does not honor HTTPS_PROXY (the new Python SDK does not). Set the proxy explicitly in the client config. JWT exp errors. Fireblocks requires the JWT expiry to be less than 30 seconds after issuance. If your host clock has drifted, requests fail at auth independent of the IP. Sync the clock. This is not a proxy issue, but it produces an auth failure that looks similar. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#troubleshooting",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#troubleshooting"
  },"492": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most Fireblocks API clients, Static is the right choice: outbound HTTPS to api.fireblocks.io is tunneled with HTTP CONNECT and never decrypted at the proxy. Choose Shield if your environment requires TLS on the customer-to-proxy hop as well, which is the common posture for institutional custody and regulated desks. Shield uses SSL passthrough, so QuotaGuard relays the encrypted Fireblocks traffic without being able to read it. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#quotaguard-static-vs-quotaguard-shield"
  },"493": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/#ready-to-get-started"
  },"494": {
    "doc": "QuotaGuard and Fireblocks Integration Guide",
    "title": "QuotaGuard and Fireblocks Integration Guide",
    "content": "QuotaGuard gives your Fireblocks API client two fixed outbound IP addresses. Add both to an API key’s IP allowlist once, and every request to the Fireblocks API exits from one of those two IPs, no matter how often your host redeploys or changes its egress. Set QUOTAGUARDSTATIC_URL, point your Fireblocks client’s HTTP layer at it, and the calls Fireblocks rejected for coming from an unrecognized IP start succeeding. This page covers the Fireblocks REST API at https://api.fireblocks.io and the official Fireblocks SDKs. It does not cover the Co-Signer signing path, which stays in your own environment and is never proxied. That separation is the point, and it is covered below. ",
    "url": "/docs/apis/fireblocks/fireblocks-integration/",
    "relUrl": "/docs/apis/fireblocks/fireblocks-integration/"
  },"495": {
    "doc": "Using QG Static IP’s as Browser Proxy On Firefox",
    "title": "Using QG Static IP’s as Browser Proxy On Firefox",
    "content": "Q: How can QuotaGuard be used as a browser proxy? . A: On Firefox, follow the instructions below . Note that this is only for QuotaGuard Static and will not work on QuotaGuard Shield or QuotaGuard Dynamic . Step 1. Click on the hamburger menu icon. Step 2. Click on Preferences or Options. Step 3. Scroll down to Network Settings under General and click Settings. Step 4. Follow the configuration below: . | HTTP Proxy: (_shown in your QuotaGuard dashboard_) | Port: 9293 | Put a check on “Also use this for FTP and HTTPS” | Select OK | . Step 5. When prompted for Username/Password, enter your Username/Password which you can find in our dashboard or as part of the connection URL: . http://USERNAME:PASSWORD@&lt;your-quotaguard-proxy-host&gt; . Step 6. Browse https://ip.quotaguard.com to test. If you have any issues with this setup (browsers change so quickly, it’s hard for us to keep up with their menus) or it doesn’t work for you, you can always reach out to us at Support and reference this article and we can help get you set up right away. ",
    "url": "/docs/outbound-proxy/browser-proxy-setup/firefox-proxy-settings/",
    "relUrl": "/docs/outbound-proxy/browser-proxy-setup/firefox-proxy-settings/"
  },"496": {
    "doc": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "title": "Identify the Flutterwave operation",
    "content": "Use the API path to identify the requirement. An application that accepts a customer’s payment can use a different API from one that sends money out of its Flutterwave balance. | Operation | What the official sources establish | . | Transfer creation, POST /v3/transfers | Flutterwave’s transfer prerequisites require server-IP allowlisting. Its transfer-testing instructions require it too. | . | Checkout collection, POST /v3/payments | The Standard checkout guide describes collecting payments. It doesn’t establish a universal caller-IP allowlisting requirement for this flow. | . | Transaction verification, GET /v3/transactions/{id}/verify | The verification guide explains how to confirm a payment. It doesn’t state a caller-IP allowlisting prerequisite. | . | Bank-account resolution, POST /v3/accounts/resolve | Account resolution checks account details. It’s separate from initiating a transfer; its guide doesn’t state an IP prerequisite. | . | Bill payments and virtual-card issuance | Flutterwave’s security guidance also identifies these operations. Bill-payment documentation explicitly requires server-IP allowlisting. | . An omitted prerequisite isn’t a guarantee that an endpoint is exempt from every account policy. Check the exact API, environment, and Flutterwave response. BVN identity verification is also separate from transaction verification and bank-account resolution. Confirm its applicable account requirements with Flutterwave. ",
    "url": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#identify-the-flutterwave-operation",
    "relUrl": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#identify-the-flutterwave-operation"
  },"497": {
    "doc": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "title": "Choose an outbound route",
    "content": "Use an existing native route when it supplies the addresses and scope your Flutterwave integration needs. Adding a proxy to an already suitable fixed-egress path introduces another dependency. | Route | When it fits | . | Render’s shared regional ranges | Consider this only if Flutterwave confirms that it accepts the complete required ranges. Render says a service can use any address within its associated ranges. Flutterwave’s documented individual-IP entry flow doesn’t establish CIDR support. | . | Render Dedicated IPs | Render’s native option supplies three exclusive IPv4 addresses per regional set on Pro workspaces and higher. Current pricing is $100 per set per month on Pro and Scale, with custom Enterprise pricing. Use it when its scope fits and Flutterwave accepts all three addresses. | . | An agreed Replit Enterprise or customer-cloud egress arrangement | Check your agreement for the addresses, covered deployments, and routing guarantees. A continuously running Reserved VM or an IP used for a custom domain doesn’t by itself establish a fixed outbound address. | . | QuotaGuard | Useful when you need a managed, stable pair for selected clients, lack a suitable native route, or want those clients on Render and Replit to use the same subscription’s outbound identity. | . Render documents additional Dedicated IP limits and exceptions, including an unsupported legacy Oregon configuration. Check your workspace’s eligibility. For Replit, use a backend deployment that runs your server-side client. Autoscale, Reserved VM, and Scheduled deployments run application code. Static deployments serve frontend files without a backend. Keep Flutterwave secret keys and proxy credentials on the server. ",
    "url": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#choose-an-outbound-route",
    "relUrl": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#choose-an-outbound-route"
  },"498": {
    "doc": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "title": "Register the addresses for the selected route",
    "content": "For a QuotaGuard route, copy the connection URL and both IPv4 addresses from the relevant subscription’s dashboard. Allowlist both addresses even when a short egress check shows only one. Addresses are assigned per connection, so repeated calls don’t have to alternate between the pair. QuotaGuard’s direct-billing Starter, Production, and Business plans use shared static pairs. Direct-billing Enterprise includes dedicated IPs and proxy resources. If your destination policy requires exclusive source addresses, select an appropriate dedicated option. Flutterwave documents this allowlist setup: . | Open Settings, then Whitelisted IP addresses. | Select Add IP Address and enter an address. | Select the IPv4 format for a QuotaGuard address and complete Flutterwave’s OTP confirmation. | Repeat for the other subscription address. | . Use the dashboard IP pair for allowlisting. Keep existing authorized entries while assessing a route change. Confirm the account and environment you’re configuring, along with any separate transfer enablement requirements. ",
    "url": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#register-the-addresses-for-the-selected-route",
    "relUrl": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#register-the-addresses-for-the-selected-route"
  },"499": {
    "doc": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "title": "Configure the backend client",
    "content": "Save the authenticated proxy URL as a server-side secret. On Render, use the service’s environment settings. On Replit, open Tools, then Secrets under Setup, and add a secret. Check that the intended runtime receives it. Follow Render’s environment-variable instructions or Replit’s Secrets documentation. Configure the HTTP client that opens the Flutterwave connection to use that URL. A stored secret alone doesn’t route a request. A separate SDK, background job, or verification client needs its own supported configuration. Use the existing Render integration guide or Replit integration guide for platform and language setup. For Node.js, ensure that the chosen client supports your proxy: a native fetch dispatcher doesn’t configure an unrelated SDK’s internal client. | Product | Outbound HTTPS behavior | . | QuotaGuard Static | Tunnels the destination HTTPS session without decrypting its payload. The app-to-proxy hop uses a plaintext proxy connection on port 9293. | . | QuotaGuard Shield | Also preserves destination TLS and encrypts the app-to-proxy hop, using an HTTPS proxy connection on port 9294. | . For a workload that must meet PCI-DSS requirements, use Shield, QuotaGuard’s supported product for regulated data. A proxy doesn’t establish compliance for your application. Select the product before registering its IPs: Static and Shield use different address pools. ",
    "url": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#configure-the-backend-client",
    "relUrl": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#configure-the-backend-client"
  },"500": {
    "doc": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "title": "Check routing without initiating a transfer",
    "content": "Send a request to https://ip.quotaguard.com through the same configured client. Compare the returned address with the subscription’s dashboard pair. Run the check from each backend environment and worker that needs the route. An IP-check result establishes the egress used by that client. It doesn’t prove that a different Flutterwave SDK uses the proxy, that Flutterwave has accepted the allowlist, or that a transfer will succeed. Don’t initiate a payment or transfer as a connectivity check. If a real integration request fails, diagnose the response before changing its route: . | Observation | Next check | . | Proxy returns 407 | Check the proxy credentials and configured connection URL. | . | Egress check returns an unexpected address | Check the client configuration and runtime secret. | . | Flutterwave returns 400 | Read the error message. Transfer documentation lists several causes, including invalid fields and an unallowlisted source. The status alone doesn’t identify the cause. | . | Flutterwave returns 401 | Check its API key and the intended environment. | . | Transfer request returns HTTP 200 | Inspect the transfer’s processing status. An accepted HTTP request isn’t proof of completed delivery. | . ",
    "url": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#check-routing-without-initiating-a-transfer",
    "relUrl": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#check-routing-without-initiating-a-transfer"
  },"501": {
    "doc": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "title": "Handle incoming webhooks separately",
    "content": "Flutterwave webhooks travel from Flutterwave to your application’s public endpoint. An outbound proxy doesn’t change that connection’s source. Flutterwave’s webhook guide recommends signature verification and warns that its sending IPs can change. Use transaction verification to confirm payment details before fulfilling an order. That server-side verification call is a separate request from the incoming notification. For help selecting a supported proxy client, contact QuotaGuard. ",
    "url": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#handle-incoming-webhooks-separately",
    "relUrl": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/#handle-incoming-webhooks-separately"
  },"502": {
    "doc": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "title": "Flutterwave IP Allowlisting for Render and Replit Backends",
    "content": "Flutterwave requires source-IP allowlisting for its transfer API. If your Render or Replit backend needs that API and doesn’t already have suitable fixed outbound addresses, route the relevant client through QuotaGuard and register both subscription IPs with Flutterwave. This guide covers the Flutterwave v3 transfer integration. Payment collection, transaction verification, account resolution, and incoming webhooks have different roles. Choose the route for the operation you’re using. ",
    "url": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/",
    "relUrl": "/docs/apis/flutterwave/flutterwave-ip-allowlisting/"
  },"503": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Why Fly.io Apps Need Static IPs",
    "content": "Fly.io uses an Anycast network designed for global distribution. Machines are ephemeral and scale automatically. This architecture means outbound traffic originates from shared IP pools that change without notice. Fly.io’s own documentation states they discourage using outbound IPs to bypass firewalls because a machine’s outbound IP is liable to change. Common scenarios where you need a static IP: . | MongoDB Atlas: Requires IP allowlisting in Network Access settings | Supabase/Neon: Database connection restrictions | Amazon RDS: Security groups with IP-based rules | Payment Gateways: Banking APIs that only accept requests from registered IPs | Partner APIs: Corporate firewalls that require known source addresses | Legacy Systems: On-premise databases and ERPs with strict firewall policies | . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#why-flyio-apps-need-static-ips",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#why-flyio-apps-need-static-ips"
  },"504": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Native Fly.io Static Egress vs QuotaGuard",
    "content": "Fly.io launched app-scoped static egress IPs in late 2024. Here’s how the two options compare: . | Feature | Fly.io Native Egress | QuotaGuard | . | Pricing | $3.60/month per IPv4 per region | Starting at $19/month | . | Multi-region | Requires separate IP per region | One proxy serves all regions | . | Machine limit | 64 machines per IP | No machine limit | . | Protocol support | HTTP/HTTPS (TCP requires extra work) | HTTP/HTTPS + SOCKS5 for databases | . | Database connections | Requires additional configuration | Built-in SOCKS5 support | . | HIPAA/PCI support | No compliance features | Shield product for regulated data | . | Reliability | Some intermittent issues reported | Load-balanced with failover | . Use Fly.io Native Egress if you have a single-region deployment, only need HTTP/HTTPS, have fewer than 64 machines, and budget is the primary concern. Use QuotaGuard if you need multi-region support with a single IP identity, database connections (MongoDB, PostgreSQL), HIPAA/PCI support (Shield), or production reliability with dedicated support. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#native-flyio-static-egress-vs-quotaguard",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#native-flyio-static-egress-vs-quotaguard"
  },"505": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Match your QuotaGuard region to your primary Fly.io deployment region to minimize latency. | Fly.io Region | Location | Recommended QuotaGuard Region | . | iad | Ashburn, Virginia | US-East | . | lax | Los Angeles, California | US-West | . | sea | Seattle, Washington | US-West | . | yyz | Toronto, Canada | Canada (Montreal) | . | lhr | London, UK | EU-West (Ireland) | . | fra | Frankfurt, Germany | EU-Central (Frankfurt) | . | ams | Amsterdam, Netherlands | EU-West (Ireland) | . | nrt | Tokyo, Japan | AP-Northeast (Tokyo) | . | sin | Singapore | AP-Southeast (Singapore) | . | syd | Sydney, Australia | Australia (Sydney) | . To check your Fly.io app’s region, run: . fly status -a your-app-name . Look for the REGION column in the Machines list. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#getting-started",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#getting-started"
  },"506": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Configuring Your Application",
    "content": " ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#configuring-your-application",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#configuring-your-application"
  },"507": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Step 1: Add Your Proxy URL as a Secret",
    "content": "Store your QuotaGuard credentials securely using Fly.io secrets: . fly secrets set QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" -a your-app-name . Fly.io secrets are encrypted and only exposed to your application instances at runtime. This keeps your credentials out of your Git repository. To verify the secret was set: . fly secrets list -a your-app-name . You should see QUOTAGUARDSTATIC_URL in the list (the value is hidden). ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#step-1-add-your-proxy-url-as-a-secret",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#step-1-add-your-proxy-url-as-a-secret"
  },"508": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Step 2: Configure Your HTTP Client",
    "content": " ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#step-2-configure-your-http-client",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#step-2-configure-your-http-client"
  },"509": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Python (requests)",
    "content": "import os import requests proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') proxies = { 'http': proxy_url, 'https': proxy_url } response = requests.get('https://api.example.com/data', proxies=proxies) print(response.json()) . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#python-requests",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#python-requests"
  },"510": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Python (httpx)",
    "content": "import os import httpx proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') with httpx.Client(proxy=proxy_url) as client: response = client.get('https://api.example.com/data') print(response.json()) . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#python-httpx",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#python-httpx"
  },"511": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Node.js (axios with https-proxy-agent)",
    "content": "const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); axios.get('https://api.example.com/data', { httpsAgent: agent }) .then(response =&gt; console.log(response.data)) .catch(error =&gt; console.error(error)); . Install the proxy agent: npm install https-proxy-agent . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#nodejs-axios-with-https-proxy-agent",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#nodejs-axios-with-https-proxy-agent"
  },"512": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Node.js (fetch with undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const dispatcher = new ProxyAgent(proxyUrl); const response = await fetch('https://api.example.com/data', { dispatcher }); const data = await response.json(); console.log(data); . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#nodejs-fetch-with-undici",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#nodejs-fetch-with-undici"
  },"513": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Go",
    "content": "package main import ( \"fmt\" \"io\" \"net/http\" \"net/url\" \"os\" ) func main() { proxyURL, err := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) if err != nil { panic(err) } client := &amp;http.Client{ Transport: &amp;http.Transport{ Proxy: http.ProxyURL(proxyURL), }, } resp, err := client.Get(\"https://api.example.com/data\") if err != nil { panic(err) } defer resp.Body.Close() body, _ := io.ReadAll(resp.Body) fmt.Println(string(body)) } . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#go",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#go"
  },"514": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Ruby (Net::HTTP)",
    "content": "require 'net/http' require 'uri' proxy_uri = URI.parse(ENV['QUOTAGUARDSTATIC_URL']) http = Net::HTTP.new( 'api.example.com', 443, proxy_uri.host, proxy_uri.port, proxy_uri.user, proxy_uri.password ) http.use_ssl = true response = http.get('/data') puts response.body . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#ruby-nethttp",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#ruby-nethttp"
  },"515": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Ruby (Faraday)",
    "content": "require 'faraday' conn = Faraday.new(url: 'https://api.example.com') do |f| f.proxy = ENV['QUOTAGUARDSTATIC_URL'] f.adapter Faraday.default_adapter end response = conn.get('/data') puts response.body . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#ruby-faraday",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#ruby-faraday"
  },"516": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Elixir (HTTPoison)",
    "content": "proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") uri = URI.parse(proxy_url) [username, password] = String.split(uri.userinfo, \":\") options = [ proxy: {String.to_charlist(uri.host), uri.port}, proxy_auth: {String.to_charlist(username), String.to_charlist(password)} ] {:ok, response} = HTTPoison.get(\"https://api.example.com/data\", [], options) IO.inspect(response.body) . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#elixir-httpoison",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#elixir-httpoison"
  },"517": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Elixir (Req)",
    "content": "proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") Req.get!(\"https://api.example.com/data\", connect_options: [proxy: proxy_url] ) . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#elixir-req",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#elixir-req"
  },"518": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Elixir (Finch)",
    "content": "# In your application supervision tree proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") uri = URI.parse(proxy_url) [username, password] = String.split(uri.userinfo, \":\") Finch.start_link( name: MyFinch, pools: %{ :default =&gt; [ conn_opts: [ proxy: {:http, uri.host, uri.port, []}, proxy_headers: [ {\"proxy-authorization\", \"Basic \" &lt;&gt; Base.encode64(\"#{username}:#{password}\")} ] ] ] } ) # Making a request Finch.build(:get, \"https://api.example.com/data\") |&gt; Finch.request(MyFinch) . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#elixir-finch",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#elixir-finch"
  },"519": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Rust (reqwest)",
    "content": "use reqwest::Proxy; use std::env; #[tokio::main] async fn main() -&gt; Result&lt;(), Box&lt;dyn std::error::Error&gt;&gt; { let proxy_url = env::var(\"QUOTAGUARDSTATIC_URL\")?; let proxy = Proxy::all(&amp;proxy_url)?; let client = reqwest::Client::builder() .proxy(proxy) .build()?; let response = client.get(\"https://api.example.com/data\") .send() .await?; println!(\"{}\", response.text().await?); Ok(()) } . Add to Cargo.toml: . [dependencies] reqwest = { version = \"0.11\", features = [\"json\"] } tokio = { version = \"1\", features = [\"full\"] } . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#rust-reqwest",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#rust-reqwest"
  },"520": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Database Connections (SOCKS5)",
    "content": "For non-HTTP protocols like PostgreSQL, MySQL, or MongoDB, use QuotaGuard’s SOCKS5 proxy on port 1080. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#database-connections-socks5",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#database-connections-socks5"
  },"521": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "When to Use SOCKS5",
    "content": "Standard HTTP proxies only handle HTTP/HTTPS traffic. If your Fly.io application connects to: . | PostgreSQL | MySQL | MongoDB | Redis | SFTP | Any raw TCP connection | . You need SOCKS5 proxying. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#when-to-use-socks5",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#when-to-use-socks5"
  },"522": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Step 1: Add SOCKS5 Credentials as a Secret",
    "content": "Your SOCKS5 proxy URL is available in your QuotaGuard dashboard. Add it as a separate secret: . fly secrets set QUOTAGUARD_SOCKS_HOST=\"&lt;your-quotaguard-proxy-host&gt;\" -a your-app-name fly secrets set QUOTAGUARD_SOCKS_PORT=\"1080\" -a your-app-name fly secrets set QUOTAGUARD_SOCKS_USER=\"your-username\" -a your-app-name fly secrets set QUOTAGUARD_SOCKS_PASS=\"your-password\" -a your-app-name . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#step-1-add-socks5-credentials-as-a-secret",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#step-1-add-socks5-credentials-as-a-secret"
  },"523": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Step 2: Configure Your Database Client",
    "content": " ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#step-2-configure-your-database-client",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#step-2-configure-your-database-client"
  },"524": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Python (PostgreSQL with psycopg2 and PySocks)",
    "content": "import os import socks import socket import psycopg2 # Configure SOCKS proxy socks.set_default_proxy( socks.SOCKS5, os.environ.get('QUOTAGUARD_SOCKS_HOST'), int(os.environ.get('QUOTAGUARD_SOCKS_PORT')), username=os.environ.get('QUOTAGUARD_SOCKS_USER'), password=os.environ.get('QUOTAGUARD_SOCKS_PASS') ) socket.socket = socks.socksocket # Connect to database conn = psycopg2.connect( host='your-database.example.com', database='mydb', user='dbuser', password='dbpass' ) . Install dependencies: pip install PySocks psycopg2-binary . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#python-postgresql-with-psycopg2-and-pysocks",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#python-postgresql-with-psycopg2-and-pysocks"
  },"525": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Node.js (MongoDB with socks)",
    "content": "const { MongoClient } = require('mongodb'); const SocksConnection = require('socksjs'); const proxyHost = process.env.QUOTAGUARD_SOCKS_HOST; const proxyPort = parseInt(process.env.QUOTAGUARD_SOCKS_PORT); const proxyUser = process.env.QUOTAGUARD_SOCKS_USER; const proxyPass = process.env.QUOTAGUARD_SOCKS_PASS; const client = new MongoClient('mongodb+srv://your-cluster.mongodb.net/', { proxyHost: proxyHost, proxyPort: proxyPort, proxyUsername: proxyUser, proxyPassword: proxyPass }); await client.connect(); . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#nodejs-mongodb-with-socks",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#nodejs-mongodb-with-socks"
  },"526": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Using QGTunnel with Fly.io (Docker)",
    "content": "For applications deployed as Docker containers, you can include QGTunnel in your image to transparently proxy database connections. Step 1: Download QGTunnel and add it to your project: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . This creates bin/qgtunnel and vendor/nss_wrapper/. Step 2: Modify your Dockerfile to include QGTunnel: . FROM node:18-slim WORKDIR /app # Copy application files COPY package*.json ./ RUN npm install COPY . # Copy QGTunnel COPY bin/qgtunnel /app/bin/qgtunnel COPY vendor /app/vendor # Make qgtunnel executable RUN chmod +x /app/bin/qgtunnel # Use qgtunnel as entrypoint ENTRYPOINT [\"/app/bin/qgtunnel\"] CMD [\"node\", \"server.js\"] . Step 3: Configure your tunnel in the QuotaGuard dashboard: . Navigate to Settings &gt; Setup &gt; Tunnel &gt; Create Tunnel. Example PostgreSQL configuration: . | Setting | Value | . | Remote Destination | tcp://your-database.example.com:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Transparent mode overrides DNS so your app can connect to the original hostname while traffic routes through the tunnel. Step 4: Deploy with the QUOTAGUARDSTATIC_URL secret set. QGTunnel reads this automatically. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#using-qgtunnel-with-flyio-docker",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#using-qgtunnel-with-flyio-docker"
  },"527": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "fly.toml Configuration",
    "content": "You can also set non-sensitive environment variables in your fly.toml file: . [env] PROXY_REGION = \"us-east\" # Do NOT put QUOTAGUARDSTATIC_URL here - use secrets for credentials . For the proxy URL, always use fly secrets set to keep credentials out of your repository. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#flytoml-configuration",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#flytoml-configuration"
  },"528": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Verify your static IP configuration by requesting ip.quotaguard.com: . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#testing-your-implementation"
  },"529": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "From Your Local Machine",
    "content": "curl -x $QUOTAGUARDSTATIC_URL https://ip.quotaguard.com . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#from-your-local-machine",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#from-your-local-machine"
  },"530": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "From a Running Fly.io Machine",
    "content": "Use the Fly.io SSH console to test from inside your application: . fly ssh console -a your-app-name . Then from inside the machine: . curl -x $QUOTAGUARDSTATIC_URL https://ip.quotaguard.com . Expected response: . {\"ip\":\"52.34.188.175\"} . The returned IP should match one of your two static IPs shown in the QuotaGuard dashboard. Run it multiple times to see both IPs (load-balanced). ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#from-a-running-flyio-machine",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#from-a-running-flyio-machine"
  },"531": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Application-Level Test",
    "content": "Add a test endpoint to your application: . # Python/Flask example import os import requests from flask import Flask, jsonify app = Flask(__name__) @app.route('/test-proxy') def test_proxy(): proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') proxies = {'http': proxy_url, 'https': proxy_url} response = requests.get('https://ip.quotaguard.com', proxies=proxies) return jsonify({ 'static_ip': response.json()['ip'], 'proxy_configured': True }) . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#application-level-test",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#application-level-test"
  },"532": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds a network hop to your requests: . | Configuration | Added Latency | . | Same region (Fly.io iad + QuotaGuard US-East) | 10-20ms | . | Cross-region | 50-100ms | . Fly.io apps can run in multiple regions simultaneously. All instances will use the same QuotaGuard static IPs regardless of which edge region serves the request. This is an advantage over native egress, which requires separate IPs per region. For latency-sensitive applications, select a QuotaGuard region that matches your primary Fly.io deployment region. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#latency-considerations",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#latency-considerations"
  },"533": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Multi-Region Deployments",
    "content": "If your Fly.io app runs in multiple regions (e.g., iad, fra, sin), QuotaGuard provides a significant advantage over native egress. With Native Egress: You need a separate static IP for each region ($3.60/month x 3 regions = $10.80/month), and partners must allowlist all of them. With QuotaGuard: All regions route through the same proxy. Partners allowlist just two IPs (your load-balanced pair). Machines in any region connect to the same QuotaGuard endpoint. To minimize latency in multi-region setups, you can configure region-specific QuotaGuard endpoints using Fly.io’s PRIMARY_REGION environment variable: . import os region = os.environ.get('FLY_REGION', 'iad') # Map Fly.io regions to QuotaGuard endpoints proxy_map = { 'iad': os.environ.get('QUOTAGUARD_US_EAST'), 'fra': os.environ.get('QUOTAGUARD_EU'), 'sin': os.environ.get('QUOTAGUARD_APAC'), } proxy_url = proxy_map.get(region, proxy_map['iad']) . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#multi-region-deployments",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#multi-region-deployments"
  },"534": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#troubleshooting",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#troubleshooting"
  },"535": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your credentials are incorrect. Verify your QUOTAGUARDSTATIC_URL secret: . fly ssh console -a your-app-name echo $QUOTAGUARDSTATIC_URL . Check that the username and password match your QuotaGuard dashboard. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#407-proxy-authentication-required"
  },"536": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Connection Timeout",
    "content": ". | Verify your Fly.io app can reach external networks | Check that the QuotaGuard proxy hostname is correct | Ensure no firewall rules block outbound connections to port 9293 | . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#connection-timeout",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#connection-timeout"
  },"537": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Wrong IP Address Returned",
    "content": "The proxy URL may not be configured correctly: . | Verify the environment variable is being read in your code | Check that you’re applying the proxy to the specific request, not just setting an environment variable | Some HTTP clients require explicit proxy configuration per-request | . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#wrong-ip-address-returned",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#wrong-ip-address-returned"
  },"538": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Secrets Not Loading",
    "content": "Fly.io secrets are injected at runtime, not build time. If your application reads environment variables during the Docker build, they won’t be available. Move configuration loading to runtime: . # Wrong - runs at import time PROXY_URL = os.environ['QUOTAGUARDSTATIC_URL'] # May fail during build # Right - runs at request time def get_proxy(): return os.environ.get('QUOTAGUARDSTATIC_URL') . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#secrets-not-loading",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#secrets-not-loading"
  },"539": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "QGTunnel Not Starting",
    "content": ". | Verify bin/qgtunnel is included in your Docker image and is executable | Check that QUOTAGUARDSTATIC_URL is set as a secret | Enable debug logging by setting QGTUNNEL_DEBUG=true: | . fly secrets set QGTUNNEL_DEBUG=\"true\" -a your-app-name . Then check logs: . fly logs -a your-app-name | grep qgtunnel . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#qgtunnel-not-starting",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#qgtunnel-not-starting"
  },"540": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "IPv6 vs IPv4 Issues",
    "content": "Fly.io’s internal networking is primarily IPv6. Some applications may attempt IPv6 connections first. QuotaGuard provides two load-balanced static IPv4 addresses for allowlisting. If you’re seeing IPv6 addresses instead of your static IPv4: . | Ensure your HTTP client is using the proxy for the specific request | Check that the destination service supports IPv4 (most do) | Verify the proxy URL uses the correct hostname format | . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#ipv6-vs-ipv4-issues",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#ipv6-vs-ipv4-issues"
  },"541": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "QuotaGuard offers two products for static IPs: . | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Encryption | Outbound payload never decrypted (both products) | Outbound payload never decrypted; Shield adds a TLS-encrypted app-to-proxy hop | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . For most Fly.io applications, QuotaGuard Static provides everything you need. Choose Shield if you’re handling protected health information (PHI), payment card data, or have specific compliance requirements. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#quotaguard-static-vs-quotaguard-shield"
  },"542": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Fly.io Integration Features . Read: How Do I Get a Static IP for Fly.io Apps? . ",
    "url": "/docs/platforms/fly-io/fly-io-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/#ready-to-get-started"
  },"543": {
    "doc": "QuotaGuard and Fly.io Integration Guide",
    "title": "QuotaGuard and Fly.io Integration Guide",
    "content": "QuotaGuard Static IPs allow your Fly.io applications to send outbound traffic through a load-balanced pair of static IP addresses. Once set up, you can use QuotaGuard’s IPs to connect to firewalled databases and APIs that require IP allowlisting. You do not need QuotaGuard for internal Fly.io private networking. Fly.io’s 6PN (IPv6 private network) handles communication between your apps within the same organization. QuotaGuard is for connecting to external services that require a known, static source IP address. ",
    "url": "/docs/platforms/fly-io/fly-io-integration/",
    "relUrl": "/docs/platforms/fly-io/fly-io-integration/"
  },"544": {
    "doc": "Accessing an FTP server from a Static IP in PHP",
    "title": "Get Started with the SOCKS5 Proxy Utilizing QGTunnel",
    "content": "1) Download QGTunnel . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . 2) Setup the Tunnel . Login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. Copy Remote Destination: tcp://hostname.for.your.server.com:22 Local Port: 2222 Transparent: true Encrypted: false . This setup assumes that the remote SFTP server is located at hostname.for.your.server.com and is listening on port 22. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example, we set it to 2222, because port 22 is probably in use on the localhost and it is also in the reserved port range (0-1023).     Transparent Mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions. Encrypted mode is disabled because SFTP is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. 3) Change Your Code to Connect Through the Tunnel (maybe) . With transparent mode you will only have to change to connect to port 2222 instead of 22. You can also connect to 127.0.0.1:2222. Without transparent mode, you will want to connect to 127.0.0.1:2222. 4) Change your Procfile . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . 5) Setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. 6) Deploy . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. 7) (Optional) If problems arise… . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. 8) IMPORTANT: Harden Your Setup . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/outbound-proxy/php/ftp-access/#get-started-with-the-socks5-proxy-utilizing-qgtunnel",
    "relUrl": "/docs/outbound-proxy/php/ftp-access/#get-started-with-the-socks5-proxy-utilizing-qgtunnel"
  },"545": {
    "doc": "Accessing an FTP server from a Static IP in PHP",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/outbound-proxy/php/ftp-access/#getting-help",
    "relUrl": "/docs/outbound-proxy/php/ftp-access/#getting-help"
  },"546": {
    "doc": "Accessing an FTP server from a Static IP in PHP",
    "title": "Accessing an FTP server from a Static IP in PHP",
    "content": "We strongly suggest users go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . ",
    "url": "/docs/outbound-proxy/php/ftp-access/",
    "relUrl": "/docs/outbound-proxy/php/ftp-access/"
  },"547": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Why Azure Functions and App Service Need a Static IP",
    "content": "Azure Functions and App Service send outbound traffic from a set of possible outbound IP addresses that is shared and can change when you scale or change tier. A destination that requires a known, stable source IP cannot rely on that set. You need a fixed pair you control. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#why-azure-functions-and-app-service-need-a-static-ip",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#why-azure-functions-and-app-service-need-a-static-ip"
  },"548": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to your Azure region to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#getting-started",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#getting-started"
  },"549": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Step 1: Set the Proxy in Application Settings",
    "content": "Azure Functions and App Service apps read the standard HTTP_PROXY and HTTPS_PROXY variables from application settings. Node, Python, and .NET (HttpClient.DefaultProxy on .NET Core 3.0 and later) honor them. For a Function App: . az functionapp config appsettings set -g &lt;resource-group&gt; -n &lt;app-name&gt; --settings \\ HTTP_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . For an App Service web app: . az webapp config appsettings set -g &lt;resource-group&gt; -n &lt;app-name&gt; --settings \\ HTTP_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . You can also set these under Settings &gt; Environment variables (formerly Configuration &gt; Application settings) in the portal. The app restarts to pick up new settings. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#step-1-set-the-proxy-in-application-settings",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#step-1-set-the-proxy-in-application-settings"
  },"550": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Step 2: Route Outbound Traffic Through the Proxy",
    "content": "For runtimes that honor the proxy variables, no code change is needed. To be explicit, or for full control in .NET, attach the proxy in code. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#step-2-route-outbound-traffic-through-the-proxy",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#step-2-route-outbound-traffic-through-the-proxy"
  },"551": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": ".NET (HttpClient with WebProxy)",
    "content": "var proxyUri = new Uri(Environment.GetEnvironmentVariable(\"HTTPS_PROXY\")); var parts = proxyUri.UserInfo.Split(':'); var handler = new HttpClientHandler { Proxy = new WebProxy(proxyUri) { Credentials = new NetworkCredential(parts[0], parts[1]) }, UseProxy = true }; var client = new HttpClient(handler); var resp = await client.GetAsync(\"https://api.example.com/data\"); . ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#net-httpclient-with-webproxy",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#net-httpclient-with-webproxy"
  },"552": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Node.js",
    "content": "const { ProxyAgent, fetch } = require('undici'); const dispatcher = new ProxyAgent(process.env.HTTPS_PROXY); const res = await fetch('https://api.example.com/data', { dispatcher }); console.log(await res.json()); . ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#nodejs",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#nodejs"
  },"553": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Python",
    "content": "import os, requests p = os.environ[\"HTTPS_PROXY\"] r = requests.get(\"https://api.example.com/data\", proxies={\"http\": p, \"https\": p}) print(r.json()) . ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#python",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#python"
  },"554": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Testing Your App Is Using the Static IP",
    "content": "For an App Service web app, open an SSH session and check the egress IP: . az webapp ssh -g &lt;resource-group&gt; -n &lt;app-name&gt; # inside the container: curl -x \"$HTTPS_PROXY\" https://ip.quotaguard.com . Azure Functions does not offer an interactive shell on all plans, so test through an HTTP-triggered function that fetches https://ip.quotaguard.com through the proxy and returns the result. Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your QuotaGuard dashboard. Run it more than once to see both (load-balanced). ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#testing-your-app-is-using-the-static-ip",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#testing-your-app-is-using-the-static-ip"
  },"555": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "A Note on the Native VNet and NAT Gateway Path",
    "content": "Azure’s native answer is VNet integration plus a NAT Gateway with a reserved static public IP, with WEBSITE_VNET_ROUTE_ALL=1 to route all outbound traffic through it. It works and is the right choice for some architectures. It also carries real constraints. VNet integration is available on Premium, Dedicated (App Service), and Flex Consumption plans, but not on the standard Consumption plan, so you may need to change plans to use it. Pinning the egress IP then means standing up a VNet, a NAT Gateway, and a Standard public IP, and paying for that NAT Gateway and public IP on top of the non-Consumption plan. QuotaGuard is application settings, gives you two IPs that work across every Azure region and every other platform you run, and adds no VNet or NAT Gateway. Choose whichever fits. This page documents the QuotaGuard path. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#a-note-on-the-native-vnet-and-nat-gateway-path",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#a-note-on-the-native-vnet-and-nat-gateway-path"
  },"556": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#troubleshooting",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#troubleshooting"
  },"557": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "The credentials are wrong. Confirm the proxy values in your app settings match your QuotaGuard dashboard exactly. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#407-proxy-authentication-required"
  },"558": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Settings not applied",
    "content": "App settings take effect on restart. If the app did not restart automatically, restart it and retest. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#settings-not-applied",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#settings-not-applied"
  },"559": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": ".NET still using the wrong IP",
    "content": "HttpClient.DefaultProxy reads the env vars on .NET Core 3.0 and later, but a custom HttpClientHandler with UseProxy = false, or a client constructed before the env var is set, bypasses it. Use the explicit WebProxy pattern above. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#net-still-using-the-wrong-ip",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#net-still-using-the-wrong-ip"
  },"560": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Wrong IP returned",
    "content": "The runtime is not honoring the proxy variables. Apply the proxy in code per request, as shown above. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#wrong-ip-returned",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#wrong-ip-returned"
  },"561": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most Azure Functions and App Service apps, Static is the right product. Choose QuotaGuard Shield if your workload handles regulated data or your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#quotaguard-static-vs-quotaguard-shield"
  },"562": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Static IP for Azure Functions Without VNet Integration . Contact Support . ",
    "url": "/docs/platforms/azure/functions-app-service-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/#ready-to-get-started"
  },"563": {
    "doc": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "title": "QuotaGuard and Azure Functions / App Service Integration Guide",
    "content": "QuotaGuard Static IPs give your Azure Functions and App Service apps two fixed outbound IP addresses from application settings, with no VNet integration or NAT Gateway to build. Set HTTP_PROXY and HTTPS_PROXY in your app settings, and outbound calls exit from one of your two static IPs. ",
    "url": "/docs/platforms/azure/functions-app-service-integration/",
    "relUrl": "/docs/platforms/azure/functions-app-service-integration/"
  },"564": {
    "doc": "What if I Need More Detailed Static IP Logging?",
    "title": "What if I Need More Detailed Static IP Logging?",
    "content": "If you need some detailed logging beyond the scope provided in your QuotaGuard Dashboard, please click “Log Request” in the admin panel or open a ticket with us and share what level of detail you need, the date range, and any other information that might help us get you the right logs for your questions. We can usually pull the right information for you within a few hours and send them to you via the Support system email. If you need a secure transfer of the logs, we can also do that for you too. Just let us know when you write us at Support that you want a secure transfer of the log files. ",
    "url": "/docs/account/analytics/getting-more-detailed-logs/",
    "relUrl": "/docs/account/analytics/getting-more-detailed-logs/"
  },"565": {
    "doc": "Usage API Getting Started",
    "title": "What the API does",
    "content": "The Usage API lets you read your account’s request and bandwidth usage without logging in to the dashboard. It is read-only in v1. Common use cases: . | Building a usage tracker or dashboard inside your own systems. | Alerting when you approach your plan’s request or bandwidth limit. | Pulling monthly usage history for reporting. | . The API exposes two endpoints: . | GET /subscriptions – list the subscriptions on your account. | GET /subscriptions/{id}/usage – monthly usage for a specific subscription. | . The base URL is https://dash.quotaguard.com/api/v1. ",
    "url": "/docs/account/usage-api/getting-started/#what-the-api-does",
    "relUrl": "/docs/account/usage-api/getting-started/#what-the-api-does"
  },"566": {
    "doc": "Usage API Getting Started",
    "title": "Generating an API key",
    "content": "API keys are managed in the customer dashboard at https://dash.quotaguard.com/account/management, in the “API Access” section. | Enter a name in the Key name field (e.g., production-monitoring, weekly-report-script). Names help you identify which system is using which key. | Optionally pick an expiry date. Keys default to one year from creation; you can choose any date up to that maximum. Shorter expiries are encouraged if your security policy requires periodic rotation. | Click Create API Key. The full key is shown once in a confirmation modal. | . Copy the key immediately and store it somewhere secure. After the modal closes, only a masked version is shown on the dashboard. The full key cannot be retrieved later. If you lose it, you will need to revoke the key and generate a new one. You can have up to 10 keys per account. Issuing a separate key per system (one for your monitoring stack, another for a CI script, etc.) means you can revoke a single key without affecting other integrations. ",
    "url": "/docs/account/usage-api/getting-started/#generating-an-api-key",
    "relUrl": "/docs/account/usage-api/getting-started/#generating-an-api-key"
  },"567": {
    "doc": "Usage API Getting Started",
    "title": "Authenticating requests",
    "content": "All API requests must include the key as a Bearer token in the Authorization header. Authorization: Bearer qg_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx . A complete request: . curl -H \"Authorization: Bearer qg_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\" \\ https://dash.quotaguard.com/api/v1/subscriptions . Requests without a valid Authorization header return HTTP 401: . { \"error\": { \"code\": \"unauthorized\", \"message\": \"Invalid or missing API key.\" } } . The same 401 response is returned for missing keys, unknown keys, expired keys, and revoked keys. We do not distinguish between these cases in the response, so an attacker cannot probe whether a particular string was once valid. ",
    "url": "/docs/account/usage-api/getting-started/#authenticating-requests",
    "relUrl": "/docs/account/usage-api/getting-started/#authenticating-requests"
  },"568": {
    "doc": "Usage API Getting Started",
    "title": "Key expiry and rotation",
    "content": "Every key has an expiry date. Once the date is reached, the key stops authenticating immediately (no grace period). To prepare for expiry, we send email warnings at 30, 14, 7, and 1 days before the expiry date. The email lists the key’s name and expiry date and links to the dashboard. Short-lived keys receive fewer warnings: any threshold larger than the key’s initial lifetime is skipped, since those warnings would either pre-date the key or fire immediately at creation. For example, a 14-day key gets warnings at 7 and 1 days, and a 1-day key gets no warnings. To rotate a key: . | Generate a new key in the dashboard. | Update your systems to use the new key. | Revoke the old key. | . Revocation is immediate. Any system still using the revoked key will start receiving 401 responses. ",
    "url": "/docs/account/usage-api/getting-started/#key-expiry-and-rotation",
    "relUrl": "/docs/account/usage-api/getting-started/#key-expiry-and-rotation"
  },"569": {
    "doc": "Usage API Getting Started",
    "title": "Rate limiting",
    "content": "The API enforces a limit of 60 requests per minute per key. Responses include rate limit headers: . X-RateLimit-Limit: 60 X-RateLimit-Remaining: 59 X-RateLimit-Reset: 1714824000 . If you exceed the limit, you receive HTTP 429 with a Retry-After header indicating how many seconds to wait before retrying: . { \"error\": { \"code\": \"rate_limit_exceeded\", \"message\": \"You have exceeded the rate limit of 60 requests per minute.\" } } . For typical polling use cases (checking usage every few minutes), 60 requests per minute is generous and you should not run into this limit. ",
    "url": "/docs/account/usage-api/getting-started/#rate-limiting",
    "relUrl": "/docs/account/usage-api/getting-started/#rate-limiting"
  },"570": {
    "doc": "Usage API Getting Started",
    "title": "Error responses",
    "content": "All errors use the same envelope: . { \"error\": { \"code\": \"&lt;error_code&gt;\", \"message\": \"&lt;human-readable description&gt;\" } } . | HTTP status | Code | When | . | 400 | invalid_request | Malformed query parameter (e.g., bad date format on from/to). | . | 401 | unauthorized | Missing, unknown, expired, or revoked API key. | . | 404 | subscription_not_found | The subscription ID does not exist on your account. | . | 429 | rate_limit_exceeded | You exceeded 60 requests per minute. See Retry-After. | . | 500 | server_error | Unexpected error on our side. Safe to retry after a brief delay. | . ",
    "url": "/docs/account/usage-api/getting-started/#error-responses",
    "relUrl": "/docs/account/usage-api/getting-started/#error-responses"
  },"571": {
    "doc": "Usage API Getting Started",
    "title": "Quick example",
    "content": "List your subscriptions: . $ curl -H \"Authorization: Bearer qg_live_...\" https://dash.quotaguard.com/api/v1/subscriptions { \"subscriptions\": [ { \"id\": \"fksexz1b7td8xv\", \"app_name\": \"my-heroku-app\", \"plan\": \"static_enterprise\", \"plan_display\": \"Static: Enterprise\", \"status\": \"active\", \"platform\": \"heroku\", \"created_at\": \"2024-06-15T10:30:00Z\" } ] } . Get usage for a subscription (defaults to the current month plus 6 prior): . $ curl -H \"Authorization: Bearer qg_live_...\" \\ https://dash.quotaguard.com/api/v1/subscriptions/fksexz1b7td8xv/usage . Limit to a custom date range: . $ curl -H \"Authorization: Bearer qg_live_...\" \\ \"https://dash.quotaguard.com/api/v1/subscriptions/fksexz1b7td8xv/usage?from=2026-01&amp;to=2026-03\" . The response contains the plan and allowance, then a usage array with one entry per month, broken down by HTTP, SOCKS, and inbound proxy types and totaled at the bottom. Each entry includes both raw counts and percentage of plan allowance. ",
    "url": "/docs/account/usage-api/getting-started/#quick-example",
    "relUrl": "/docs/account/usage-api/getting-started/#quick-example"
  },"572": {
    "doc": "Usage API Getting Started",
    "title": "Need help?",
    "content": ". | Manage your API keys: https://dash.quotaguard.com/account/management | Support: support@quotaguard.com | . ",
    "url": "/docs/account/usage-api/getting-started/#need-help",
    "relUrl": "/docs/account/usage-api/getting-started/#need-help"
  },"573": {
    "doc": "Usage API Getting Started",
    "title": "Usage API Getting Started",
    "content": "This guide walks through authenticating with the QuotaGuard Usage API and pulling your usage data programmatically. ",
    "url": "/docs/account/usage-api/getting-started/",
    "relUrl": "/docs/account/usage-api/getting-started/"
  },"574": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Why Gigalixir Apps Need Static IPs",
    "content": "Gigalixir runs your app in containers with dynamically assigned IP addresses, so outbound traffic leaves from an address that changes. Gigalixir offers Dedicated Ingress for static inbound IPs, such as apex domains and webhook receivers, but that is inbound only. It does not give you a static outbound egress IP. Gigalixir’s own documentation recommends QuotaGuard for outbound static IPs. Common scenarios where you need a static outbound IP: . | MongoDB Atlas: Requires IP allowlisting in Network Access settings | Amazon RDS and managed Postgres: Security groups with IP-based rules | Payment and banking APIs: Only accept requests from registered IPs | Partner APIs: Corporate firewalls that require known source addresses | Legacy systems: On-premise databases and ERPs with strict firewall policies | . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#why-gigalixir-apps-need-static-ips",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#why-gigalixir-apps-need-static-ips"
  },"575": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your Gigalixir app runs to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. Your proxy URL looks like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#getting-started",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#getting-started"
  },"576": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Configuring Your Application",
    "content": " ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#configuring-your-application",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#configuring-your-application"
  },"577": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Step 1: Add Your Proxy URL as a Config Variable",
    "content": "Store your QuotaGuard credentials as a Gigalixir config variable. Keep them out of your Git repository. gigalixir config:set QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . Verify it was set: . gigalixir config . You should see QUOTAGUARDSTATIC_URL in the list. For Elixir Releases: config variables are available as OS environment variables at runtime. Read them in config/runtime.exs so they are evaluated when the release boots, not at compile time: . # config/runtime.exs config :my_app, :proxy_url, System.get_env(\"QUOTAGUARDSTATIC_URL\") . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#step-1-add-your-proxy-url-as-a-config-variable",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#step-1-add-your-proxy-url-as-a-config-variable"
  },"578": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Step 2: Configure Your HTTP Client",
    "content": "Route the outbound calls that need a static IP through the proxy. The Elixir clients are below, followed by Node, Python, Ruby, and Go for polyglot Gigalixir apps. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#step-2-configure-your-http-client",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#step-2-configure-your-http-client"
  },"579": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Elixir (Req)",
    "content": "proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") uri = URI.parse(proxy_url) Req.get!(\"https://api.example.com/data\", connect_options: [ proxy: {:http, uri.host, uri.port, []}, proxy_headers: [{\"proxy-authorization\", \"Basic \" &lt;&gt; Base.encode64(uri.userinfo)}] ] ) . Req runs on Finch and Mint, so the proxy is a {:http, host, port, opts} tuple, not a URL string, and the credentials go in proxy_headers. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-req",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-req"
  },"580": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Elixir (HTTPoison)",
    "content": "proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") uri = URI.parse(proxy_url) [username, password] = String.split(uri.userinfo, \":\") options = [ proxy: {String.to_charlist(uri.host), uri.port}, proxy_auth: {String.to_charlist(username), String.to_charlist(password)} ] {:ok, response} = HTTPoison.get(\"https://api.example.com/data\", [], options) IO.inspect(response.body) . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-httpoison",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-httpoison"
  },"581": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Elixir (Finch)",
    "content": "# In your application supervision tree proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") uri = URI.parse(proxy_url) Finch.start_link( name: MyFinch, pools: %{ :default =&gt; [ conn_opts: [ proxy: {:http, uri.host, uri.port, []}, proxy_headers: [{\"proxy-authorization\", \"Basic \" &lt;&gt; Base.encode64(uri.userinfo)}] ] ] } ) . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-finch",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-finch"
  },"582": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Elixir (Tesla with Hackney adapter)",
    "content": "proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") uri = URI.parse(proxy_url) [user, pass] = String.split(uri.userinfo, \":\") client = Tesla.client([], {Tesla.Adapter.Hackney, [ proxy: {uri.host, uri.port}, proxy_auth: {user, pass} ]}) Tesla.get(client, \"https://api.example.com/data\") . Requires the hackney dependency. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-tesla-with-hackney-adapter",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#elixir-tesla-with-hackney-adapter"
  },"583": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Node.js (axios with https-proxy-agent)",
    "content": "const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); axios.get('https://api.example.com/data', { httpsAgent: agent }) .then(response =&gt; console.log(response.data)); . Install the agent: npm install https-proxy-agent . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#nodejs-axios-with-https-proxy-agent",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#nodejs-axios-with-https-proxy-agent"
  },"584": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Python (requests)",
    "content": "import os, requests proxy_url = os.environ['QUOTAGUARDSTATIC_URL'] proxies = {'http': proxy_url, 'https': proxy_url} response = requests.get('https://api.example.com/data', proxies=proxies) print(response.json()) . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#python-requests",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#python-requests"
  },"585": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Ruby (Net::HTTP)",
    "content": "require 'net/http' require 'uri' proxy = URI.parse(ENV['QUOTAGUARDSTATIC_URL']) http = Net::HTTP.new('api.example.com', 443, proxy.host, proxy.port, proxy.user, proxy.password) http.use_ssl = true puts http.get('/data').body . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#ruby-nethttp",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#ruby-nethttp"
  },"586": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Go",
    "content": "proxyURL, _ := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) client := &amp;http.Client{ Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyURL)}, } resp, _ := client.Get(\"https://api.example.com/data\") defer resp.Body.Close() body, _ := io.ReadAll(resp.Body) fmt.Println(string(body)) . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#go",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#go"
  },"587": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Connecting to Firewalled Databases with QGTunnel",
    "content": "For database connections such as PostgreSQL, MySQL, or MongoDB, use QuotaGuard’s SOCKS5 proxy through QGTunnel. QGTunnel transparently routes your Ecto traffic through your static IPs without changing your connection code. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#connecting-to-firewalled-databases-with-qgtunnel",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#connecting-to-firewalled-databases-with-qgtunnel"
  },"588": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Step 1: Add QGTunnel to Your Release",
    "content": "Download QGTunnel and include it in your release overlay so it ships inside the container: . mkdir -p rel/overlays/bin curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz -C rel/overlays . This places bin/qgtunnel and vendor/nss_wrapper/ into your release. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#step-1-add-qgtunnel-to-your-release",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#step-1-add-qgtunnel-to-your-release"
  },"589": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Step 2: Prefix Your Start Command",
    "content": "Gigalixir reads a Procfile to determine the start command. Prefix it with bin/qgtunnel so the tunnel starts before your app: . web: bin/qgtunnel bin/my_app start . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#step-2-prefix-your-start-command",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#step-2-prefix-your-start-command"
  },"590": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Step 3: Configure the Tunnel in the Dashboard",
    "content": "In the QuotaGuard dashboard, go to Setup &gt; QGTunnel Configuration &gt; Create a Tunnel. Example PostgreSQL configuration: . | Setting | Value | . | Remote Destination | tcp://your-database.example.com:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Transparent mode overrides DNS so Ecto connects to the original database hostname while traffic routes through your static IPs. QGTunnel reads QUOTAGUARDSTATIC_URL automatically, so no code change is needed in your Repo config. The SOCKS5 proxy is on port 1080 if you prefer to configure a driver directly instead of using QGTunnel. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#step-3-configure-the-tunnel-in-the-dashboard",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#step-3-configure-the-tunnel-in-the-dashboard"
  },"591": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Testing Your Implementation",
    "content": " ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#testing-your-implementation"
  },"592": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "From Your Local Machine",
    "content": "curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP should match one of the two static IPs in your QuotaGuard dashboard. Run it more than once to see both IPs (load-balanced). ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#from-your-local-machine",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#from-your-local-machine"
  },"593": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "From Inside Your Running App",
    "content": "Add a temporary route or run it in a remote console to confirm the proxy works from the deployed container, not just locally. proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") {:ok, resp} = Req.get(\"https://ip.quotaguard.com\", connect_options: [proxy: proxy_url]) IO.inspect(resp.body) . Open a remote console against your running app with gigalixir ps:remote_console -a my-app and run the snippet. The IP returned must be one of your two static IPs. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#from-inside-your-running-app",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#from-inside-your-running-app"
  },"594": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Latency Considerations",
    "content": "Routing through QuotaGuard adds one network hop: . | Configuration | Added Latency | . | Same region (app and proxy co-located) | 10-20ms | . | Cross-region | 50-100ms | . Select a QuotaGuard region that matches your Gigalixir deployment region to keep this minimal. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#latency-considerations",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#latency-considerations"
  },"595": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#troubleshooting",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#troubleshooting"
  },"596": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your credentials are wrong. Confirm the config variable: . gigalixir config . Check that the username and password match your QuotaGuard dashboard exactly. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#407-proxy-authentication-required"
  },"597": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Connection Timeout",
    "content": ". | Confirm your app can reach external networks. | Check the proxy hostname is correct. | Ensure nothing blocks outbound connections to port 9293. | . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#connection-timeout",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#connection-timeout"
  },"598": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Wrong IP Address Returned",
    "content": "The proxy is not being applied to the request. | Confirm the env var is read at runtime, not compile time (config/runtime.exs, not config.exs). | Check you are passing the proxy to the specific request, not only setting an environment variable. | Some Elixir HTTP clients require explicit per-request proxy options, as shown above. | . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#wrong-ip-address-returned",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#wrong-ip-address-returned"
  },"599": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Config Not Available at Boot",
    "content": "Elixir Releases evaluate config/runtime.exs at boot and config/config.exs at compile time. If you read QUOTAGUARDSTATIC_URL in compile-time config, it will be missing. Move it to config/runtime.exs. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#config-not-available-at-boot",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#config-not-available-at-boot"
  },"600": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "QGTunnel Not Starting",
    "content": ". | Confirm bin/qgtunnel is in your release overlay and is executable. | Confirm QUOTAGUARDSTATIC_URL is set as a config variable. | Enable debug logging: | . gigalixir config:set QGTUNNEL_DEBUG=\"true\" . Then check logs: . gigalixir logs | grep qgtunnel . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#qgtunnel-not-starting",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#qgtunnel-not-starting"
  },"601": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Clustering Stopped Working",
    "content": "It should not. QuotaGuard only handles the outbound calls you route through it. If clustering broke, you are routing internal libcluster traffic through the proxy by mistake. Apply the proxy per external request rather than forcing all traffic through it. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#clustering-stopped-working",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#clustering-stopped-working"
  },"602": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most Gigalixir apps, Static is the right product. Choose QuotaGuard Shield if your app handles regulated data or your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#quotaguard-static-vs-quotaguard-shield"
  },"603": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Gigalixir Integration Features . Read: How to Get a Static IP for Gigalixir Apps . Contact Support . ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/#ready-to-get-started"
  },"604": {
    "doc": "QuotaGuard and Gigalixir Integration Guide",
    "title": "QuotaGuard and Gigalixir Integration Guide",
    "content": "QuotaGuard Static IPs allow your Gigalixir applications to send outbound traffic through a load-balanced pair of static IP addresses. Once set up, you can use QuotaGuard’s IPs to connect to firewalled databases and APIs that require IP allowlisting. Gigalixir supports Elixir, Node, Python, Ruby, and Go, and this works across all of them. You do not need QuotaGuard for internal Gigalixir clustering. Distributed Erlang clustering with libcluster runs over Gigalixir’s internal network and is unaffected. QuotaGuard handles outbound traffic to external services that require a known, static source IP. ",
    "url": "/docs/platforms/gigalixir/gigalixir-integration/",
    "relUrl": "/docs/platforms/gigalixir/gigalixir-integration/"
  },"605": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Why GitLab CI/CD Pipelines Need a Static IP",
    "content": "GitLab states in its own documentation that it does not provide static IP addresses for outgoing connections from CI/CD runners. GitLab.com instance runners run on shared Google Cloud infrastructure (us-east1, plus us-central1 for GPU and Arm64 runners), and macOS runners run on AWS us-east-1. The outbound IP a job uses is drawn from those shared cloud ranges and changes from job to job. The only native workaround is to allowlist GitLab’s entire Google Cloud and AWS ranges on the destination, which is broad enough that most security teams reject it. When a partner API, a firewalled database, or a deploy target asks for the IP your pipeline connects from, you need one stable answer. ",
    "url": "/docs/automation/gitlab-ci-integration/#why-gitlab-cicd-pipelines-need-a-static-ip",
    "relUrl": "/docs/automation/gitlab-ci-integration/#why-gitlab-cicd-pipelines-need-a-static-ip"
  },"606": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Follow Steps 1–3 below to configure the masked variables, route a job and verify its source IP. The language-client and CLI alternatives and troubleshooting follow in the reference. ",
    "url": "/docs/automation/gitlab-ci-integration/#guided-setup-quickstart",
    "relUrl": "/docs/automation/gitlab-ci-integration/#guided-setup-quickstart"
  },"607": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "QuotaGuard Gives Your Pipelines Two Fixed IPs",
    "content": "QuotaGuard Static is an HTTP, HTTPS, and SOCKS5 proxy running on AWS. Every subscription is assigned two static IP addresses behind a load balancer, and those two IPs do not change. The IPs belong to your QuotaGuard account, not to a runner or a job, so every pipeline run connects through the same two addresses. You allowlist them once on the destination. Your two assigned IPs are shown in your QuotaGuard dashboard after sign-up. ",
    "url": "/docs/automation/gitlab-ci-integration/#quotaguard-gives-your-pipelines-two-fixed-ips",
    "relUrl": "/docs/automation/gitlab-ci-integration/#quotaguard-gives-your-pipelines-two-fixed-ips"
  },"608": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Step 1: Add the Proxy as CI/CD Variables",
    "content": "In your project or group, open Settings &gt; CI/CD &gt; Variables and add the full proxy connection URL assigned to your subscription under Setup &gt; Outbound, as shown in the connection-details guide. Copy the complete URL, including its scheme, credentials, host, and port. Most build tooling, including curl, git, and the majority of HTTP clients, reads standard proxy variables; curl requires lowercase http_proxy for HTTP destinations but accepts HTTPS_PROXY for HTTPS. Add these as masked variables so they do not appear in job logs: . | Key | Value | Flags | . | HTTP_PROXY | Assigned full proxy connection URL | Masked | . | HTTPS_PROXY | Same assigned full proxy connection URL | Masked | . | NO_PROXY | localhost,127.0.0.1,.internal |   | . NO_PROXY lists destinations that job HTTP clients should reach directly. Customize the example for your internal hosts. Add gitlab.com only if the job’s requests to GitLab should bypass QuotaGuard; leave it out when GitLab must see your QuotaGuard IPs. For GitLab Self-Managed, use your instance hostname instead. Matching varies by client: Go-based clients treat .gitlab.com as subdomains only, while gitlab.com matches both the host and its subdomains. These job variables do not configure the runner manager’s connection to GitLab. Self-managed runner administrators configure its service environment separately; see GitLab’s runner proxy configuration. Note on masking: Use single-line values with no spaces and at least 8 characters, and clear Expand variable reference on both proxy variables. With expansion enabled, GitLab restricts masking characters and rejects % in URL-encoded credentials. See GitLab’s masking requirements. ",
    "url": "/docs/automation/gitlab-ci-integration/#step-1-add-the-proxy-as-cicd-variables",
    "relUrl": "/docs/automation/gitlab-ci-integration/#step-1-add-the-proxy-as-cicd-variables"
  },"609": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Step 2: Route Job Traffic Through the Proxy",
    "content": "With the variables set at the project or group level, jobs pick them up automatically. The examples below reuse those masked variables without putting credentials in .gitlab-ci.yml. deploy: stage: deploy script: - curl -X POST https://api.partner-service.com/deploy . ",
    "url": "/docs/automation/gitlab-ci-integration/#step-2-route-job-traffic-through-the-proxy",
    "relUrl": "/docs/automation/gitlab-ci-integration/#step-2-route-job-traffic-through-the-proxy"
  },"610": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Step 3: Testing Your Pipeline Is Using the Static IP",
    "content": "Add a verify job that checks the proxy variable is present and prints the egress address. --noproxy \"\" forces this lookup through the proxy even if NO_PROXY excludes the verification host. verify-ip: stage: test image: curlimages/curl:latest script: - 'test -n \"$HTTPS_PROXY\" || { echo \"HTTPS_PROXY is not set\"; exit 1; }' - curl --noproxy \"\" -x \"$HTTPS_PROXY\" https://ip.quotaguard.com . Expected output: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match either of the two assigned IPs in your QuotaGuard dashboard. You can re-run the job, but observing both addresses is not required for success. Allowlist both assigned IPs at the destination. ",
    "url": "/docs/automation/gitlab-ci-integration/#testing-your-pipeline-is-using-the-static-ip",
    "relUrl": "/docs/automation/gitlab-ci-integration/#testing-your-pipeline-is-using-the-static-ip"
  },"611": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Programmatic reference",
    "content": "The shared setup above covers assigned IPs and allowlisting, masked variables, scope and bypass rules, the job configuration, and the verification job and expected output. Continue below for Python, Node.js and explicit CLI examples, runner applicability, troubleshooting and product distinctions. ",
    "url": "/docs/automation/gitlab-ci-integration/#programmatic-reference",
    "relUrl": "/docs/automation/gitlab-ci-integration/#programmatic-reference"
  },"612": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "A language client in a job",
    "content": "If a job runs application code that makes the call, the standard proxy variables are read by most clients. To be explicit, pass the proxy directly. The explicit Python proxies mapping and Node ProxyAgent below route these requests through the proxy even if their destinations appear in NO_PROXY. Python: . test-api: image: python:3.12-slim script: - pip install requests - | python - &lt;&lt;'PY' import os, requests p = os.environ[\"HTTPS_PROXY\"] r = requests.get(\"https://api.partner-service.com/data\", proxies={\"http\": p, \"https\": p}) print(r.status_code) PY . Node: . test-api: image: node:24-slim script: - npm install undici - | node -e ' const { ProxyAgent, fetch } = require(\"undici\"); const dispatcher = new ProxyAgent(process.env.HTTPS_PROXY); fetch(\"https://api.partner-service.com/data\", { dispatcher }) .then(r =&gt; console.log(r.status)); ' . ",
    "url": "/docs/automation/gitlab-ci-integration/#a-language-client-in-a-job",
    "relUrl": "/docs/automation/gitlab-ci-integration/#a-language-client-in-a-job"
  },"613": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Tools that ignore the standard variables",
    "content": "Some CLIs do not read HTTP_PROXY. Pass the proxy explicitly. For curl: . script: - curl -x \"$HTTPS_PROXY\" https://api.partner-service.com/data . For git over HTTPS, set it per command: . script: - git -c http.proxy=\"$HTTPS_PROXY\" clone https://internal.git.example.com/repo.git . ",
    "url": "/docs/automation/gitlab-ci-integration/#tools-that-ignore-the-standard-variables",
    "relUrl": "/docs/automation/gitlab-ci-integration/#tools-that-ignore-the-standard-variables"
  },"614": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Shared SaaS Runners Are the Primary Use Case",
    "content": "This setup is built for GitLab.com SaaS shared runners, where you cannot pin the egress IP. On private or self-hosted runners you control the host and can pin egress yourself, so you may not need a proxy. QuotaGuard still works on those runners if you would rather not build and maintain your own NAT, and it gives you the same two IPs across every runner type. The variables also apply to scheduled pipelines, since they run as normal jobs. ",
    "url": "/docs/automation/gitlab-ci-integration/#shared-saas-runners-are-the-primary-use-case",
    "relUrl": "/docs/automation/gitlab-ci-integration/#shared-saas-runners-are-the-primary-use-case"
  },"615": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/automation/gitlab-ci-integration/#troubleshooting",
    "relUrl": "/docs/automation/gitlab-ci-integration/#troubleshooting"
  },"616": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "The credentials are wrong or the variable was not picked up. Use the presence check in the verify-ip job above, then compare the IP returned by ip.quotaguard.com with your assigned IPs. Check the stored credentials against Setup &gt; Outbound in your QuotaGuard dashboard without printing the proxy URL or credentials in job logs. ",
    "url": "/docs/automation/gitlab-ci-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/automation/gitlab-ci-integration/#407-proxy-authentication-required"
  },"617": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Variable not applied",
    "content": "If the job ignores the proxy, the variable may be scoped to a different environment or marked protected while the branch is not protected. Protected variables are only exposed to protected branches and tags. Either unprotect the variable or run on a protected branch. ",
    "url": "/docs/automation/gitlab-ci-integration/#variable-not-applied",
    "relUrl": "/docs/automation/gitlab-ci-integration/#variable-not-applied"
  },"618": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Requests to internal services break after enabling the proxy",
    "content": "Proxy-aware clients may be routing internal requests through QuotaGuard. Add hosts that should connect directly to NO_PROXY, following the client-specific matching rules above. Explicit proxy options such as the Python and Node examples above can override these exclusions. ",
    "url": "/docs/automation/gitlab-ci-integration/#requests-to-internal-services-break-after-enabling-the-proxy",
    "relUrl": "/docs/automation/gitlab-ci-integration/#requests-to-internal-services-break-after-enabling-the-proxy"
  },"619": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Wrong IP returned",
    "content": "Check that the destination is not excluded by NO_PROXY; curl honors these exclusions even with -x. If the tool ignores the proxy variables, pass the proxy explicitly with curl -x, git -c http.proxy, or the client’s proxy option as shown above. ",
    "url": "/docs/automation/gitlab-ci-integration/#wrong-ip-returned",
    "relUrl": "/docs/automation/gitlab-ci-integration/#wrong-ip-returned"
  },"620": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Connection timeout",
    "content": "Confirm the runner has outbound network access and that nothing blocks port 9293. Self-managed runners behind a corporate firewall may need 9293 opened. ",
    "url": "/docs/automation/gitlab-ci-integration/#connection-timeout",
    "relUrl": "/docs/automation/gitlab-ci-integration/#connection-timeout"
  },"621": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most CI/CD pipelines, Static is the right product. Choose QuotaGuard Shield if your pipeline moves regulated data or your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/automation/gitlab-ci-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/automation/gitlab-ci-integration/#quotaguard-static-vs-quotaguard-shield"
  },"622": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View GitLab CI/CD Integration Features . Contact Support . ",
    "url": "/docs/automation/gitlab-ci-integration/#ready-to-get-started",
    "relUrl": "/docs/automation/gitlab-ci-integration/#ready-to-get-started"
  },"623": {
    "doc": "QuotaGuard and GitLab CI/CD Integration Guide",
    "title": "QuotaGuard and GitLab CI/CD Integration Guide",
    "content": "QuotaGuard Static IPs give your GitLab CI/CD pipelines two fixed outbound IP addresses for firewalled deploys and IP-restricted APIs. Set HTTP_PROXY and HTTPS_PROXY as CI/CD variables for HTTP clients that honor them. Their proxied HTTP/HTTPS requests exit from one of your two static IPs, regardless of which shared runner picks up the job. ",
    "url": "/docs/automation/gitlab-ci-integration/",
    "relUrl": "/docs/automation/gitlab-ci-integration/"
  },"624": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Get a static IP for Glide Call API requests in three steps",
    "content": "Glide’s Call API lets you set the Endpoint, Method, Query String, Headers, and Body, but it has no HTTP proxy setting and cannot run a sidecar. So you host a tiny relay function (AWS Lambda or a Google Cloud Function) that forwards requests through QuotaGuard, and Glide calls that relay. The result: your target API sees the two static IP addresses assigned to your QuotaGuard subscription, not Glide’s shared pool. | Deploy the relay function and connect it to QuotaGuard using the shared relay pattern. | In Glide, set the Call API Endpoint to your relay URL and add two headers, X-Relay-Key and X-Target-URL. | Allowlist your two QuotaGuard static IPs at the destination API. | . ",
    "url": "/docs/platforms/glide-integration/#get-a-static-ip-for-glide-call-api-requests-in-three-steps",
    "relUrl": "/docs/platforms/glide-integration/#get-a-static-ip-for-glide-call-api-requests-in-three-steps"
  },"625": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Why Glide needs a static IP",
    "content": "Glide is a no-code platform. Your app runs on Glide’s managed infrastructure, and outbound Call API requests leave from shared, rotating IP addresses. Many APIs and databases refuse connections unless the caller comes from a known, fixed IP. There is no way to pin Glide’s egress IP from inside the builder, and there is no proxy field on the Call API action or column. Common destinations that require a fixed source IP: . | Payment and billing gateways that allowlist server IPs | Partner and supplier APIs behind an IP firewall | Banking, insurance, and healthcare APIs | Internal or on-prem systems exposed through a corporate firewall | Databases fronted by an HTTP data API (for example a MongoDB Atlas Data API, a Supabase or Neon REST endpoint) with IP rules | ERP, CRM, and logistics systems that gate access by source IP | . If the API you are calling shows a place to enter allowed IP addresses, Glide needs a static IP to sit behind. ",
    "url": "/docs/platforms/glide-integration/#why-glide-needs-a-static-ip",
    "relUrl": "/docs/platforms/glide-integration/#why-glide-needs-a-static-ip"
  },"626": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your relay function runs to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. Every QuotaGuard subscription is assigned two load-balanced static IP addresses. You allowlist both at the destination API. The proxy connection string is delivered as QUOTAGUARDSTATIC_URL, in the form http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293. Copy the exact value from your dashboard. ",
    "url": "/docs/platforms/glide-integration/#getting-started",
    "relUrl": "/docs/platforms/glide-integration/#getting-started"
  },"627": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Why a relay, and how it works",
    "content": "Glide cannot set an HTTP proxy and cannot run a sidecar, so it cannot route its own egress through QuotaGuard. The relay solves this. You host a small function on infrastructure that can set a proxy environment variable, AWS Lambda or a Google Cloud Function. The function reads QUOTAGUARDSTATIC_URL, and forwards any request it receives out through QuotaGuard. Because the forwarded request exits QuotaGuard, the target API sees your two static IPs. The flow: . | Glide’s Call API sends a request to your relay function URL, with two headers. | X-Relay-Key is a shared secret the relay checks so that only your app can use it. | X-Target-URL is the real API you want to reach. | The relay forwards the request to X-Target-URL through the QUOTAGUARDSTATIC_URL connection. | The target API responds, and the relay passes the response back to Glide. | . This relay pattern is reusable across any no-code platform that has an outbound HTTP call but no proxy control. Do not re-derive it here. Use the two published sources: . | The shared pattern guide: Static IP for platforms with no HTTP proxy | The ready-to-run example: quotaguard/static-examples lambda-relay | . Deploy the relay from the example repo, set QUOTAGUARDSTATIC_URL (from your dashboard) and RELAY_KEY (a secret you choose) as environment variables on the function, and note the function’s public URL. Then wire Glide to it below. ",
    "url": "/docs/platforms/glide-integration/#why-a-relay-and-how-it-works",
    "relUrl": "/docs/platforms/glide-integration/#why-a-relay-and-how-it-works"
  },"628": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Step 1: point Glide’s Call API at the relay",
    "content": "In the Glide builder, add a Call API action (or a Call API column) and configure these fields. Endpoint . Set the Endpoint to your relay function URL, for example: . https://abc123.lambda-url.us-east-1.on.aws/ . Method . Choose the method your target API expects: GET, POST, PUT, PATCH, or DELETE. The relay forwards the method through to X-Target-URL. Headers . Click + Add value to add each header. Glide automatically marks manually entered header values as secret, which is what you want for the relay key. Add two headers: . | Header | Value | . | X-Relay-Key | the secret you set as RELAY_KEY on the relay function | . | X-Target-URL | the full URL of the API you actually want to reach | . If your target API needs its own auth header (for example Authorization: Bearer ...), add it here too as an extra header. The relay forwards the Content-Type and Authorization headers to the target. If the target needs a different custom header (for example X-Api-Key), add that header name to the forwarding list in the relay function. Body . Put the request body your target API expects. Use Glide’s JSON Object column to build the body dynamically from your app’s data, then reference it here. The relay passes the body straight through. Query String . If your target API needs query parameters, you can append them to the X-Target-URL value, or add them under Query String if your relay is written to forward them. Appending to X-Target-URL is the simplest and always works. That is the entire Glide-side setup. Endpoint to the relay, two headers, your normal body. ",
    "url": "/docs/platforms/glide-integration/#step-1-point-glides-call-api-at-the-relay",
    "relUrl": "/docs/platforms/glide-integration/#step-1-point-glides-call-api-at-the-relay"
  },"629": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Step 2: allowlist your two static IPs",
    "content": "At the destination API’s dashboard, add both static IP addresses shown in your QuotaGuard dashboard to the allowlist. Add both, because requests are load-balanced across the pair. Allowlist exactly the two IPs from the dashboard. Do not resolve or nslookup the proxy hostname to find an IP, because a proxy hostname resolves to internal infrastructure, not your allowlist IPs. ",
    "url": "/docs/platforms/glide-integration/#step-2-allowlist-your-two-static-ips",
    "relUrl": "/docs/platforms/glide-integration/#step-2-allowlist-your-two-static-ips"
  },"630": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Testing",
    "content": "Confirm the static IP is working before you point the relay at a production API. QuotaGuard has an IP check endpoint that returns the source IP it saw. Set the Glide Call API to: . | Method: GET | Endpoint: your relay function URL | Headers: X-Relay-Key = your secret, X-Target-URL = https://ip.quotaguard.com | . Run the action. The response body is: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match one of the two static IPs in your QuotaGuard dashboard. Run it a few times. Because the pair is load-balanced, you should see both of your static IPs appear across repeated calls. If you see an IP that is not in your dashboard, the request is not going through the relay, or the relay is not reading QUOTAGUARDSTATIC_URL. You can also test the relay directly with curl before touching Glide: . curl -H \"X-Relay-Key: your-secret\" \\ -H \"X-Target-URL: https://ip.quotaguard.com\" \\ https://abc123.lambda-url.us-east-1.on.aws/ . The same JSON response confirms the relay and the QuotaGuard connection are wired correctly. ",
    "url": "/docs/platforms/glide-integration/#testing",
    "relUrl": "/docs/platforms/glide-integration/#testing"
  },"631": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Troubleshooting",
    "content": "Wrong IP returned by ip.quotaguard.com The returned IP is not one of your two static IPs. The relay is reaching the target directly instead of through QuotaGuard. Confirm QUOTAGUARDSTATIC_URL is set on the function exactly as shown in your dashboard, and that the relay code sends the outbound request through that proxy variable. 403 or 401 from the relay itself The relay rejected the request. Your X-Relay-Key header value in Glide does not match the RELAY_KEY environment variable on the function. Re-copy the secret into both places. Watch for trailing spaces. Timeout or no response in Glide The relay took too long or is not reachable. Check the function URL is public and correct in the Endpoint field, and confirm the relay’s own timeout is long enough for the target API. Lambda and Cloud Function default timeouts are often shorter than a slow third-party API needs. Connection still blocked at the destination API The target API still sees a non-allowlisted IP. You allowlisted only one of the two static IPs. Add both from your QuotaGuard dashboard, since the pair is load-balanced. 407 Proxy Authentication Required in the relay logs The relay reached QuotaGuard but the credentials were rejected. The username or password in QUOTAGUARDSTATIC_URL is wrong or truncated. Copy the full connection string from the dashboard again. Target API returns 400 or 422 through the relay but works in a direct test The body or a required header is not being forwarded. Confirm the target’s own auth header is added in Glide’s Headers, and that the Body is populated. If you built the body with a JSON Object column, verify it produces valid JSON. Headers missing at the target Remember Glide marks manually entered header values as secret. That is expected and does not stop them being sent. If a header is genuinely missing, confirm you clicked + Add value and saved the action. ",
    "url": "/docs/platforms/glide-integration/#troubleshooting",
    "relUrl": "/docs/platforms/glide-integration/#troubleshooting"
  },"632": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "Most Glide integrations use QuotaGuard Static. Your Call API requests travel HTTPS end to end, and the payload is never decrypted at the proxy. Choose Shield only when the workload carries regulated data (HIPAA, PCI-DSS, SOC 2) or the environment requires TLS on every hop, including between the relay and the proxy. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month (direct) | $29/month (direct) | . Static is right for standard HTTPS API calls from a Glide relay. Choose Shield if the workload handles regulated data or the environment requires TLS between the relay and the proxy itself. ",
    "url": "/docs/platforms/glide-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/glide-integration/#quotaguard-static-vs-quotaguard-shield"
  },"633": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Static IP for platforms with no HTTP proxy . Contact Support . ",
    "url": "/docs/platforms/glide-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/glide-integration/#ready-to-get-started"
  },"634": {
    "doc": "QuotaGuard and Glide Integration Guide",
    "title": "QuotaGuard and Glide Integration Guide",
    "content": "Glide apps call external APIs through the Call API action and Call API column. Glide sends those requests from its own shared infrastructure, so the source IP is not fixed and cannot be allowlisted. This guide gives your Glide app two fixed outbound IP addresses. You deploy a small relay function that egresses through QuotaGuard, point Glide’s Call API at the relay, and every downstream request exits from one of your two static IPs. ",
    "url": "/docs/platforms/glide-integration/",
    "relUrl": "/docs/platforms/glide-integration/"
  },"635": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "Get two static IPs for Google Apps Script",
    "content": "Google Apps Script has no HTTP proxy setting. The UrlFetchApp.fetch(url, params) options object exposes method, headers, payload, contentType, muteHttpExceptions, followRedirects, timeoutSeconds, and a few others, but no proxy field. The sandbox also has no environment variables and no sidecar process, so the usual QUOTAGUARDSTATIC_URL and QGTunnel approaches do not apply here. The fix is a relay. You host a small function (an AWS Lambda or a Google Cloud Function) that itself egresses through QuotaGuard Static. Your Apps Script calls that relay’s URL and passes the real target API in a header. The relay forwards the request through QuotaGuard, and the target API sees one of your two static IPs. This is the standard pattern for any platform that cannot set an HTTP proxy, documented in full at Static IPs when you cannot set an HTTP proxy. ",
    "url": "/docs/platforms/google-apps-script-integration/#get-two-static-ips-for-google-apps-script",
    "relUrl": "/docs/platforms/google-apps-script-integration/#get-two-static-ips-for-google-apps-script"
  },"636": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "Why Google Apps Script needs a static IP",
    "content": "Apps Script fetches leave from Google’s shared egress ranges. Those addresses rotate and are shared across many Google customers, so you cannot hand a partner a stable IP to allowlist, and you would never want to allowlist Google’s entire range. Any destination that gates access by source IP will either reject your script or force you to leave the gate wide open. Common destinations that require a fixed, allowlistable source IP: . | Payment gateways and financial APIs that require IP allowlisting | Partner and supplier APIs behind a firewall allowlist | MongoDB Atlas, Supabase, Neon, and Amazon RDS access lists | Legacy or on-prem systems reachable only from known IPs | Internal enterprise APIs that enforce a source-IP policy | Any vendor that issues credentials scoped to a registered IP | . With QuotaGuard, you allowlist exactly the two static IPs shown in your dashboard, in both directions, and your Apps Script traffic arrives from a stable, known source. ",
    "url": "/docs/platforms/google-apps-script-integration/#why-google-apps-script-needs-a-static-ip",
    "relUrl": "/docs/platforms/google-apps-script-integration/#why-google-apps-script-needs-a-static-ip"
  },"637": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "Set up the relay",
    "content": "The relay is a small function you own that forwards a request through QuotaGuard Static and returns the response. It reads two headers from the incoming request: . | X-Relay-Key: a shared secret you set, so only your script can use the relay | X-Target-URL: the real API URL you want to reach | . It forwards the request through the QUOTAGUARDSTATIC_URL connection in its own environment, so the target API sees your two static IPs. You do not need to write this from scratch. Use the ready-to-run example and the reusable pattern doc: . | Ready-to-run relay (Python, AWS Lambda): github.com/quotaguard/static-examples/tree/main/python/lambda-relay | Ready-to-run relay (Python, Google Cloud Run functions): github.com/quotaguard/static-examples/tree/main/python/gcf-relay | The full pattern, including a Google Cloud Function variant, environment setup, and hardening notes: Static IPs when you cannot set an HTTP proxy | . Deploy the relay, set its QUOTAGUARDSTATIC_URL to the value from your QuotaGuard dashboard, set a strong X-Relay-Key secret, and note the deployed function URL. The rest of this guide is the Google Apps Script side. ",
    "url": "/docs/platforms/google-apps-script-integration/#set-up-the-relay",
    "relUrl": "/docs/platforms/google-apps-script-integration/#set-up-the-relay"
  },"638": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "Call the relay from Google Apps Script",
    "content": "Point UrlFetchApp.fetch() at your relay URL and pass the two headers. The X-Target-URL header carries the API you actually want to reach. function callThroughRelay() { var props = PropertiesService.getScriptProperties(); var RELAY_URL = props.getProperty('RELAY_URL'); var RELAY_KEY = props.getProperty('RELAY_KEY'); var response = UrlFetchApp.fetch(RELAY_URL, { method: 'get', headers: { 'X-Relay-Key': RELAY_KEY, 'X-Target-URL': 'https://api.partner.com/v1/orders' }, muteHttpExceptions: true }); Logger.log(response.getResponseCode()); Logger.log(response.getContentText()); } . Store the relay URL and key in Script Properties (Project Settings &gt; Script Properties), not inline in your code. PropertiesService.getScriptProperties() reads them at runtime and keeps the secret out of your source. For a POST that sends a JSON body to the target API, pass the body as payload and set the content type. The relay forwards the method, headers, and body to the X-Target-URL: . function postThroughRelay() { var props = PropertiesService.getScriptProperties(); var RELAY_URL = props.getProperty('RELAY_URL'); var RELAY_KEY = props.getProperty('RELAY_KEY'); var body = { reference: 'INV-2043', amount: 4999 }; var response = UrlFetchApp.fetch(RELAY_URL, { method: 'post', contentType: 'application/json', headers: { 'X-Relay-Key': RELAY_KEY, 'X-Target-URL': 'https://api.partner.com/v1/charges' }, payload: JSON.stringify(body), muteHttpExceptions: true }); Logger.log(response.getResponseCode()); Logger.log(response.getContentText()); } . If the target API needs its own auth header (a bearer token or API key), add it to the headers map alongside the two relay headers. The example relay forwards the Content-Type, Accept, and Authorization headers to the target. To send any other header, prefix it with X-Fwd-: a header named X-Fwd-X-Api-Key reaches the target as X-Api-Key. ",
    "url": "/docs/platforms/google-apps-script-integration/#call-the-relay-from-google-apps-script",
    "relUrl": "/docs/platforms/google-apps-script-integration/#call-the-relay-from-google-apps-script"
  },"639": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "Test that traffic exits from your static IPs",
    "content": "QuotaGuard runs an IP check endpoint at https://ip.quotaguard.com that returns the source IP it saw. Point X-Target-URL at it and read the response. function testStaticIp() { var props = PropertiesService.getScriptProperties(); var response = UrlFetchApp.fetch(props.getProperty('RELAY_URL'), { method: 'get', headers: { 'X-Relay-Key': props.getProperty('RELAY_KEY'), 'X-Target-URL': 'https://ip.quotaguard.com' }, muteHttpExceptions: true }); Logger.log(response.getContentText()); } . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match one of the two static IPs in your QuotaGuard dashboard. Run the function a few times. Because the two IPs are load balanced, repeated calls will show both addresses. Allowlist both on every destination that gates by IP. ",
    "url": "/docs/platforms/google-apps-script-integration/#test-that-traffic-exits-from-your-static-ips",
    "relUrl": "/docs/platforms/google-apps-script-integration/#test-that-traffic-exits-from-your-static-ips"
  },"640": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "Troubleshooting",
    "content": "403 or “invalid relay key” from the relay. The X-Relay-Key your script sends does not match the secret configured on the relay. Confirm the value in Script Properties matches the relay’s environment exactly, with no trailing whitespace. Rotate the secret on both sides if you are unsure. Returned IP is a Google address, not a QuotaGuard IP. The request reached the target directly instead of going through the relay. Check that RELAY_URL points at your deployed relay and not at the target API, and that the relay itself has QUOTAGUARDSTATIC_URL set. A relay with no QuotaGuard connection egresses from its own host IP. The target still rejects the request after you see a QuotaGuard IP. Only one of the two static IPs has been allowlisted on the destination. Add both IPs from your dashboard. The load balancer will use either one. Address unavailable or a timeout from UrlFetchApp.fetch(). The relay URL is unreachable or slow. Verify the function is deployed and reachable from Apps Script. Apps Script waits up to the timeoutSeconds value (default 360). Set a lower timeoutSeconds if you want faster failures during testing. Exception: Request failed ... returned code 502 or 504. The relay reached QuotaGuard but the upstream target errored or timed out. Add muteHttpExceptions: true and log getResponseCode() and getContentText() to see the body the relay returned, then check the relay’s own logs. Secret not loading at runtime. PropertiesService.getScriptProperties().getProperty(...) returns null when the property name does not exist. Property names are case sensitive. Confirm the keys in Project Settings &gt; Script Properties match the strings in your code. ",
    "url": "/docs/platforms/google-apps-script-integration/#troubleshooting",
    "relUrl": "/docs/platforms/google-apps-script-integration/#troubleshooting"
  },"641": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "Static is the right product for standard HTTPS API calls from Google Apps Script. The HTTPS payload is tunneled end to end and is never decrypted at the proxy. Choose Shield only when the workload handles regulated data (HIPAA, PCI-DSS, SOC 2) or the environment requires TLS on every hop between your relay and the proxy. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month (direct) | $29/month (direct) | . Static is right for most Google Apps Script integrations. Choose Shield if the workload handles regulated data or the environment requires TLS between your relay and the proxy itself. ",
    "url": "/docs/platforms/google-apps-script-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/google-apps-script-integration/#quotaguard-static-vs-quotaguard-shield"
  },"642": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Static IPs when you cannot set an HTTP proxy . Contact Support . ",
    "url": "/docs/platforms/google-apps-script-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/google-apps-script-integration/#ready-to-get-started"
  },"643": {
    "doc": "QuotaGuard and Google Apps Script Integration Guide",
    "title": "QuotaGuard and Google Apps Script Integration Guide",
    "content": "Google Apps Script runs your UrlFetchApp.fetch() calls from Google’s shared infrastructure, so the source IP a partner API sees is not fixed and cannot be allowlisted. This guide gives those calls two static IP addresses. You deploy a small relay function that egresses through QuotaGuard, then point your script at the relay with two headers. Every request then exits from one of the two static IPs assigned to your QuotaGuard subscription. ",
    "url": "/docs/platforms/google-apps-script-integration/",
    "relUrl": "/docs/platforms/google-apps-script-integration/"
  },"644": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Guided setup (Quickstart): verify one Hermes execution route",
    "content": "Use your existing Hermes installation and QuotaGuard subscription, Python 3 and curl on the requesting runtime. No new provider key, destination account or API token is needed for the public IP check. Choose Static (http://, port 9293) or Shield (https://, port 9294); curl must support the selected proxy transport. The Ruby reference below remains Static-only. ",
    "url": "/docs/automation/hermes-integration/#quickstart-verify-one-hermes-execution-route",
    "relUrl": "/docs/automation/hermes-integration/#quickstart-verify-one-hermes-execution-route"
  },"645": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "1. Supply the selected subscription and both IPs",
    "content": "From Setup → Outbound connection information, have your approved secret workflow supply QG_PRODUCT=static and QUOTAGUARDSTATIC_URL, or QG_PRODUCT=shield and QUOTAGUARDSHIELD_URL. Supply QG_EXPECTED_IPS as the two assigned IPv4 addresses separated by a comma, without /32. Copy the complete assigned URL; do not change its scheme or use your QuotaGuard account password. Keep credentials out of prompts, command arguments, repositories and logs. ",
    "url": "/docs/automation/hermes-integration/#1-supply-the-selected-subscription-and-both-ips",
    "relUrl": "/docs/automation/hermes-integration/#1-supply-the-selected-subscription-and-both-ips"
  },"646": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "2. Configure the actual gateway or terminal runtime before testing",
    "content": "For gateway-owned connections, run hermes config env-path for the intended profile and use that profile/service’s private secret mechanism. Proxy-aware gateway clients need all six HTTP/HTTPS/ALL_PROXY names in upper and lowercase set to the selected URL, plus consistent NO_PROXY/no_proxy values that do not bypass protected hosts. Use actual values injected securely; .env shell-style references are not assumed to expand. Preserve existing profile configuration and required variables. For the terminal-tool check below, merge this names-only list into the selected profile’s existing terminal mapping in config.yaml. Retain any required existing env_passthrough entries; do not replace the whole config. Values supplied only through the profile’s private environment need this explicit terminal declaration: . terminal: env_passthrough: - QG_PRODUCT - QUOTAGUARDSTATIC_URL - QG_EXPECTED_IPS . For Shield, replace the QUOTAGUARDSTATIC_URL list entry with QUOTAGUARDSHIELD_URL. Supply the matching values through the same profile’s private secret mechanism. check-curl.py selects its proxy explicitly, so it does not need the six standard proxy aliases passed to the terminal. The list forwards selected values to terminal commands; it does not set the gateway proxy or MCP subprocess environment. MCP entries use their own env mapping. Restart the Hermes process serving this profile after changing the list; use the Gateway restart guidance below where applicable. See Hermes environment passthrough. If the gateway is already running, update its real launch/service environment and restart it (hermes gateway restart for the existing managed gateway) before reconnecting with hermes chat. A chat-client export alone does not update it. For a process you start directly, save launch-hermes.py and qg_client.py beside each other and use python3 launch-hermes.py hermes chat; it sets aliases on its child, not an existing gateway. For a Docker/SSH/cloud terminal backend, inject the subscription and pair into that runtime using its approved controls. Confirm its policy permits DNS and access to the assigned proxy and HTTPS IP-check endpoint. These helpers select QuotaGuard explicitly; do not overwrite iron-proxy or another runtime’s injected proxy/CA controls to force them through. Use an approved compatible route instead. The gateway reference and terminal-runtime reference retain the detailed distinctions. ",
    "url": "/docs/automation/hermes-integration/#2-configure-the-actual-gateway-or-terminal-runtime-before-testing",
    "relUrl": "/docs/automation/hermes-integration/#2-configure-the-actual-gateway-or-terminal-runtime-before-testing"
  },"647": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "3. Run the check in the requesting runtime",
    "content": "Save and review check-curl.py there. Run it through Hermes’s terminal tool if that is the route you intend to verify, with the required values already injected: . python3 check-curl.py proxy . ",
    "url": "/docs/automation/hermes-integration/#3-run-the-check-in-the-requesting-runtime",
    "relUrl": "/docs/automation/hermes-integration/#3-run-the-check-in-the-requesting-runtime"
  },"648": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "4. Confirm the first success",
    "content": "{\"client\": \"curl\", \"route\": \"proxy\", \"http_status\": 200, \"matches_dashboard_pair\": true} . Success requires HTTP 200, exit 0 and an IP matching either assigned address. The helper compares the response privately and sends no destination bearer token. Alternation is not required. This verifies that runtime’s curl request, not the gateway’s MCP/provider route or another client. A direct baseline is optional only where direct access is permitted. For remote MCP or a local stdio tool’s onward API request, use the corresponding reference below to configure and verify that separate hop. ",
    "url": "/docs/automation/hermes-integration/#4-confirm-the-first-success",
    "relUrl": "/docs/automation/hermes-integration/#4-confirm-the-first-success"
  },"649": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "QuotaGuard Shield: terminal-client setup",
    "content": "Use the quickstart’s explicit curl client with the Shield subscription’s assigned https:// URL on port 9294. Keep proxy and destination TLS verification enabled and use an HTTPS-proxy-capable curl build on the requesting runtime. | Through that runtime’s trusted secret mechanism, supply QG_PRODUCT=shield, QUOTAGUARDSHIELD_URL and QG_EXPECTED_IPS containing both Shield IPv4 addresses separated by a comma. | For a Hermes terminal-tool request, merge QG_PRODUCT, QUOTAGUARDSHIELD_URL and QG_EXPECTED_IPS into the intended profile’s existing terminal.env_passthrough list, as described in quickstart step 2. Restart the Hermes process serving that profile. A remote/container backend needs the values and permitted DNS/access on that execution host. | Save check-curl.py there and run python3 check-curl.py proxy through the intended terminal tool. Require exit 0, http_status: 200 and matches_dashboard_pair: true. The helper sends no destination bearer token. | . This explicit client selects Shield directly. Gateway-owned requests instead use the gateway launch/service configuration; MCP entries use their own environment and compatible client. Do not replace iron-proxy or another policy-injected route. The Ruby example remains Static-only. ",
    "url": "/docs/automation/hermes-integration/#quotaguard-shield-terminal-client-setup",
    "relUrl": "/docs/automation/hermes-integration/#quotaguard-shield-terminal-client-setup"
  },"650": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Programmatic setup and reference: connection details, gateway and clients",
    "content": "The ordered quickstart above covers the first IP check. The full setup, illustrations and client examples follow for other supported routes. ",
    "url": "/docs/automation/hermes-integration/#reference-connection-details-gateway-and-clients",
    "relUrl": "/docs/automation/hermes-integration/#reference-connection-details-gateway-and-clients"
  },"651": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Reference requirements",
    "content": ". | An existing QuotaGuard Static or Shield subscription. | Python 3 and curl. | An existing Hermes installation. | . The public IP-check endpoint requires no extra account or API token. Keep HTTPS certificate verification enabled throughout. ",
    "url": "/docs/automation/hermes-integration/#reference-requirements",
    "relUrl": "/docs/automation/hermes-integration/#reference-requirements"
  },"652": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Connection and runtime setup",
    "content": " ",
    "url": "/docs/automation/hermes-integration/#connection-and-runtime-setup",
    "relUrl": "/docs/automation/hermes-integration/#connection-and-runtime-setup"
  },"653": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Find your proxy URL and both assigned IP addresses",
    "content": ". | Select the correct Static or Shield subscription in your QuotaGuard dashboard. If you have more than one subscription, use the selector in the upper-right corner. See the dashboard navigation guide. | Open Setup → Outbound Proxy → Connection Information. This page contains the proxy username, proxy password, host, connection URLs, and assigned IP addresses. See where to find your proxy credentials and connection URL. | Copy the full proxy connection URL and both IPv4 addresses for that subscription. Store the URL in your runtime’s secret manager or private environment file. Use the subscription’s proxy credentials, not your QuotaGuard account login password. | . Set these values in the environment where you will run the commands: . | Variable | Value to supply | . | QG_PRODUCT | static, or shield for your Shield subscription | . | QUOTAGUARDSTATIC_URL | Your full Static connection URL, if using Static | . | QUOTAGUARDSHIELD_URL | Your full Shield connection URL, if using Shield | . | QG_EXPECTED_IPS | Both assigned dashboard IPv4 addresses, comma-separated, with no /32 suffix here | . Static uses an http:// proxy URL on port 9293. Shield uses an https:// proxy URL on port 9294. Copy your region-specific connection; do not substitute a hostname from another subscription or change the scheme to match the destination’s HTTPS URL. See where to find your connection details. If a protected service has an IP allowlist, add both dashboard IPs there, as individual addresses or two /32 entries according to that service’s format. Do not resolve the proxy hostname to discover allowlist addresses. The public IP-check endpoint itself needs no allowlist. Why both IP addresses must be allowlisted. Figure 1. Connection and IP-pair checklist. Illustration, not a dashboard capture. These are redacted, annotated dashboard captures. Use your own subscription’s current connection URL and both assigned IPs. The numbered markers identify connection information, both IP addresses, and the connection test. QuotaGuard Static. Redacted, annotated dashboard capture. Open the image for full size; supply your own subscription’s values. QuotaGuard Shield. Redacted, annotated dashboard capture. Open the image for full size; supply your own subscription’s values. ",
    "url": "/docs/automation/hermes-integration/#find-your-proxy-url-and-both-assigned-ip-addresses",
    "relUrl": "/docs/automation/hermes-integration/#find-your-proxy-url-and-both-assigned-ip-addresses"
  },"654": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Check an explicit curl route",
    "content": "Save the complete helper below as check-curl.py. It needs only Python’s standard library and curl. The proxy connection is passed to curl through stdin, with curl’s URL globbing disabled and no retries or redirects. check-curl.py . \"\"\"One direct OR one explicit proxy request; proxy secret is sent via stdin, not argv.\"\"\" import ipaddress import json import os import subprocess import sys from urllib.parse import urlsplit def connection(): product = os.environ.get(\"QG_PRODUCT\", \"static\").lower() if product not in (\"static\", \"shield\"): raise ValueError(\"QG_PRODUCT must be static or shield\") shield = product == \"shield\" key = \"QUOTAGUARDSHIELD_URL\" if shield else \"QUOTAGUARDSTATIC_URL\" raw = os.environ.get(key, \"\") u = urlsplit(raw) if not (u.scheme == (\"https\" if shield else \"http\") and u.port == (9294 if shield else 9293) and u.hostname and u.username and u.password and not u.query and not u.fragment and u.path in (\"\", \"/\")): raise ValueError(\"Invalid dashboard proxy connection\") return raw def config(mode): if mode == 'direct': return 'proxy = \"\"\\nnoproxy = \"*\"\\n' value = connection() if any(ord(c) &lt; 32 or ord(c) == 127 for c in value): raise ValueError('Invalid proxy connection') value = value.replace('\\\\', '\\\\\\\\').replace('\"', '\\\\\"') return 'proxy = \"' + value + '\"\\nnoproxy = \"\"\\n' def run(mode): if mode not in ('direct', 'proxy'): raise ValueError('Choose direct or proxy') pair = [str(ipaddress.IPv4Address(x.strip())) for x in os.environ.get('QG_EXPECTED_IPS', '').split(',')] if len(set(pair)) != 2 or len(pair) != 2: raise ValueError('Two dashboard IPv4 addresses required') r = subprocess.run(['curl', '-q', '--config', '-', '--globoff', '--silent', '--fail', '--connect-timeout', '10', '--max-time', '30', '--write-out', '\\nQG_HTTP %{http_code}\\n', '--url', 'https://ip.quotaguard.com'], input=config(mode), capture_output=True, text=True, check=True) body, marker, status = r.stdout.rpartition('\\nQG_HTTP ') if not marker or status.strip() != '200': raise RuntimeError('IP check did not return HTTP 200') observed = str(ipaddress.IPv4Address(json.loads(body)['ip'])) matches = observed in pair if mode == 'proxy' and not matches: raise RuntimeError('Wrong proxy egress') return {'client': 'curl', 'route': mode, 'http_status': 200, 'matches_dashboard_pair': matches} if __name__ == '__main__': try: print(json.dumps(run(sys.argv[1] if len(sys.argv) &gt; 1 else 'proxy'))) except subprocess.CalledProcessError as error: hints = {5: 'Proxy DNS failed; check assigned hostname and permitted DNS route.', 7: 'Connection failed; check host/port, reachability and runtime policy.', 22: 'HTTP error; proxy or destination may have rejected the request.', 56: 'Receive/CONNECT failure; check authentication, policy and client compatibility.'} hint = hints.get(error.returncode, 'Check the selected client, TLS trust and permitted route.') raise SystemExit(f'curl exit {error.returncode}: {hint}') from None except (ValueError, KeyError): raise SystemExit('Check product, assigned connection and both dashboard IPv4 addresses; IP response must be valid JSON.') from None except OSError: raise SystemExit('curl could not start; check that it is installed in this execution runtime.') from None except Exception: raise SystemExit('IP check failed: require HTTP 200 and a dashboard-pair IP; review the selected route.') from None . Run the proxy check once. The direct baseline is optional and only for a runtime whose policy permits it; neither mode is a workaround for a managed proxy restriction: . python3 check-curl.py proxy # Optional permitted direct baseline: python3 check-curl.py direct . Expected summary for a host whose direct route is outside your QuotaGuard pair: . {\"client\": \"curl\", \"route\": \"direct\", \"http_status\": 200, \"matches_dashboard_pair\": false} {\"client\": \"curl\", \"route\": \"proxy\", \"http_status\": 200, \"matches_dashboard_pair\": true} . The endpoint returns JSON shaped as {\"ip\":\"&lt;observed IPv4 address&gt;\"}; the helper compares it privately with the two dashboard addresses. A direct route can already match if your network has another configured egress path. A successful proxy check must match either dashboard IP, and repeated checks need not alternate between them. This result verifies this curl client’s route; use the corresponding client check below for your MCP server or other runtime. Figure 2. Expected public IP-check workflow. Illustrative output. ",
    "url": "/docs/automation/hermes-integration/#check-an-explicit-curl-route",
    "relUrl": "/docs/automation/hermes-integration/#check-an-explicit-curl-route"
  },"655": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Set consistent proxy variables for the gateway",
    "content": "For Static, set these variables in the environment that starts your profile’s gateway. If a gateway is already running, complete the persistence and restart steps before running hermes chat. Current hermes chat attaches to the profile gateway; changing only the chat client’s shell does not reconfigure that gateway. Hermes CLI and gateway architecture . export HTTP_PROXY=\"$QUOTAGUARDSTATIC_URL\" export HTTPS_PROXY=\"$QUOTAGUARDSTATIC_URL\" export ALL_PROXY=\"$QUOTAGUARDSTATIC_URL\" export http_proxy=\"$QUOTAGUARDSTATIC_URL\" export https_proxy=\"$QUOTAGUARDSTATIC_URL\" export all_proxy=\"$QUOTAGUARDSTATIC_URL\" export NO_PROXY='localhost,127.0.0.1,::1' export no_proxy=\"$NO_PROXY\" hermes chat . For Shield, use QUOTAGUARDSHIELD_URL in all six proxy assignments instead. HTTPS_PROXY describes the destination protocol; its value is still the exact dashboard proxy URL, including http:// for Static and https:// for Shield. Harmonizing upper- and lowercase variables avoids different clients selecting different connections. When present in the gateway that opens the connection, these variables configure Hermes’s documented HTTP/SSE MCP proxy route. Clients that recognize these variables can also use them, but custom HTTP clients, provider SDKs and remote execution environments have their own configuration. A matching NO_PROXY entry deliberately bypasses the proxy; keep protected destinations out of it. Hermes also bypasses loopback MCP endpoints. Hermes remote MCP proxy behavior . ",
    "url": "/docs/automation/hermes-integration/#set-consistent-proxy-variables-for-the-gateway",
    "relUrl": "/docs/automation/hermes-integration/#set-consistent-proxy-variables-for-the-gateway"
  },"656": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Persist the configuration for the correct profile",
    "content": "Run hermes config env-path to locate the active profile’s private environment file. Save the complete proxy variable values there, or inject them through your runtime’s secret manager. Do not assume a .env loader expands shell assignments such as HTTPS_PROXY=$QUOTAGUARDSTATIC_URL; use actual injected values or the launcher below. Keep the file out of source control and restrict its access, for example chmod 600 /actual/path/to/.env on Unix. If multiple profiles share one gateway, configure the proxy in that gateway’s launch or service environment. Proxy settings are process-wide: putting them only in a secondary profile’s .env does not create a separate remote-MCP route. Keep profile-specific MCP endpoint credentials in the corresponding profile. Gateway proxy selection. After changing the proxy environment, restart the actual gateway before reconnecting with hermes chat. For an existing managed gateway, use hermes gateway restart; for another process manager, restart the Hermes service with its configured environment. Use the same selected profile for the environment file, restart, and chat commands. A terminal export or client reconnect does not update an already running gateway. Use /reload-mcp only on a surface that supports it to refresh MCP configuration and tools; it does not replace a gateway restart when startup proxy variables change. Hermes CLI reference, profile configuration . For a process you start directly, this launcher sets the six proxy aliases from the selected subscription connection. Save qg_client.py from the Python client reference beside it. It configures its child and newly started descendants without writing a file or printing the connection. It cannot change a gateway that is already running. launch-hermes.py . \"\"\"Launch a command with consistent proxy variables, without printing their values.\"\"\" import os import sys from qg_client import connection, ConfigurationError def environment(): env = dict(os.environ) proxy = connection() # A deliberate bypass list. Protected destinations must not match it. bypass = env.get('QG_NO_PROXY', 'localhost,127.0.0.1,::1') for name in ('HTTP_PROXY', 'HTTPS_PROXY', 'ALL_PROXY', 'http_proxy', 'https_proxy', 'all_proxy'): env[name] = proxy env['NO_PROXY'] = env['no_proxy'] = bypass return env if __name__ == '__main__': if len(sys.argv) &lt; 2: raise SystemExit('Usage: python launch-hermes.py COMMAND [ARG ...]') try: env = environment() except ConfigurationError: raise SystemExit('Proxy configuration missing or invalid') from None os.execvpe(sys.argv[1], sys.argv[1:], env) . python3 launch-hermes.py hermes chat . The command above can attach to an existing gateway; complete the gateway environment and restart steps first in that case. To use this launcher in a service’s startup command, supply the subscription variables through that service’s secret manager. The launcher does not read Hermes’s .env itself. To select a profile, pass your normal Hermes profile arguments after hermes. Figure 3. Process startup and persistence. Configuration illustration. ",
    "url": "/docs/automation/hermes-integration/#persist-the-configuration-for-the-correct-profile",
    "relUrl": "/docs/automation/hermes-integration/#persist-the-configuration-for-the-correct-profile"
  },"657": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Choose the network hop that needs a fixed IP",
    "content": "Use QuotaGuard at the requesting client, before the destination’s IP check. Hermes can coordinate several machines and clients during one conversation, so the right configuration depends on who opens the connection. | Job | Actual request path | Where QuotaGuard belongs | . | Reach an IP-restricted remote HTTP/SSE MCP server | Hermes host → QuotaGuard → MCP endpoint | Proxy environment of the profile gateway that opens the MCP connection | . | A local stdio MCP tool calls a partner API | Hermes → local stdio IPC → MCP child → QuotaGuard → partner API | Explicit proxy on the child’s HTTP client and required env in its MCP entry | . | A hosted MCP server calls another API | Hermes → MCP service; MCP service → API | On the hosted MCP server’s outbound client; requires control of that server | . | Run curl or a script in a terminal backend | Actual terminal runtime → QuotaGuard → endpoint | In that local/container/SSH/cloud runtime | . | Send model inference requests | Hermes provider client → selected model backend | The selected provider client’s supported proxy configuration | . | Browse a website | Local or provider-hosted browser → website | Browser-specific proxy configuration at that browser runtime | . | Connect a messaging adapter | Gateway adapter → messaging service | Adapter’s documented proxy configuration | . | Receive an inbound webhook | Sender → QuotaGuard inbound address → your listener | Separate inbound proxy configuration and listener authentication | . A host with an already stable, approved outbound IP may not need another proxy. QuotaGuard is useful when a destination requires source-IP approval and your requesting runtime lacks the stable address or shared subscription identity you need. Hermes itself does not impose a universal IP allowlist, and a source allowlist does not replace API authentication. For an HTTPS destination the path is: . HTTP client → authenticated QuotaGuard proxy → destination TCP port CONNECT tunnel contains client↔destination TLS . With Static the customer-to-proxy connection is plaintext, including proxy authentication and CONNECT metadata; the HTTPS application payload remains encrypted between the client and destination. Shield wraps the proxy connection in an additional TLS layer. Shield terminates that outer layer to authenticate the proxy request; it does not decrypt the inner HTTPS payload. Neither product makes the proxy a private-network VPN or supplies DNS reachability into an arbitrary private service. ",
    "url": "/docs/automation/hermes-integration/#choose-the-network-hop-that-needs-a-fixed-ip",
    "relUrl": "/docs/automation/hermes-integration/#choose-the-network-hop-that-needs-a-fixed-ip"
  },"658": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Remote HTTP and SSE MCP: configure the connection Hermes opens",
    "content": "Give an IP-restricted MCP endpoint a stable source by running Hermes with the proxy environment from the quick start. Merge the server entry into the active profile’s existing mcp_servers mapping in config.yaml; do not replace other entries or append a duplicate mapping key. These are separate from your QuotaGuard proxy credentials. Streamable HTTP configuration . # Merge into the active profile config.yaml. Values are resolved from its environment. mcp_servers: partner_remote: url: \"${PARTNER_MCP_URL}\" headers: Authorization: \"Bearer ${PARTNER_MCP_TOKEN}\" connect_timeout: 30 timeout: 60 . Set PARTNER_MCP_URL and PARTNER_MCP_TOKEN using the endpoint and token provided by your MCP operator. The URL must be the operator’s actual MCP endpoint; a normal JSON REST endpoint is not an MCP server. Hermes resolves ${VAR} references in configured MCP URLs and headers at connection time. Keep real tokens in the profile’s secret mechanism rather than the YAML file. Hermes MCP configuration . After setting your environment, use the documented diagnostic command: . python3 launch-hermes.py hermes mcp test partner_remote . That command makes a real MCP connection when you choose to run it. It checks the MCP protocol and discovery; a read-only tool request confirms the actual operation and authorization needed for your integration. A reachable endpoint or an unauthenticated tool list alone does not establish that a protected tool is authorized. Legacy SSE configuration . # Use only when the operator's MCP endpoint documents the legacy SSE transport. mcp_servers: partner_sse: url: \"${PARTNER_MCP_SSE_URL}\" transport: sse headers: Authorization: \"Bearer ${PARTNER_MCP_TOKEN}\" connect_timeout: 30 timeout: 60 . Use transport: sse only for an endpoint that documents legacy SSE. Keep the operator’s correct SSE URL; changing the transport flag does not convert a REST endpoint into MCP. The same Hermes proxy environment applies. Current Hermes supports Streamable HTTP and legacy SSE; prefer the transport the server publishes. ",
    "url": "/docs/automation/hermes-integration/#remote-http-and-sse-mcp-configure-the-connection-hermes-opens",
    "relUrl": "/docs/automation/hermes-integration/#remote-http-and-sse-mcp-configure-the-connection-hermes-opens"
  },"659": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "OAuth and mTLS keep their own authentication",
    "content": "For an OAuth MCP server, replace the bearer-header configuration with the server’s documented OAuth settings, beginning with auth: oauth. Use hermes mcp login &lt;server&gt; to complete the operator’s supported login flow; the service’s approval and application registration requirements still apply. Proxy credentials authenticate to QuotaGuard, while OAuth authorizes the MCP connection. A browser callback is another hop and does not acquire a fixed public address merely because the MCP client uses an outbound proxy. Hermes supports client_cert and client_key on remote MCP entries when the endpoint requires mTLS. CONNECT carries the client-to-destination TLS handshake through QuotaGuard; the destination still validates the client certificate. Keep certificate verification and client-key protections enabled. mTLS alone does not require Shield; choose Shield when the proxy hop itself requires TLS or your data policy calls for it. ",
    "url": "/docs/automation/hermes-integration/#oauth-and-mtls-keep-their-own-authentication",
    "relUrl": "/docs/automation/hermes-integration/#oauth-and-mtls-keep-their-own-authentication"
  },"660": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Make streaming reconnects part of the client design",
    "content": "QuotaGuard HTTP CONNECT tunnels have a 600-second lifetime cap on Static and Shield. An SSE or streaming HTTP session can therefore reconnect around ten minutes even while data is flowing. Application heartbeats do not extend that cap. Let the MCP client’s reconnect handling recover, and make application operations safe to resume. Avoid automatically replaying a write after a disconnect unless the API supplies idempotency semantics. SOCKS5 has no fixed tunnel lifetime cap, but deploys and failover can still drop a connection. It is a separate client/protocol choice; do not replace a Shield URL with a plaintext SOCKS URL or assume every MCP/SDK installation includes SOCKS dependencies. See HTTP versus SOCKS. Figure 4. Remote MCP and onward API calls are different hops. Architecture illustration. ",
    "url": "/docs/automation/hermes-integration/#make-streaming-reconnects-part-of-the-client-design",
    "relUrl": "/docs/automation/hermes-integration/#make-streaming-reconnects-part-of-the-client-design"
  },"661": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Local stdio MCP: proxy the server’s onward API call",
    "content": "Keep Hermes’s local MCP connection on stdin/stdout and configure the API client inside the MCP server. This is the useful route when the API behind the tool, rather than the MCP listener, has an allowlist. The complete example exposes two small tools: check this server’s egress against the dashboard pair, and read one fixed partner status URL. It accepts no arbitrary target URL from the model, performs no writes, and returns no partner response body. The public check works without a partner account; configure the partner values only if you want the optional second tool. Use Python 3.10 or later. In a separate virtual environment install the following dependencies; these are for the delivered example server, not a request to replace Hermes’s managed dependencies: . httpx==0.28.1 mcp==2.3.0 requests==2.32.5 . python3 -m venv .venv .venv/bin/python -m pip install -r requirements.txt . Save qg_client.py from the Python client reference beside this server: . \"\"\"A small customer-owned stdio MCP server; HTTP requests use qg_client explicitly.\"\"\" from mcp.server import MCPServer from qg_client import check_egress, partner_status mcp = MCPServer('partner-via-quotaguard') @mcp.tool() def verify_partner_client_egress() -&gt; dict: \"\"\"Check whether this server's HTTP client uses the configured dashboard IP pair.\"\"\" try: return check_egress() except Exception: return {'verified': False, 'error': 'Egress check failed; operator review required'} @mcp.tool() def read_partner_status() -&gt; dict: \"\"\"Read the fixed operator-configured partner status endpoint. No writes.\"\"\" try: return partner_status() except Exception: return {'ok': False, 'error': 'Partner request failed; operator review required'} if __name__ == '__main__': mcp.run(transport='stdio') . The server uses the MCP Python SDK’s current MCPServer API. If you maintain a separate SDK v1 server, retain its documented FastMCP setup and apply the same HTTPX proxy configuration to its onward HTTP client. MCP Python SDK . Merge this entry into the active profile’s config.yaml, replacing the executable and script paths: . # Replace absolute paths with your installed Python and the delivered server path. mcp_servers: partner_qg: command: \"/absolute/path/to/.venv/bin/python\" args: [\"/absolute/path/to/partner_mcp.py\"] env: QG_PRODUCT: \"static\" QUOTAGUARDSTATIC_URL: \"${QUOTAGUARDSTATIC_URL}\" QG_EXPECTED_IPS: \"${QG_EXPECTED_IPS}\" PARTNER_STATUS_URL: \"${PARTNER_STATUS_URL}\" PARTNER_API_TOKEN: \"${PARTNER_API_TOKEN}\" tools: include: [verify_partner_client_egress, read_partner_status] . For Shield, set this entry’s QG_PRODUCT to shield and replace the QUOTAGUARDSTATIC_URL entry with QUOTAGUARDSHIELD_URL: \"${QUOTAGUARDSHIELD_URL}\". Pass the matching connection explicitly. Hermes filters a stdio subprocess’s environment; having a variable on the parent process is not enough to assume it reaches every child. Hermes stdio environment behavior . Reload MCP on a surface that supports /reload-mcp, or restart the profile’s gateway after the configuration is available. Then select verify_partner_client_egress. Success returns verified: true and matches_dashboard_pair: true. Only after that, configure the operator’s fixed PARTNER_STATUS_URL and separate bearer PARTNER_API_TOKEN if you need read_partner_status. When a remote MCP provider operates the onward client, ask that provider about its source-IP feature or run your own server. Proxying Hermes’s connection to that provider changes the source address the MCP endpoint sees, not the source address a downstream API sees from the provider’s infrastructure. ",
    "url": "/docs/automation/hermes-integration/#local-stdio-mcp-proxy-the-servers-onward-api-call",
    "relUrl": "/docs/automation/hermes-integration/#local-stdio-mcp-proxy-the-servers-onward-api-call"
  },"662": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Terminal runtimes: put the connection where commands execute",
    "content": "Run the public IP check from the actual terminal backend before moving the partner call there. A laptop shell and a Docker, SSH, Modal, Daytona or Vercel sandbox are different environments. The quick-start variables on the gateway host cannot establish that a remote command inherits them. Hermes documents these backends independently. Hermes terminal tools and backends . For a local runtime, supply the variables to that process and run the same curl helper. Values stored only in the selected profile’s private environment need the terminal.env_passthrough entries from quickstart step 2; existing nonblocked process variables can already be inherited. For an existing remote runtime, use its secret mechanism to supply the selected subscription connection and run the same helper there. If its HTTP library ignores environment variables, attach the proxy explicitly as shown in the client reference below. For SSH passthrough, the remote SSH server must accept the declared names through its AcceptEnv policy; otherwise use the remote runtime’s approved secret mechanism. Docker and cloud backends retain their own environment controls. For generic clients that read standard proxy variables, declare only the exact names they need and supply those values separately. Do not forward unrelated provider credentials. Hermes terminal environment controls . If Hermes itself runs in an existing container, pass variables by name from the runtime environment you configured, for example Docker’s --env QUOTAGUARDSTATIC_URL --env HTTP_PROXY --env HTTPS_PROXY --env NO_PROXY. Supply upper/lowercase aliases as required by the clients you run. Values do not need to appear in the Docker command line. Keep the existing image, volumes, user and startup command; proxy configuration does not require a new account or image. A Hermes-managed terminal container is separate from that host process. Apply the runtime’s documented environment configuration or inject secrets into the executing process; do not assume a generic docker run example configures a container managed by Hermes. ",
    "url": "/docs/automation/hermes-integration/#terminal-runtimes-put-the-connection-where-commands-execute",
    "relUrl": "/docs/automation/hermes-integration/#terminal-runtimes-put-the-connection-where-commands-execute"
  },"663": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Hermes OAuth proxy and iron-proxy serve different jobs",
    "content": "hermes proxy exposes a local OpenAI-compatible endpoint that attaches existing OAuth provider credentials. It is an application-level subscription proxy, not the external authenticated forward proxy connection documented here. Hermes command reference . hermes egress manages iron-proxy credential injection for the Docker terminal backend. Its trusted local CA enables TLS interception so it can replace opaque tokens with real upstream credentials on the host. That differs from QuotaGuard’s CONNECT passthrough, which does not rewrite the destination’s authentication headers. The Hermes documentation says host-process model calls remain outside that Docker injection path and other terminal backends do not receive the same wiring. Hermes iron-proxy architecture . Do not overwrite iron-proxy’s generated proxy/CA environment with QuotaGuard variables. An architecture that needs both credential injection and fixed external egress needs an explicitly supported upstream proxy route at the injection proxy or an appropriate network design. No arbitrary iron-proxy → QuotaGuard chaining setting is established by the cited Hermes documentation. ",
    "url": "/docs/automation/hermes-integration/#hermes-oauth-proxy-and-iron-proxy-serve-different-jobs",
    "relUrl": "/docs/automation/hermes-integration/#hermes-oauth-proxy-and-iron-proxy-serve-different-jobs"
  },"664": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Client reference: route the HTTP call explicitly",
    "content": "Attach the proxy to the HTTP client you use inside a tool, script or customer-owned MCP service. These examples all target the public IP endpoint, so they require no additional destination account. Keep destination API tokens separate when adapting a client to your own API. ",
    "url": "/docs/automation/hermes-integration/#client-reference-route-the-http-call-explicitly",
    "relUrl": "/docs/automation/hermes-integration/#client-reference-route-the-http-call-explicitly"
  },"665": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Python HTTPX and Requests",
    "content": "Save this complete qg_client.py beside the launcher or example server: . \"\"\"Explicit HTTPX client for an existing QuotaGuard subscription; never logs secrets.\"\"\" import ipaddress import os import re from urllib.parse import urlsplit class ConfigurationError(ValueError): pass def connection(): product = os.environ.get('QG_PRODUCT', 'static').lower() names = {'static': ('QUOTAGUARDSTATIC_URL', 'http', 9293), 'shield': ('QUOTAGUARDSHIELD_URL', 'https', 9294)} if product not in names: raise ConfigurationError('QG_PRODUCT must be static or shield') key, scheme, port = names[product] raw = os.environ.get(key, '') try: u = urlsplit(raw) valid = (u.scheme == scheme and u.port == port and u.hostname and u.username and u.password and u.path in ('', '/') and not u.query and not u.fragment) except ValueError: valid = False if not valid: raise ConfigurationError('Missing or invalid dashboard proxy connection') return raw def client(): import httpx return httpx.Client(proxy=connection(), trust_env=False, timeout=httpx.Timeout(30.0, connect=10.0), follow_redirects=False) def check_egress(): pair = [x.strip() for x in os.environ.get('QG_EXPECTED_IPS', '').split(',') if x.strip()] try: if len(pair) != 2 or len(set(pair)) != 2: raise ValueError() pair = {str(ipaddress.IPv4Address(x)) for x in pair} except ValueError: raise ConfigurationError('Set QG_EXPECTED_IPS to the two dashboard IPv4 addresses') from None with client() as c: r = c.get('https://ip.quotaguard.com') r.raise_for_status() if r.status_code != 200: raise RuntimeError('IP check did not return HTTP 200') observed = str(ipaddress.IPv4Address(r.json()['ip'])) if observed not in pair: raise RuntimeError('Observed egress is outside the dashboard pair') return {'verified': True, 'route': 'this HTTPX client', 'matches_dashboard_pair': True} def partner_status(): url = os.environ.get('PARTNER_STATUS_URL', '') u = urlsplit(url) if u.scheme != 'https' or not u.hostname or u.username or u.password or u.fragment or u.query: raise ConfigurationError('Set a fixed HTTPS PARTNER_STATUS_URL without credentials or query') if u.hostname.lower() == 'ip.quotaguard.com': raise ConfigurationError('Use check_egress for the public IP check; do not send a partner token there') token = os.environ.get('PARTNER_API_TOKEN', '') if not re.fullmatch(r'[A-Za-z0-9._~+/-]+=*', token): raise ConfigurationError('Set the partner API bearer token securely') with client() as c: r = c.get(url, headers={'Authorization': 'Bearer ' + token}) r.raise_for_status() # Do not expose response bodies, URLs, tokens or proxy connection details to the model. return {'ok': True, 'http_status': r.status_code} if __name__ == '__main__': try: print(check_egress()) except Exception: raise SystemExit('Egress check failed; review configuration and the troubleshooting table') from None . The client uses httpx.Client(proxy=..., trust_env=False) with explicit timeouts and redirect control. Run python qg_client.py with HTTPX installed to check pair membership through that client. Using trust_env=False prevents an ambient NO_PROXY or inherited proxy from changing this explicit client’s route; certificate verification remains on. Async tools use the same settings on httpx.AsyncClient. HTTPX proxy configuration, environment behavior . Requests uses a different client configuration: . import ipaddress import json import os import requests from qg_client import connection def check(): with requests.Session() as s: s.trust_env = False r = s.get('https://ip.quotaguard.com', proxies={'http': connection(), 'https': connection()}, timeout=(10, 30), allow_redirects=False) r.raise_for_status() return r.json()['ip'] if __name__ == '__main__': try: observed = str(ipaddress.IPv4Address(check())) pair = [str(ipaddress.IPv4Address(x.strip())) for x in os.environ.get('QG_EXPECTED_IPS', '').split(',')] if len(pair) != 2 or len(set(pair)) != 2 or observed not in pair: raise ValueError('Dashboard pair mismatch') print(json.dumps({'client': 'requests', 'matches_dashboard_pair': True})) except Exception: raise SystemExit('Requests proxy check failed') from None . Success prints {\"client\": \"requests\", \"matches_dashboard_pair\": true} after checking the returned IP against QG_EXPECTED_IPS. The proxies mapping covers both destination schemes. Session.trust_env=False prevents inherited environment settings from overriding this explicit route. For custom organization trust roots, configure the approved CA bundle explicitly rather than disabling TLS verification. The example suppresses raw exception text because it can include network details. Requests proxy reference . ",
    "url": "/docs/automation/hermes-integration/#python-httpx-and-requests",
    "relUrl": "/docs/automation/hermes-integration/#python-httpx-and-requests"
  },"666": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Node.js: undici fetch and Axios",
    "content": "Use the dispatcher with the fetch implementation that accepts it. Node’s environment-proxy behavior depends on runtime version and startup options; an explicit dispatcher avoids making a global assumption. Axios requires its own agent; proxy: false prevents Axios from separately interpreting ambient proxy settings on top of that agent. undici ProxyAgent, Axios configuration . // npm install undici https-proxy-agent axios import { ProxyAgent, fetch } from 'undici'; import { HttpsProxyAgent } from 'https-proxy-agent'; import axios from 'axios'; const name = process.env.QG_PRODUCT === 'shield' ? 'QUOTAGUARDSHIELD_URL' : 'QUOTAGUARDSTATIC_URL'; const proxy = process.env[name]; if (!proxy) throw new Error('Dashboard proxy connection is required'); const endpoint = 'https://ip.quotaguard.com'; const pair = new Set((process.env.QG_EXPECTED_IPS || '').split(',').map(x =&gt; x.trim())); function assertIP(data) { if (pair.size !== 2 || pair.has('') || !pair.has(data.ip)) throw new Error('IP outside configured dashboard pair'); } // Choose one client per run so the example makes exactly one request. try { if (process.argv[2] === 'axios') { const agent = new HttpsProxyAgent(proxy); try { const response = await axios.get(endpoint, { httpsAgent: agent, proxy: false, timeout: 30000, maxRedirects: 0 }); assertIP(response.data); } finally { agent.destroy(); } } else { const dispatcher = new ProxyAgent(proxy); try { const response = await fetch(endpoint, { dispatcher, redirect: 'error', signal: AbortSignal.timeout(30000) }); if (!response.ok) throw new Error('IP endpoint rejected the request'); assertIP(await response.json()); } finally { await dispatcher.close(); } } console.log('Selected Node client egress matches dashboard pair'); } catch { console.error('Node proxy check failed; review client configuration'); process.exitCode = 1; } . Run node node-client.mjs for one undici request, or node node-client.mjs axios for one Axios request. The example does not run both clients implicitly. Each needs its packages installed in your own tool project. An agent installed on one HTTP library does not configure every library in that process. ",
    "url": "/docs/automation/hermes-integration/#nodejs-undici-fetch-and-axios",
    "relUrl": "/docs/automation/hermes-integration/#nodejs-undici-fetch-and-axios"
  },"667": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Go net/http",
    "content": "Create a dedicated transport with http.ProxyURL instead of relying on a process-wide default. HTTPS proxy URLs provide the outer TLS connection for Shield. Go HTTP transport . package main import ( \"encoding/json\" \"fmt\" \"net/http\" \"net/url\" \"os\" \"strings\" \"time\" ) func run() error { key := \"QUOTAGUARDSTATIC_URL\" if os.Getenv(\"QG_PRODUCT\") == \"shield\" { key = \"QUOTAGUARDSHIELD_URL\" } proxy, err := url.Parse(os.Getenv(key)) if err != nil || proxy.Host == \"\" || proxy.User == nil { return fmt.Errorf(\"proxy required\") } transport := http.DefaultTransport.(*http.Transport).Clone() transport.Proxy = http.ProxyURL(proxy) defer transport.CloseIdleConnections() c := &amp;http.Client{Transport: transport, Timeout: 30 * time.Second, CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse }} r, err := c.Get(\"https://ip.quotaguard.com\") if err != nil { return fmt.Errorf(\"request failed\") } defer r.Body.Close() if r.StatusCode != 200 { return fmt.Errorf(\"unexpected status\") } var body struct { IP string `json:\"ip\"` } if json.NewDecoder(r.Body).Decode(&amp;body) != nil { return fmt.Errorf(\"invalid JSON\") } pair := strings.Split(os.Getenv(\"QG_EXPECTED_IPS\"), \",\") if len(pair) != 2 || strings.TrimSpace(pair[0]) == strings.TrimSpace(pair[1]) { return fmt.Errorf(\"dashboard pair required\") } if body.IP != strings.TrimSpace(pair[0]) &amp;&amp; body.IP != strings.TrimSpace(pair[1]) { return fmt.Errorf(\"wrong IP\") } return nil } func main() { if run() != nil { fmt.Fprintln(os.Stderr, \"Go proxy check failed\") os.Exit(1) } fmt.Println(\"Go client egress matches dashboard pair\") } . ",
    "url": "/docs/automation/hermes-integration/#go-nethttp",
    "relUrl": "/docs/automation/hermes-integration/#go-nethttp"
  },"668": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Ruby Net::HTTP",
    "content": "This example uses the standard library’s HTTP proxy route for Static, with HTTPS to the destination. Its proxy transport does not supply Shield’s required outer TLS; use an HTTPS-proxy-capable client when your subscription is Shield. Ruby Net::HTTP proxy reference . # Static HTTP forward proxy only. This Net::HTTP example does not add outer TLS for Shield. require 'net/http' require 'uri' require 'json' begin proxy = URI(ENV.fetch('QUOTAGUARDSTATIC_URL')) raise 'Static URL required' unless proxy.scheme == 'http' &amp;&amp; proxy.port == 9293 target = URI('https://ip.quotaguard.com') proxy_class = Net::HTTP::Proxy(proxy.host, proxy.port, URI::DEFAULT_PARSER.unescape(proxy.user), URI::DEFAULT_PARSER.unescape(proxy.password)) http = proxy_class.new(target.host, target.port) http.use_ssl = true http.open_timeout = 10 http.read_timeout = 30 # Avoid Net::HTTP's automatic retry of idempotent requests in this check. http.max_retries = 0 response = http.get(target.request_uri) raise 'HTTP status' unless response.code == '200' ip = JSON.parse(response.body).fetch('ip') pair = ENV.fetch('QG_EXPECTED_IPS').split(',').map(&amp;:strip) raise 'Dashboard pair mismatch' unless pair.uniq.length == 2 &amp;&amp; pair.include?(ip) puts 'Ruby client egress matches dashboard pair' rescue StandardError abort 'Ruby proxy check failed' end . ",
    "url": "/docs/automation/hermes-integration/#ruby-nethttp",
    "relUrl": "/docs/automation/hermes-integration/#ruby-nethttp"
  },"669": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "PHP cURL",
    "content": "Use the complete dashboard URL as CURLOPT_PROXY. Shield requires a libcurl build supporting HTTPS proxy connections; verify that capability in the PHP runtime you deploy. The destination’s TLS verification and the proxy’s TLS verification stay enabled. PHP cURL options . &lt;?php // Requires ext-curl and a libcurl build that supports HTTPS proxies for Shield. try { $key = getenv('QG_PRODUCT') === 'shield' ? 'QUOTAGUARDSHIELD_URL' : 'QUOTAGUARDSTATIC_URL'; $proxy = getenv($key); if (!$proxy) throw new RuntimeException('Proxy required'); $ch = curl_init('https://ip.quotaguard.com'); curl_setopt_array($ch, [CURLOPT_PROXY =&gt; $proxy, CURLOPT_NOPROXY =&gt; '', CURLOPT_RETURNTRANSFER =&gt; true, CURLOPT_FOLLOWLOCATION =&gt; false, CURLOPT_CONNECTTIMEOUT =&gt; 10, CURLOPT_TIMEOUT =&gt; 30]); $raw = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE); curl_close($ch); if ($raw === false || $status !== 200) throw new RuntimeException('Request failed'); $body = json_decode($raw, true, 512, JSON_THROW_ON_ERROR); $pair = array_map('trim', explode(',', getenv('QG_EXPECTED_IPS') ?: '')); if (count(array_unique($pair)) !== 2 || !in_array($body['ip'], $pair, true)) throw new RuntimeException('Wrong IP'); echo \"PHP client egress matches dashboard pair\\n\"; } catch (Throwable $e) { fwrite(STDERR, \"PHP proxy check failed\\n\"); exit(1); } . ",
    "url": "/docs/automation/hermes-integration/#php-curl",
    "relUrl": "/docs/automation/hermes-integration/#php-curl"
  },"670": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "SOCKS5 and QGTunnel for non-HTTP tools",
    "content": "Use a protocol-aware path when a tool connects to PostgreSQL, MySQL, Redis, MongoDB, SSH, SFTP or another raw TCP service. Setting HTTPS_PROXY on a database driver does not turn it into an HTTP client. | Subscription | HTTP proxy | SOCKS transport | . | Static | http://, port 9293 | SOCKS5, port 1080, with the subscription credentials | . | Shield | https://, port 9294 | Secure SOCKS over TLS, port 1081, with the subscription credentials | . Use the dashboard’s region-specific connection details. Static’s 1080 and 9293 ports are not available on Shield. A normal socks5:// client does not automatically provide the TLS wrapper required for Shield Secure SOCKS. Use the documented Secure SOCKS/QGTunnel path for that product. SOCKS quick start, proxy connection details . With a SOCKS-aware driver, configure the driver’s supported proxy fields and keep database TLS, hostname validation and database authentication. With HTTPX, the documented httpx[socks] extra enables a Static SOCKS5 client; supply the Static SOCKS connection on 1080 instead of changing the HTTP quick-start client in place. This is useful for HTTP sessions that need a SOCKS transport, not a substitute for a database driver’s protocol support. ",
    "url": "/docs/automation/hermes-integration/#socks5-and-qgtunnel-for-non-http-tools",
    "relUrl": "/docs/automation/hermes-integration/#socks5-and-qgtunnel-for-non-http-tools"
  },"671": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Run a fixed TCP tool through QGTunnel",
    "content": "QGTunnel opens a local listener and forwards matching connections through QuotaGuard. In your subscription dashboard use Setup (gear icon, top-right) → QGTunnel Configuration → Create a Tunnel. Configure a specific remote service and choose a local port. For an example PostgreSQL service: . | Setting | Example value | . | Remote destination | tcp://db.example.com:5432, replaced by your real reachable database hostname | . | Local port | 15432, an unused local port | . | Transparent | false for this explicit-listener setup | . Set the existing subscription connection through your runtime’s secret manager or private environment file. Install the published QGTunnel package into the tool project, preserving both bin/qgtunnel and vendor/. The documented distribution URL is shown below; downloading or starting it is your operator’s separate runtime step, not required to read this guide. curl --globoff --fail --silent --show-error --location \\ --output qgtunnel.tar.gz \\ --url 'https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz' tar -xzf qgtunnel.tar.gz . Start the actual database client under the wrapper from that project directory: ./bin/qgtunnel psql 'host=db.example.com hostaddr=127.0.0.1 port=15432 sslmode=verify-full' . The explicit listener uses hostaddr=127.0.0.1, while host=db.example.com preserves PostgreSQL’s server-name check. Supply database credentials separately through your approved database secret mechanism. A customer-owned MCP database server can be launched under the same wrapper instead of psql, with its own documented connection parameters. QGTunnel behavior, QGTunnel reference . For a pre-existing Docker tool deployment, preserve the package directories and working directory: . FROM python:3.12-slim WORKDIR /app COPY bin/qgtunnel /app/bin/qgtunnel COPY vendor /app/vendor COPY . /app RUN chmod +x /app/bin/qgtunnel ENTRYPOINT [\"/app/bin/qgtunnel\"] CMD [\"python\", \"database_mcp.py\"] . This is a deployment pattern for your own database MCP application, not a Hermes backend configuration. Install that application’s dependencies as normal, and inject secrets only at runtime. When using transparent mode instead, QGTunnel overrides configured destination hostnames to localhost through its bundled preload library. Launching outside the directory containing bin/ and vendor/, or using a runtime that ignores the preload, can bypass that override. Prefer the explicit listener when your driver can accept separate connection and TLS-hostname parameters. For Shield, follow the product-specific Secure SOCKS/QGTunnel instructions rather than adapting Static’s port or an old guide’s unencrypted tunnel settings. Shield setup . ",
    "url": "/docs/automation/hermes-integration/#run-a-fixed-tcp-tool-through-qgtunnel",
    "relUrl": "/docs/automation/hermes-integration/#run-a-fixed-tcp-tool-through-qgtunnel"
  },"672": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Model backends, browsers and messaging",
    "content": "Keep each route’s identity explicit. The MCP settings above configure MCP connections; they do not establish the networking behavior of every selected model provider or SDK. Apply the selected provider’s documented client/proxy options and verify from that provider client when its endpoint requires a fixed source. In particular, a local OAuth subscription proxy is a local application endpoint, not evidence that the upstream model request uses QuotaGuard. Hermes can use a local browser or a cloud browser provider. The browser’s website requests originate where that browser runs. Proxying the control request to Browserbase, Browser Use or another provider does not configure that provider’s browser egress. Hermes can also use a local sidecar for private/LAN URLs while public URLs use a cloud browser, so one browser session may involve different routes. Choose the provider’s documented proxy support or a browser runtime you control. Hermes browser architecture . Messaging is another client path. Channel-specific settings belong to the corresponding adapter, not to the tool’s HTTP client. Configure an adapter’s supported proxy setting when the messaging connection itself needs fixed egress, then check that adapter’s protocol support before selecting Shield or SOCKS. This does not change the source IP of an MCP tool’s onward API call. An IP proxy controls the connections configured to use it. If your application also needs mandatory egress restrictions, use runtime/network policy for that separate requirement; proxy variables alone do not establish containment. ",
    "url": "/docs/automation/hermes-integration/#model-backends-browsers-and-messaging",
    "relUrl": "/docs/automation/hermes-integration/#model-backends-browsers-and-messaging"
  },"673": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Inbound webhooks and callbacks",
    "content": "Expose a stable inbound address when a sender or firewall needs a fixed destination for your Hermes-facing webhook or customer-owned MCP service. Both QuotaGuard products support inbound configurations, and direct plans include inbound from Starter. Configure the origin/listener, DNS, TLS and application authentication for that inbound route separately. Inbound setup guide . Both products issue a getstatica.com hostname and support a custom-domain CNAME. Static inbound terminates client TLS using the configured certificate; its forwarding hop is encrypted when the forwarding URL uses HTTPS. Shield inbound passes the TLS stream through to the origin using SNI routing. Keep webhook signature validation, callback state checks and MCP authentication on the application. Outbound proxy settings neither create a public listener nor replace those checks. A subscription uses the same two assigned IPs in both directions, but the allowlist meaning differs: for an outbound API the pair is your source; for an inbound webhook it is the destination. A local OAuth loopback listener remains local unless you deliberately configure a supported inbound route. ",
    "url": "/docs/automation/hermes-integration/#inbound-webhooks-and-callbacks",
    "relUrl": "/docs/automation/hermes-integration/#inbound-webhooks-and-callbacks"
  },"674": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Troubleshooting by symptom",
    "content": "| Symptom | Likely cause and next action | . | 407 Proxy Authentication Required | Proxy authentication failed. Confirm the active subscription’s full URL, username/password encoding and product port. This is separate from an API token failure. Do not paste the connection into logs or support messages. | . | Destination 401 or 403 | The API or MCP service may reject credentials, scopes, roles or source policy. Confirm pair membership through the same client, then check the destination’s authentication and both allowlist entries. | . | curl check passes but MCP fails | Different client or process. Check the gateway’s actual startup environment, active profile, endpoint URL, and MCP transport. Use hermes mcp test &lt;name&gt; for protocol diagnostics, but that command opens its own test connection; a successful shell test does not prove that an already running gateway inherited the same route. MCP test implementation | . | Wrong outgoing IP | Inspect upper/lowercase proxy settings, NO_PROXY, OS bypass rules, the actual HTTP library and the actual execution runtime. Explicit-client examples avoid ambient proxy settings. | . | Only one dashboard IP appears | Normal. Assignment is per connection and connections may be reused. Keep both allowlisted; do not require successive checks to alternate. | . | TLS error connecting to Shield | Confirm the https:// proxy scheme on 9294 and a client supporting HTTPS proxies. Update the approved CA trust configuration; do not turn verification off. | . | Connection refused or timeout before proxy authentication | Confirm network access to the dashboard hostname and correct product port from the requesting host. Check host firewall, DNS and remote-runtime environment. Do not replace the hostname with an allowlist IP. | . | Stream disconnects near ten minutes | CONNECT’s 600-second lifetime cap. Reconnect safely or select a supported SOCKS route for a long-lived client. Heartbeats do not extend CONNECT lifetime. | . | Stdio tool lacks the variable | Add the required value through that server entry’s env mapping. Hermes filters child environments; restart/reload the server after config changes. | . | SSE returns 404/405 or MCP initialization fails | Confirm the operator’s exact endpoint and transport. A REST URL is not an MCP endpoint. Change to SSE only when the server documents SSE. | . | OAuth worked once, then gateway tools stop | Reauthorize the expired MCP grant with the documented login command. Background gateway probing does not open an interactive login browser. Proxy auth does not renew an MCP grant. | . | Changed .env, existing daemon behaves the same | Restart the actual daemon with the updated environment. A new terminal export does not mutate a running process. Check the selected profile. | . | Remote browser or terminal shows another IP | Configure the browser/remote runtime’s own supported client route. The local gateway’s environment is a different scope. | . | iron-proxy stops injecting credentials | Restore its generated CA/proxy setup. Do not replace its local proxy variables with an external QG URL or invent an upstream chaining option. | . | QGTunnel resolves configured host normally in transparent mode | The hostname override is not applied. Check project working directory, bundled preload library and runtime compatibility. | . | QGTunnel resolves localhost but connection is refused | The listener is not up or the local port is wrong/in use. Check the configured local listener and wrapper startup. | . | Some destinations fail after a region/product change | The destination allowlists still contain the old pair. Stage both new IPs on every affected destination, update the runtime connection, then retire the old entries after cutover. | . The curl helper prints only a numeric exit and fixed hint on failure; it never echoes raw stderr, connection URLs or error bodies. Codes 5, 7, 22 and 56 narrow the investigation but do not prove a root cause; HTTP status and source-IP evidence must come from the same client/runtime. For support, share the product, client/runtime versions, error category, failing hop and whether the same client’s IP check matched the dashboard pair. Keep proxy URLs, passwords, tokens and raw traces private. QuotaGuard’s dashboard diagnostics can help your authorized operator distinguish a received authentication failure from a connection that never reached the proxy. ",
    "url": "/docs/automation/hermes-integration/#troubleshooting-by-symptom",
    "relUrl": "/docs/automation/hermes-integration/#troubleshooting-by-symptom"
  },"675": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Select Static, Shield and the right address ownership",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | HTTP proxy connection | http:// on 9293 | https:// on 9294 | . | SOCKS transport | SOCKS5 on 1080 | Secure SOCKS over TLS on 1081 | . | Customer-to-proxy hop | Plaintext | TLS encrypted | . | Outbound HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Typical choice | General API/MCP traffic when the plaintext proxy hop meets policy | Regulated data or environments requiring TLS on every network hop | . | Direct Starter price | $19/month | $29/month | . | Direct Enterprise price | $219/month | $269/month | . Direct Starter, Production and Business use shared static IP pairs. Enterprise includes dedicated IPs and proxy resources. If a vendor requires an exclusive source address, confirm that requirement before submitting a shared pair. An IP allowlist is a network control; API tokens, MCP scopes and authorization still apply. Current QuotaGuard pricing . Choose Shield for regulated-data paths or an explicit requirement to encrypt the proxy connection. The selected product is one part of your architecture; HIPAA BAA coverage requires QuotaGuard review and signed documentation. Static and Shield use separate IP pools, so switching products requires registering the new pair. Use a proxy region near the requesting runtime unless your destination or data policy requires another location. Both IPs in the subscription’s pair belong to the selected region. Region moves change the pair; coordinate all destination allowlists and the runtime connection during the supported overlap. Normal failover uses the other assigned address, and existing connections may need to reconnect. ",
    "url": "/docs/automation/hermes-integration/#select-static-shield-and-the-right-address-ownership",
    "relUrl": "/docs/automation/hermes-integration/#select-static-shield-and-the-right-address-ownership"
  },"676": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Continue with your existing subscription",
    "content": "Keep the public IP check as a small smoke check for each client/runtime you add. Then connect your protected MCP endpoint or optional partner tool using the same explicit route and the destination’s separate credentials. Find the broader AI agent static IP guidance, browse Automation guides, or contact QuotaGuard support with the failing hop and sanitized error category. ",
    "url": "/docs/automation/hermes-integration/#continue-with-your-existing-subscription",
    "relUrl": "/docs/automation/hermes-integration/#continue-with-your-existing-subscription"
  },"677": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "Download the complete examples",
    "content": "These files retain the complete source examples shown in this guide. Review them before use and supply your own runtime secrets. Environment templates are downloaded as runtime.env.example; store real values only through your approved private workflow. | check-curl.py | go-client.go | hermes-remote.yaml | hermes-sse.yaml | hermes-stdio.yaml | launch-hermes.py | messaging-static.sh | node-client.mjs | partner_mcp.py | php-client.php | qg_client.py | requests-client.py | requirements.txt | ruby-client.rb | runtime.env.example | . ",
    "url": "/docs/automation/hermes-integration/#download-the-complete-examples",
    "relUrl": "/docs/automation/hermes-integration/#download-the-complete-examples"
  },"678": {
    "doc": "QuotaGuard and Hermes Integration Guide",
    "title": "QuotaGuard and Hermes Integration Guide",
    "content": "Follow these steps to use QuotaGuard with Hermes. ",
    "url": "/docs/automation/hermes-integration/",
    "relUrl": "/docs/automation/hermes-integration/"
  },"679": {
    "doc": "QGTunnel Setup Guide for Heroku and HTTPS",
    "title": "QGTunnel Setup Guide for Heroku and HTTPS",
    "content": "If you’re looking to set up QGTunnel for HTTPS connections on QuotaGuard via Heroku, we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:443 Local Port: 4443 Transparent: true Encrypted: false . This setup assumes that the remote HTTPS server is located at hostname.for.your.server.com and is listening on port 443. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 4443, because port 443 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. You will likely require transparent mode for HTTPS connections, as most certificates are signed by hostname and will require the HTTP request to be bound for that hostname. Encrypted mode is disabled because HTTPS is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . Given the example above, you will now need to connect using the new port number in your URL. For example, if you previously were trying to connect to: . https://hostname.for.your.server.com/some/long/path?var=1&amp;var2=3 . Now you will want to connect to: . https://hostname.for.your.server.com:4443/some/long/path?var=1&amp;var2=3 . Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku HTTPS connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/https-tunneling/heroku-tunnel-setup/",
    "relUrl": "/docs/protocols/https-tunneling/heroku-tunnel-setup/"
  },"680": {
    "doc": "QGTunnel Setup Guide for Heroku and SFTP",
    "title": "QGTunnel Setup Guide for Heroku and SFTP",
    "content": "To setup QGTunnel for QuotaGuard via Heroku and a SFTP connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1: Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2: Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:22 Local Port: 2222 Transparent: true Encrypted: false . This setup assumes that the remote SFTP server is located at hostname.for.your.server.com and is listening on port 22. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2222, because port 22 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled because SFTP is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2222 instead of 22. You can also connect to 127.0.0.1:2222. Without transparent mode, you will want to connect to 127.0.0.1:2222. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku SFTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/sftp/heroku-tunnel-setup/",
    "relUrl": "/docs/protocols/sftp/heroku-tunnel-setup/"
  },"681": {
    "doc": "QGTunnel Setup Guide for Heroku and FTP",
    "title": "QGTunnel Setup Guide for Heroku and FTP",
    "content": "If you’re looking to set up QGTunnel for FTP connections on Heroku, we suggest you go with the SOCKS proxy using our QGTunnel software. Please follow these step-by-step instructions for a secure and reliable connection. Step 1. Download QGTunnel and Save to Root of Your Project . Start by downloading QGTunnel and saving it to the root of your project with the following command: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI, you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:21 Local Port: 2121 Transparent: true Encrypted: false . This setup assumes that the remote FTP server is located at hostname.for.your.server.com and is listening on port 21. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2121, because port 21 is probably in use on the localhost and it is also in the reserved port range (0-1023). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode is disabled in this example. Keep in mind that plain FTP is not encrypted, so credentials and data travel in cleartext. If you are transferring sensitive data, enable Encrypted mode, or use SFTP or FTPS for end-to-end encryption. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2121 instead of 21. You can also connect to 127.0.0.1:2121. Without transparent mode, you will want to connect to 127.0.0.1:2121. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then Heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push Your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT - Download QGTunnel Configuration . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku FTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/ftp/heroku-tunnel-setup/",
    "relUrl": "/docs/protocols/ftp/heroku-tunnel-setup/"
  },"682": {
    "doc": "QGTunnel Setup Guide for Heroku and SMTP",
    "title": "QGTunnel Setup Guide for Heroku and SMTP",
    "content": "To setup QGTunnel for QuotaGuard via Heroku with a SMTP endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1. Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:25 Local Port: 2525 Transparent: true Encrypted: false . This setup assumes that the remote SMTP server is located at hostname.for.your.server.com and is listening on port 25. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 2525, because port 25 is in the reserved port range (0-1023) and may not be accessible on your platform. Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end for protocols that are not encrypted already. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode you will only have to change to connect to port 2525 instead of 25. You can also connect to 127.0.0.1:2525. Without transparent mode, you will want to connect to 127.0.0.1:2525. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku SMTP connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/protocols/smtp/heroku-tunnel-setup/",
    "relUrl": "/docs/protocols/smtp/heroku-tunnel-setup/"
  },"683": {
    "doc": "QGTunnel Setup Guide for Heroku and MySQL",
    "title": "QGTunnel Setup Guide for Heroku and MySQL",
    "content": "To setup QGTunnel for QuotaGuard via Heroku with a MySQL endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1. Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote mysql server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mysql is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku MySQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mysql/heroku-tunnel-setup/",
    "relUrl": "/docs/databases/mysql/heroku-tunnel-setup/"
  },"684": {
    "doc": "QGTunnel Heroku Postgres Database Connection Setup Guide",
    "title": "QGTunnel Heroku Postgres Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard via Heroku with a Postgres (PostgreSQL) endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1. Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:5432 Local Port: 5432 Transparent: true Encrypted: false . This setup assumes that the remote postgresql server is located at hostname.for.your.server.com and is listening on port 5432. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 5432, but if you have another process using 5432, you may have to change it (ie: 5433). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe Postgresql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:5432. Without transparent mode, you will want to connect to 127.0.0.1:5432. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku Postgres connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/postgresql/heroku-tunnel-setup/",
    "relUrl": "/docs/databases/postgresql/heroku-tunnel-setup/"
  },"685": {
    "doc": "QGTunnel Heroku Oracle Database Connection Setup Guide",
    "title": "QGTunnel Heroku Oracle Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard via Heroku for Oracle database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1. Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1521 Local Port: 1521 Transparent: true Encrypted: false . This setup assumes that the remote Oracle database server is located at hostname.for.your.server.com and is listening on port 1521. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1521, but if you have another process using 1521, you may have to change it (ie: 1522). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe oracle database connections are already encrypted but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1521. Without transparent mode, you will want to connect to 127.0.0.1:1521. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku Oracle database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/oracle/heroku-tunnel-setup/",
    "relUrl": "/docs/databases/oracle/heroku-tunnel-setup/"
  },"686": {
    "doc": "QGTunnel Setup Guide for Heroku and MongoDB",
    "title": "QGTunnel Setup Guide for Heroku and MongoDB",
    "content": "To setup QGTunnel for QuotaGuard via Heroku with a MongoDB (Mongo.db) endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instructions to get you started: . Step 1. Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. A Note About Mongodb+Srv URL . If you are connecting with a mongodb+srv URL (eg: mongodb+srv://USERNAME:PASSWORD@cluster0.abc123.mongodb.net/DATABASE?option1=value1) then you can lookup your cluster’s shards here: https://www.whatsmydns.net/dns-lookup/srv-records. Be sure to prepend your cluster address with mongodb._tcp (_eg: _mongodb._tcp.cluster0.abc123.mongodb.net). This will produce the hostnames of your shards (_eg: cluster0-shard-00-00.abc123.mongodb.net, cluster0-shard-00-01.abc123.mongodb.net, and cluster0-shard-00-02.abc123.mongodb.net_). You will then need to create a tunnel for each shard. Copy Remote Destinations: * tcp://cluster0-shard-00-00.abc123.mongodb.net:27017 * tcp://cluster0-shard-00-01.abc123.mongodb.net:27017 ​* tcp://cluster0-shard-00-02.abc123.mongodb.net:27017 Local Port: 27017 Transparent: true Encrypted: false . This setup assumes that the remote mongodb server is listening on port 27017. This is usually the default port. Transparent mode allows QGTunnel to override the DNS for cluster0-shard-00-0X.abc123.mongodb.net to localhost, which redirects traffic to the QGTunnel software. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mongodb is already encrypted, but you should double check. Not using mongodb+srv? . If you are not using a mongodb+srv URL, please let us know what your connection URL looks like and we can help you set that up too. Send us an email at QuotaGuard Support. Step 3: Change Your Code to Connect Through the Tunnel . In most other setups for QGTunnel, you have to change your code at this step, however with transparent mode and matching Local and Remote ports you should not need to change your code. And there was much rejoicing… . Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku MongoDB database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mongodb/heroku-tunnel-setup/",
    "relUrl": "/docs/databases/mongodb/heroku-tunnel-setup/"
  },"687": {
    "doc": "QGTunnel Setup Guide for Heroku and MsSQL",
    "title": "QGTunnel Setup Guide for Heroku and MsSQL",
    "content": "To setup QGTunnel for QuotaGuard via Heroku with a MsSQL endpoint connection, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1. Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:1433 Local Port: 1433 Transparent: true Encrypted: false . This setup assumes that the remote mssql server is located at hostname.for.your.server.com and is listening on port 1433. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 1433, but if you have another process using 1433, you may have to change it (ie: 1434). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe mssql is already encrypted, but you should double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1433. Without transparent mode, you will want to connect to 127.0.0.1:1433. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku MsSQL connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mssql/heroku-tunnel-setup/",
    "relUrl": "/docs/databases/mssql/heroku-tunnel-setup/"
  },"688": {
    "doc": "QGTunnel Heroku MariaDB Database Connection Setup Guide",
    "title": "QGTunnel Heroku MariaDB Database Connection Setup Guide",
    "content": "To setup QGTunnel for QuotaGuard via Heroku for MariaDB database connections, we suggest you go with the SOCKS proxy using our QGTunnel software. Here are some setup instruction to get you started: . Step 1. Download QGTunnel and Save to Root of Your Project . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Using the Heroku CLI you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or if you prefer, you can login from the Heroku dashboard by clicking on QuotaGuard Static on the resources tab of your application. Once you are logged into our dashboard, in the top right menu, go to Setup (Gear Icon), click on QGTunnel Configuration, then “Create a Tunnel”. Fill in the following data: . Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that the remote MariaDB server is located at hostname.for.your.server.com and is listening on port 3306. This is usually the default port. The Local Port is the port number that QGTunnel will listen on. In this example we set it to 3306, but if you have another process using 3306, you may have to change it (ie: 3307). Transparent mode allows QGTunnel to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the tunnel. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MariaDB is already encrypted, but you should always double check. Step 3: Change Your Code to Connect Through the Tunnel . With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:3306. Without transparent mode, you will want to connect to 127.0.0.1:3306. Step 4: Change your Startup Code: . Change the startup code that starts up your application. In Heroku this is done with a Procfile. Basically you just need to prepend your startup code with “bin/qgtunnel”. So for a Procfile that was previously: . web: your-application your arguments . you would now want: . web: bin/qgtunnel your-application your arguments . If you do not have a Procfile, then heroku is using a default setup in place of the Procfile based on the framework or language you are using. You can usually find this information on the Overview tab of the application in Heroku’s dashboard. It is usually under the heading “Dyno Information”. Step 5: Commit and Push your Code . Be sure that the file bin/qgtunnel is added to your repository. If you are using transparent mode, be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. If you are not using transparent mode, you will want to set the environment variable QGTUNNEL_DNSMODE to DISABLED to avoid seeing an error message in your logs. Step 6: Troubleshoot Any Problems . If you have problems, enable the environment variable QGTUNNEL_DEBUG=true and then restart your application while watching the logs. If you can’t figure it out, send QuotaGuard Support the information in the logs. Please redact any sensitive information, including your QuotaGuard connection URL because it contains your password. Step 7: VERY IMPORTANT . After you get everything working, we suggest you download your QGTunnel configuration from our dashboard as a .qgtunnel file and put that in the root of your project. This prevents your project from relying on the QuotaGuard website during startup. Alternatively you can put the contents of the downloaded configuration file in a QGTUNNEL_CONFIG environment variable. By following these steps, you can set up QGTunnel for Heroku MariaDB database connections using QuotaGuard’s Static IP services. If you have any questions or issues, contact QuotaGuard Support for assistance. ",
    "url": "/docs/databases/mariadb/heroku-tunnel-setup/",
    "relUrl": "/docs/databases/mariadb/heroku-tunnel-setup/"
  },"689": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "Pay an open invoice",
    "content": "If a renewal could not be charged automatically and the invoice is still open, you can pay it from Account Management. Your bank may require its authentication step as part of that payment. | Log into your QuotaGuard account and open Account Management. | Under Invoices, open invoices are listed as Payable Invoices. Click View &amp; Pay Invoice on the invoice you want to pay. | The invoice opens on Stripe’s secure payment page in a new tab. Pay with the card on file or enter a card. If your bank displays an authentication prompt, complete it before closing the page. | Wait for Stripe to confirm that the payment succeeded, then refresh Account Management to see the invoice marked as paid. If your service was suspended for that unpaid invoice, payment normally resumes it automatically. If the invoice is paid but service has not resumed, contact QuotaGuard Support. | . Completing the bank’s authentication is one step in making a payment. Wait for the payment result, not just an authentication-success message. If a payment is still processing, contact us before making another attempt. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#pay-an-open-invoice",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#pay-an-open-invoice"
  },"690": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "Approve a new card for automatic renewals",
    "content": "Some cards need bank approval before they can be used for automatic renewals. India-issued cards require an e-mandate for this recurring-payment flow. | In Account Management, click Change Card under Billing Information on File, enter the new card, and click Save Card. | If your bank needs to approve the card, its prompt appears right after you save. Complete it, and QuotaGuard confirms that your bank approved the card for automatic renewals. | If you closed the prompt or your bank declined it, the card is still saved, but Billing Information on File shows the message “Your bank still needs to approve this card for automatic renewals.” Click Confirm card with your bank to run the prompt again. | . If approval is still required, saving the card alone does not finish the setup. Complete the confirmation step, or contact us if it will not complete. You may still need to pay the current open invoice separately. If approval for automatic renewals remains unresolved, later open renewal invoices may also need to be paid manually using the steps in ‘Pay an open invoice’ above. Even after setup succeeds, a later renewal can require another bank approval or fail for a different reason, such as insufficient funds or a card limit. Approval for future use is not a guarantee that every future charge will succeed. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#approve-a-new-card-for-automatic-renewals",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#approve-a-new-card-for-automatic-renewals"
  },"691": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "If the authentication was not completed",
    "content": "If you see a message such as “The cardholder began 3D Secure authentication but has not completed it,” or QuotaGuard reports that your bank did not approve the card, the required security step did not finish. Try again and make sure you complete the bank’s authentication prompt before returning to or closing the QuotaGuard page. If the bank rejects the authentication or you cannot complete its prompt, try another card or contact the card issuer for help with its 3D Secure process. If you completed the bank’s prompt but your QuotaGuard account was not created, contact QuotaGuard Support. Include the email address used to sign up, but do not email your full card number, security code, password, or one-time authentication code. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#if-the-authentication-was-not-completed",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#if-the-authentication-was-not-completed"
  },"692": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "Complete 3D Secure during sign-up",
    "content": ". | Follow the steps in Registering an Account until you reach the Stripe payment form. | Enter your card and billing details, confirm that the selected plan and trial length are correct, and click Start Trial. | If your bank displays an authentication window or redirects you to an authentication page, follow the bank’s instructions. Complete every requested step, such as entering a one-time code or approving the payment in your banking app. | After the bank accepts the authentication, allow the process to return you to QuotaGuard and wait for confirmation that sign-up is complete. | . The authentication screen can look different from the QuotaGuard website because the card-issuing bank controls it. Stripe explains that an authenticated payment proceeds to payment processing; if authentication fails, another payment attempt or payment method is required. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#complete-3d-secure-during-sign-up",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#complete-3d-secure-during-sign-up"
  },"693": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "Paying an invoice and approving future renewals",
    "content": "There are two things to check when a renewal needs your attention: . | Paying the current invoice. Your bank may ask you to complete 3D Secure to approve that payment. | Approving future automatic renewals. Your saved card may also need a separate bank approval for payments made when you are not on the payment page. Stripe calls these off-session payments. For cards issued in India, that approval is an e-mandate. | . Paying an invoice successfully does not, by itself, confirm that the card used for your next renewal has a valid recurring-payment approval. If you pay an invoice with a different card, check your saved card in Account Management as well. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#paying-an-invoice-and-approving-future-renewals",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#paying-an-invoice-and-approving-future-renewals"
  },"694": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "A note for cards issued in India",
    "content": "For India-issued cards, an e-mandate records your bank-approved permission for recurring charges, including the amount and frequency. Complete the full bank prompt when setting up or confirming your card. A mandate reference alone does not establish that approval is active. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#a-note-for-cards-issued-in-india",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#a-note-for-cards-issued-in-india"
  },"695": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "Why a renewal may still need your approval",
    "content": "Under Stripe’s documented India card-payment flow, additional authentication is required when a charge exceeds INR 15,000, or its equivalent in another currency, or the mandate’s maximum amount, whichever limit is lower. An active mandate therefore does not always remove the need to approve each renewal. Changing your card, plan amount, or billing frequency can affect the approval needed. Contact us if renewals keep asking for authentication after a change. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#why-a-renewal-may-still-need-your-approval",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#why-a-renewal-may-still-need-your-approval"
  },"696": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "Why a payment may remain processing",
    "content": "Stripe waits 26 hours before collecting an applicable off-session card payment so the required pre-debit notification can be delivered. The bank’s pre-debit notification may include a link to approve the payment. If the bank’s notification requests approval, complete it by the deadline shown. A processing payment is not yet a successful payment. Contact us if the notification is missing or the status is unclear before trying to pay again. Some banks or cards do not support the required mandate or currency. Support can help distinguish an approval problem from a payment decline. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#why-a-payment-may-remain-processing",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#why-a-payment-may-remain-processing"
  },"697": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "What we can check for you",
    "content": "You do not need a Stripe merchant account or access to our internal dashboard. If you are unsure whether your card is ready for renewals, contact QuotaGuard Support. We can review the payment and card-setup records separately to check: . | Whether the invoice is paid and whether its latest payment failed or is still processing. | Whether the card saved for future renewals is the one you intended to use. | Whether the setup for future payments completed and, where required, whether the corresponding mandate is active. | Whether Stripe reports another bank approval is needed or provides a reason for a failed payment. | . A successful invoice payment and a saved card are useful pieces of information, but we also need to check the recurring setup for the card your subscription will actually use. We cannot complete your bank’s authentication for you or override its decision. When contacting us, include your QuotaGuard account email, the invoice number if available, and the error message you saw. Tell us whether you were paying an invoice, changing a card, or confirming it for renewals. Never send your full card number, security code, banking password, or one-time authentication code. ",
    "url": "/docs/account/billing/how-complete-3d-secure/#what-we-can-check-for-you",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#what-we-can-check-for-you"
  },"698": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "References",
    "content": ". | QuotaGuard: Registering an Account. QuotaGuard’s registration steps, including entering Stripe payment details and clicking Start Trial. | Stripe: 3D Secure authentication. What 3D Secure is and the authentication methods a bank may request. | Stripe: Authenticate with 3D Secure. The bank-controlled authentication flow and possible results. | Stripe: Hosted invoice page. The secure page that View &amp; Pay Invoice opens, including how it handles bank authentication. | Stripe: Setup Intents. Saving and authenticating a payment method for future use, separately from making a charge. | Stripe: India recurring payments. Additional authentication and mandate requirements for recurring payments on India-issued cards. | . ",
    "url": "/docs/account/billing/how-complete-3d-secure/#references",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/#references"
  },"699": {
    "doc": "How to Complete 3D Secure Authentication",
    "title": "How to Complete 3D Secure Authentication",
    "content": "When you sign up for QuotaGuard, pay an invoice, or change your card, your card issuer may require an extra security check called 3D Secure (3DS). This check confirms that you are the legitimate cardholder. It is controlled by your bank, not by QuotaGuard. This guide covers cards billed directly by QuotaGuard through Stripe. If your subscription is billed through Heroku or another platform, use that platform’s billing process for subscription payments. Depending on your bank, the check may ask for a password, a one-time code sent to your phone, or biometric verification. In some cases, the bank can approve the check without asking you to do anything. ",
    "url": "/docs/account/billing/how-complete-3d-secure/",
    "relUrl": "/docs/account/billing/how-complete-3d-secure/"
  },"700": {
    "doc": "What is QGTunnel doing to route our traffic?",
    "title": "What is QGTunnel doing to route our traffic?",
    "content": "This is a sample of a question we have received a few times at Support: . Is QuotaGuard, via the QGTunnel app, acting as middleware that’s intercepting all network IO? If so, is it sending all requests through the proxy or is it only sending a request through the proxy if the remote destination is one of the remote destinations that we have created a tunnel for via the dashboard? . Or, rather, do I need to specifically connect to QuotaGuard with whatever Ruby code I’m using to hit an FTP server? We only need requests to one particular FTP server to go through the proxy. Short Answer: . When you setup the QGTunnel, you are opening up a socket on the localhost that looks like the TCP server on the remote end (FTP, SFTP, whatever). The socket is open on the specified “Local Port” or on the same port of the remote destination if you do not specify it. If you enable transparent mode and use a hostname (not IP address) for the remote destination, then we override the DNS for that hostname to go to localhost. This allows your source code to not change, since the DNS record will resolve to localhost. If you do not enable transparent mode or you are using an IP address, then you need to change your software to point to localhost instead of the final destination. The tunnel then takes all of the traffic it receives and forwards it through our proxies and onto the final destination. If you have more in-depth questions, write us at Support any time. ",
    "url": "/docs/qgtunnel/how-it-works/",
    "relUrl": "/docs/qgtunnel/how-it-works/"
  },"701": {
    "doc": "How Does QuotaGuard Handle Proxying HTTPS connections?",
    "title": "How Does QuotaGuard Handle Proxying HTTPS connections?",
    "content": "We always get a few questions regarding how QuotaGuard handles proxying HTTPS connections.    How does QuotaGuard handle proxying HTTPS connections? .    Is it accurate that Quotaguard Static has HTTPS connections to Heroku? .    If not, that would mean our traffic would be unencrypted between QuotaGuard’s servers and Heroku? . This is one of the main reasons we created QuotaGuard Shield, to assist with this type of security request and solution. The answer depends on the direction of the traffic. Outbound HTTPS (requests from your app to external APIs): QuotaGuard Static and QuotaGuard Shield both carry outbound HTTPS through a blind CONNECT tunnel. Neither product decrypts your payload, and no certificates need to be loaded. The difference is the hop between your app and the proxy: on Static that hop uses the plain HTTP proxy protocol, while Shield encrypts it with TLS. Use Shield for regulated data such as HIPAA or PCI workloads. Inbound HTTPS (traffic arriving at your app through QuotaGuard): there are two options: . | Customers can choose to use QuotaGuard Shield, where inbound TLS passes straight through to your app (SNI passthrough) and you control your own certificates for maximum security. | Customers can use QuotaGuard Static and have their SSL certificates loaded into our proxy servers so that inbound TLS terminates at the proxy and QuotaGuard can support HTTPS for you. | . Adding certificates for QuotaGuard Static is easily configurable in the QuotaGuard dashboard. However, we strongly recommend not sharing your certificates with third-parties (like QuotaGuard) and using QuotaGuard Shield to retain physical possession of your certificates at all times. ",
    "url": "/docs/outbound-proxy/concepts/how-proxying-works/",
    "relUrl": "/docs/outbound-proxy/concepts/how-proxying-works/"
  },"702": {
    "doc": "How Does The Free Trial Work?",
    "title": "Do You Need More Time to Test?",
    "content": "If you need more time to test out the service, just send us a message at Support so we can add more time to your trial. ",
    "url": "/docs/account/free-trial/how-the-free-trial-works/#do-you-need-more-time-to-test",
    "relUrl": "/docs/account/free-trial/how-the-free-trial-works/#do-you-need-more-time-to-test"
  },"703": {
    "doc": "How Does The Free Trial Work?",
    "title": "How to End Free Trial",
    "content": "You can cancel at any time if QuotaGuard isn’t the right service for your use case. If you need to cancel, you can do it in one click by logging into your account and canceling the subscription on our direct service, or on Heroku, on AWS, or on Azure. If you find our service works for your use case, then just “do nothing” and the free trial will convert on its own. There’s nothing else you need to do. Please note: Canceled accounts can not be brought back, you would need to subscribe to a new account with new Static IP’s. ",
    "url": "/docs/account/free-trial/how-the-free-trial-works/#how-to-end-free-trial",
    "relUrl": "/docs/account/free-trial/how-the-free-trial-works/#how-to-end-free-trial"
  },"704": {
    "doc": "How Does The Free Trial Work?",
    "title": "How Does The Free Trial Work?",
    "content": "Registering on behalf of a customer as an automated agent? See Signing Up as an Agent. Note to Heroku Users: Heroku does not have the capability to do a “free trial”, unfortunately. However, because Heroku charges by the second, you can test our Add-on for a few days and it only costs a few pennies. The free trial is just that, a free trial. Starter, Production and Business plans have a 3 day free trial period. Plans on the Enterprise level and above have a 7 day free trial period. ",
    "url": "/docs/account/free-trial/how-the-free-trial-works/",
    "relUrl": "/docs/account/free-trial/how-the-free-trial-works/"
  },"705": {
    "doc": "Choose HTTP / SOCKS5 Proxies for Your Static IP",
    "title": "HTTP vs SOCKS Comparison",
    "content": "The majority of our customers use our HTTP proxy. This allows them to route any HTTP calls via our proxy – including secure requests over HTTPS. HTTP proxies are natively supported in most of the common programming languages, as well as, their HTTP client libraries. This makes it is easy to integrate HTTP proxies within your applications. On the other hand, SOCKS proxies are a little bit more versatile as they operate at a lower OSI level than HTTP proxies. SOCKS proxies can proxy TCP connections to an arbitrary IP addresses. This allows you to proxy higher level protocol interactions like FTP or LDAP. SOCKS is also supported at the socket level in a lot of the major languages. However, most client libraries do not natively support it, which makes it a bit harder to integrate easily in to your application(s). ",
    "url": "/docs/outbound-proxy/concepts/http-vs-socks5-proxy/#http-vs-socks-comparison",
    "relUrl": "/docs/outbound-proxy/concepts/http-vs-socks5-proxy/#http-vs-socks-comparison"
  },"706": {
    "doc": "Choose HTTP / SOCKS5 Proxies for Your Static IP",
    "title": "Recommendation",
    "content": "Due to the ease of integration, if you are accessing an HTTP or HTTPS API, you should probably use our HTTP proxy. If you are using a different protocol, then we recommend that you should switch to using SOCKS proxies. These are some of the more common use cases that we see for each type of proxy: . Common HTTP Use Cases .    Accessing an HTTP API .    Accessing an HTTPS API . Common SOCKS Use Cases .    Accessing an MySQL database .    Accessing an LDAP service .    Transferring files via Secure FTP . Please reach out to Support if you still have questions about which proxy type to chose for your particular use case. ",
    "url": "/docs/outbound-proxy/concepts/http-vs-socks5-proxy/#recommendation",
    "relUrl": "/docs/outbound-proxy/concepts/http-vs-socks5-proxy/#recommendation"
  },"707": {
    "doc": "Choose HTTP / SOCKS5 Proxies for Your Static IP",
    "title": "Choose HTTP / SOCKS5 Proxies for Your Static IP",
    "content": "With every QuotaGuard Static plan, you have the option of using our HTTP or SOCKS5 proxies. This article outlines the differences and what factors should influence your decision between the two proxies. ",
    "url": "/docs/outbound-proxy/concepts/http-vs-socks5-proxy/",
    "relUrl": "/docs/outbound-proxy/concepts/http-vs-socks5-proxy/"
  },"708": {
    "doc": "Getting Started with the httparty Gem",
    "title": "Getting Started with the httparty Gem",
    "content": "HTTParty is a Ruby library for making HTTP requests and integrates easily with QuotaGuard. If you’re looking to make HTTP requests in your Ruby application, the httparty gem is a great tool to have in your toolkit. With httparty, you can easily make GET, POST, PUT, and DELETE requests, as well as handle basic authentication and response parsing. Whether you’re building a web scraper, consuming an API, or just need to make HTTP requests in your Ruby code, the httparty gem can help simplify the process. With great documentation and a strong community, it is a reliable choice for your HTTP needs. The following code snippet will print out one of your Static IP addresses. Copy require 'httparty' proxy = URI(ENV[\"QUOTAGUARDSTATIC_URL\"]) options = { http_proxyaddr: proxy.host, http_proxyport:proxy.port, http_proxyuser:proxy.user, http_proxypass:proxy.password } response = HTTParty.get('https://ip.quotaguard.com/',options) puts response.body, response.code, response.message, response.headers.inspect . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get the right one sent to you. ",
    "url": "/docs/outbound-proxy/ruby/httparty-gem/",
    "relUrl": "/docs/outbound-proxy/ruby/httparty-gem/"
  },"709": {
    "doc": "Initiating httpclient Ruby Gem & QG Static IP’s",
    "title": "Initiating httpclient Ruby Gem & QG Static IP’s",
    "content": "httpclient is a Ruby gem allowing you to execute HTTP commands. You can route these commands easily via a Static IP by integrating with QuotaGuard: . Copy require 'httpclient' quotaguard = URI(ENV[\"QUOTAGUARDSTATIC_URL\"]) proxy_url = quotaguard client = HTTPClient.new(proxy_url) prx_user = quotaguard.user prx_password = quotaguard.password client.set_proxy_auth(prx_user, prx_password) res = client.get(\"http://ip.jsontest.com/\") puts res.body . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get the right one sent to you. ",
    "url": "/docs/outbound-proxy/ruby/httpclient-gem/",
    "relUrl": "/docs/outbound-proxy/ruby/httpclient-gem/"
  },"710": {
    "doc": "Accessing an HTTPS Service from Node.js",
    "title": "Installation",
    "content": "When you sign up with QuotaGuard, you will be provided with a unique username and password and a connection string that you can use when configuring your proxy service in your application, for example: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . All requests that you make via this proxy will appear to the destination server to originate from one of the two static IPs you will be assigned when you sign up. We recommend you store the connection string in an environment variable QUOTAGUARDSTATIC_URL. If you have signed up via the add-ons platform on Heroku this variable will be automatically set in your production environment. ",
    "url": "/docs/outbound-proxy/node-js/https-requests/#installation",
    "relUrl": "/docs/outbound-proxy/node-js/https-requests/#installation"
  },"711": {
    "doc": "Accessing an HTTPS Service from Node.js",
    "title": "Integration",
    "content": "QuotaGuard will work with the standard http library, but we recommend using the https-proxy-agent library for ease of use. Copy var HttpsProxyAgent = require('https-proxy-agent'); var request = require('request'); var proxy = process.env.QUOTAGUARDSTATIC_URL; var agent = new HttpsProxyAgent(proxy); request({ uri: \"https://example.com/api\", method: \"POST\", headers: { 'content-type': 'application/x-www-form-urlencoded' }, agent: agent, timeout: 10000, followRedirect: true, maxRedirects: 10, body: \"name=john\" }, function(error, response, body) { console.log(\"Error\" + error); console.log(\"Response: \" + response); console.log(\"Body: \" + body); }); . ",
    "url": "/docs/outbound-proxy/node-js/https-requests/#integration",
    "relUrl": "/docs/outbound-proxy/node-js/https-requests/#integration"
  },"712": {
    "doc": "Accessing an HTTPS Service from Node.js",
    "title": "Other Libraries",
    "content": "We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/node-js/https-requests/#other-libraries",
    "relUrl": "/docs/outbound-proxy/node-js/https-requests/#other-libraries"
  },"713": {
    "doc": "Accessing an HTTPS Service from Node.js",
    "title": "Accessing an HTTPS Service from Node.js",
    "content": "If you’re looking for a reliable solution to handle HTTP and HTTPS requests in Node.js, the https-proxy-agent is a great option to consider. This agent allows you to route your requests through a proxy server, providing a secure and efficient way to communicate with external APIs or websites. By integrating the https-proxy-agent into your code, you can ensure that your HTTP and HTTPS requests are handled seamlessly. We recommend the https-proxy-agent library for carrying out HTTP operations from Node.js with QuotaGuard. ",
    "url": "/docs/outbound-proxy/node-js/https-requests/",
    "relUrl": "/docs/outbound-proxy/node-js/https-requests/"
  },"714": {
    "doc": "Simple HTTP requests via a Static IP in Java",
    "title": "Simple HTTP requests via a Static IP in Java",
    "content": "This example assumes you have a QuotaGuard Static account and have set the QUOTAGUARDSTATIC_URL variable in your environment with your unique connection string. Copy import java.net.*; import java.io.*; public class HelloWorld { public static void main(String []args) throws IOException { URL proxyUrl = new URL(System.getenv(\"QUOTAGUARDSTATIC_URL\")); String userInfo = proxyUrl.getUserInfo(); String user = userInfo.substring(0, userInfo.indexOf(':')); String password = userInfo.substring(userInfo.indexOf(':') + 1); URLConnection conn = null; System.setProperty(\"http.proxyHost\", proxyUrl.getHost()); System.setProperty(\"http.proxyPort\", Integer.toString(proxyUrl.getPort())); Authenticator.setDefault(new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(user, password.toCharArray()); } }); URL url = new URL(\"http://ip.quotaguard.com\"); conn = url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) System.out.println(inputLine); in.close(); } } . You can check other available proxy related JVM settings here. Please note that JVM disables proxy authentication for HTTPS tunneling by default, as per JDK changelog: . Copy core-libs/java.net Disable Basic authentication for HTTPS tunneling In some environments, certain authentication schemes may be undesirable when proxying HTTPS. Accordingly, the Basic authentication scheme has been deactivated, by default, in the Oracle Java Runtime, by adding Basic to the jdk.http.auth.tunneling.disabledSchemes networking property. Now, proxies requiring Basic authentication when setting up a tunnel for HTTPS will no longer succeed by default. If required, this authentication scheme can be reactivated by removingBasic from the jdk.http.auth.tunneling.disabledSchemes networking property, or by setting a system property of the same name to \"\" ( empty ) on the command line. Additionally, the jdk.http.auth.tunneling.disabledSchemes and jdk.http.auth.proxying.disabledSchemes networking properties, and system properties of the same name, can be used to disable other authentication schemes that may be active when setting up a tunnel for HTTPS, or proxying plain HTTP, respectively. JDK-8160838 (not public) . To enable authentication for HTTPS connections you either can use SOCKS5 proxy or set additional JVM variable: . Copy System.setProperty(\"jdk.http.auth.tunneling.disabledSchemes\", \"\"); . ",
    "url": "/docs/outbound-proxy/java/https-requests/",
    "relUrl": "/docs/outbound-proxy/java/https-requests/"
  },"715": {
    "doc": "Setting up HTTPS with QuotaGuard Static IP's",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/outbound-proxy/https-setup/#getting-help",
    "relUrl": "/docs/outbound-proxy/https-setup/#getting-help"
  },"716": {
    "doc": "Setting up HTTPS with QuotaGuard Static IP's",
    "title": "Setting up HTTPS with QuotaGuard Static IP's",
    "content": "We suggest you go with the SOCKS proxy using our QGTunnel software. Here are the setup instructions to get you started. Step 1. Download QGTunnel and Save to Root of Your Project . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Step 2. Log in to QuotaGuard Dashboard and Create the Tunnel . Login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. Copy Remote Destination: tcp://hostname.for.your.server.com:443 Local Port: 4443 Transparent: true Encrypted: false . This setup assumes that your server is located at “hostname.for.your.server.com” and is listening on port 443 (the default HTTPS port). The Local Port is the port number that QGTunnel will listen on. In this example we set it to 4443, because port 443 is probably in use on the localhost and it is also in the reserved port range (0-1023).     Transparent Mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. You will likely require transparent mode for HTTPS connections, as most certificates are signed by hostname and will require the HTTP request to be bound for that hostname. Encrypted mode is disabled because HTTPS is already encrypted and you will not want to waste your time setting up additional end-to-end encryption. Creating the tunnels in the dashboard is for convenience. Please see the last step (Harden Your Setup) for how to remove this dependency from your system. Step 3. Change Your Code to Connect Through the Tunnel . Given the example above, you will now need to connect using the new port number in your URL. For example, if you previously were trying to connect to: . https ://hostname.for.your.server.com/some/long/path?var=1&amp;amp;var2=3 . Now you will want to connect to: . https://hostname.for.your.server.com:4443/some/long/path?var=1&amp;amp;var2=3 . Step 4. Setup the Environment Variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. Step 5. Commit and Push your Code . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. Step 6. Troubleshoot Any Problems . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. Step 7. VERY IMPORTANT - Download QGTunnel Configuration . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/outbound-proxy/https-setup/",
    "relUrl": "/docs/outbound-proxy/https-setup/"
  },"717": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Keep your application where it runs today",
    "content": "An outbound proxy can be a focused alternative to moving an application or redesigning its entire network. Configure the HTTP requests that need a fixed source address, while leaving unrelated application traffic on its existing path. Use this approach when you control the request-making client and can configure its proxy transport. If your hosting environment already provides an approved stable egress route, that existing route may be sufficient. ",
    "url": "/docs/apis/razorpayx/#keep-your-application-where-it-runs-today",
    "relUrl": "/docs/apis/razorpayx/#keep-your-application-where-it-runs-today"
  },"718": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Include workers and scheduled jobs",
    "content": "A payout workflow often spans more than the web process. The background worker may open the API connection, while a scheduled process handles later reconciliation. Each caller needs the right configuration and a source-IP check from its own deployed environment. A diagnostic run on a developer laptop or a web container does not cover a separate worker. Build the route into the integration’s client factory and reuse it wherever that integration runs. ",
    "url": "/docs/apis/razorpayx/#include-workers-and-scheduled-jobs",
    "relUrl": "/docs/apis/razorpayx/#include-workers-and-scheduled-jobs"
  },"719": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Use the dashboard pair for the destination allowlist",
    "content": "Configure the connection URL supplied by your QuotaGuard subscription, then use both assigned static IPs for the approved destination allowlist. Keep the connection URL private. It is not the value to paste into an IP allowlist, and resolving its hostname is not a substitute for reading your assigned addresses. The connection-details guide and two-address explanation cover these separate configuration values. ",
    "url": "/docs/apis/razorpayx/#use-the-dashboard-pair-for-the-destination-allowlist",
    "relUrl": "/docs/apis/razorpayx/#use-the-dashboard-pair-for-the-destination-allowlist"
  },"720": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Verify routing before financial operations",
    "content": "Use a non-mutating HTTPS source-IP check to establish which address a deployed client uses. Compare it with the assigned pair and repeat from each relevant process after deployment. Keep network verification separate from payout acceptance testing. An observed egress address is evidence about the route, not confirmation of API authorization or transaction processing. Do not create live financial operations as a connectivity probe. ",
    "url": "/docs/apis/razorpayx/#verify-routing-before-financial-operations",
    "relUrl": "/docs/apis/razorpayx/#verify-routing-before-financial-operations"
  },"721": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Choose a route that matches your requirements",
    "content": "Confirm that the destination accepts the proposed addresses, shared or dedicated arrangement, and geographic route for your account. Review the HTTP library or SDK’s proxy support before implementation. QuotaGuard supplies the egress layer; the destination controls access to its API. Shared and dedicated infrastructure serve different requirements. Review the current plans when choosing the arrangement, and confirm any regional requirement before provisioning. ",
    "url": "/docs/apis/razorpayx/#choose-a-route-that-matches-your-requirements",
    "relUrl": "/docs/apis/razorpayx/#choose-a-route-that-matches-your-requirements"
  },"722": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Preserve destination HTTPS",
    "content": "QuotaGuard Static’s HTTPS CONNECT tunnel preserves TLS between your application and the HTTPS destination without decrypting the API payload. The proxy connection itself has its own transport properties, so review those alongside your credential-handling and security requirements. Learn how outbound HTTPS works. ",
    "url": "/docs/apis/razorpayx/#preserve-destination-https",
    "relUrl": "/docs/apis/razorpayx/#preserve-destination-https"
  },"723": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Common questions",
    "content": " ",
    "url": "/docs/apis/razorpayx/#common-questions",
    "relUrl": "/docs/apis/razorpayx/#common-questions"
  },"724": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Does this change my website or webhook address?",
    "content": "No. Explicit outbound client configuration changes the route for those outgoing requests. Your website’s inbound address and a provider’s incoming webhook connection are separate paths. ",
    "url": "/docs/apis/razorpayx/#does-this-change-my-website-or-webhook-address",
    "relUrl": "/docs/apis/razorpayx/#does-this-change-my-website-or-webhook-address"
  },"725": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Will an environment variable configure every SDK?",
    "content": "Only a client that consumes the setting will use it. Configure the actual request-making transport and verify its behavior. Another SDK or background process may need a separate setting or supported transport adapter. ",
    "url": "/docs/apis/razorpayx/#will-an-environment-variable-configure-every-sdk",
    "relUrl": "/docs/apis/razorpayx/#will-an-environment-variable-configure-every-sdk"
  },"726": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Should a failed proxied request retry directly?",
    "content": "No. A direct fallback changes the intended network route. Keep the failure visible and use a controlled recovery plan. Financial requests also need their own retry and reconciliation rules. ",
    "url": "/docs/apis/razorpayx/#should-a-failed-proxied-request-retry-directly",
    "relUrl": "/docs/apis/razorpayx/#should-a-failed-proxied-request-retry-directly"
  },"727": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Does a static IP replace API authentication?",
    "content": "No. Keep the destination’s credentials and permissions in place. IP restrictions and authentication are different controls. ",
    "url": "/docs/apis/razorpayx/#is-the-static-ip-my-api-authentication",
    "relUrl": "/docs/apis/razorpayx/#is-the-static-ip-my-api-authentication"
  },"728": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Plan your outbound path with QuotaGuard",
    "content": "Bring your hosting platform, language, HTTP client or SDK, caller inventory, and destination requirements. We can help you identify where proxy configuration belongs and which QuotaGuard arrangement to evaluate. Talk with QuotaGuard . ",
    "url": "/docs/apis/razorpayx/#plan-your-outbound-path-with-quotaguard",
    "relUrl": "/docs/apis/razorpayx/#plan-your-outbound-path-with-quotaguard"
  },"729": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Guides and examples",
    "content": ". | Quickstart | Troubleshooting | Downloadable examples and reference | . ",
    "url": "/docs/apis/razorpayx/#guides-and-examples",
    "relUrl": "/docs/apis/razorpayx/#guides-and-examples"
  },"730": {
    "doc": "Static Outbound IPs for RazorpayX API Workloads",
    "title": "Static Outbound IPs for RazorpayX API Workloads",
    "content": "Give proxy-compatible application requests a predictable outbound identity with QuotaGuard. Keep your existing cloud hosting, route the selected HTTPS calls through an explicit proxy client, and manage a small, stable egress allowlist. RazorpayX documents live-mode IP restrictions for payout-related APIs. Plan the network path alongside your production launch, rather than discovering that a working development integration uses a different source address in production. Review Razorpay’s requirements. Primary action: Discuss your outbound setup . Secondary action: Explore QuotaGuard Static . ",
    "url": "/docs/apis/razorpayx/",
    "relUrl": "/docs/apis/razorpayx/"
  },"731": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Keep the hosting you already use",
    "content": "You do not need to move the whole application to change how its Brails requests leave the network. A proxy-aware Deno client makes the routing choice explicit at the server-to-server call site. The Brails-specific setup gives your team: . | A stable source-address pair to review for the account’s allowlist. | A narrow route for the calls that need it. | Separate checks for outbound routing and authorized sandbox API access. | Diagnostics that report status without returning wallet data. | A clear handoff to the production application’s HTTP clients and jobs. | . ",
    "url": "/docs/apis/brails/#keep-the-hosting-you-already-use",
    "relUrl": "/docs/apis/brails/#keep-the-hosting-you-already-use"
  },"732": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "A route that matches the account’s source-IP control",
    "content": "Brails provides server-IP allowlisting. When it is enabled for your account, the approved sources belong to the servers calling the API. They are not your customers’ phones or browsers. Hosted Supabase Edge Functions do not offer stable egress IPs. QuotaGuard supplies a managed outbound route for the selected requests: . Supabase Edge Function -&gt; QuotaGuard -&gt; Brails API . Confirm the Brails account accepts your selected egress region and shared or dedicated addresses, then register both assigned IPs in the relevant environment. API authentication remains in place alongside the network restriction. ",
    "url": "/docs/apis/brails/#a-route-that-matches-the-accounts-source-ip-control",
    "relUrl": "/docs/apis/brails/#a-route-that-matches-the-accounts-source-ip-control"
  },"733": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "A practical setup sequence",
    "content": " ",
    "url": "/docs/apis/brails/#a-practical-setup-sequence",
    "relUrl": "/docs/apis/brails/#a-practical-setup-sequence"
  },"734": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "1. Configure the backend",
    "content": "Store the proxy connection URL and expected IP pair as server-side Supabase secrets. Use the complete dashboard URL, including its scheme and port. Keep the Brails sandbox key separate from the proxy credentials. ",
    "url": "/docs/apis/brails/#1-configure-the-backend",
    "relUrl": "/docs/apis/brails/#1-configure-the-backend"
  },"735": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "2. Verify the outbound IP before calling Brails",
    "content": "Call the QuotaGuard IP echo through the selected Deno client. Compare the result against the assigned pair. The Brails helper stops when the route does not match and does not fall back to a direct connection. ",
    "url": "/docs/apis/brails/#2-verify-one-route-before-reading-the-account",
    "relUrl": "/docs/apis/brails/#2-verify-one-route-before-reading-the-account"
  },"736": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "3. Inspect sandbox connectivity privately",
    "content": "An authorized operator can run the helper’s wallet-read mode. It returns an HTTP status and discards the response body. No payout or other financial operation is created by this diagnostic. ",
    "url": "/docs/apis/brails/#3-inspect-sandbox-connectivity-privately",
    "relUrl": "/docs/apis/brails/#3-inspect-sandbox-connectivity-privately"
  },"737": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "4. Cover every Brails client",
    "content": "Apply the intended proxy route to each production call site, SDK transport and job that needs it. A configuration variable or one successful helper call does not configure the rest of an application automatically. ",
    "url": "/docs/apis/brails/#4-cover-every-brails-client",
    "relUrl": "/docs/apis/brails/#4-cover-every-brails-client"
  },"738": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Choose the connection for your security requirements",
    "content": "Static’s HTTP proxy tunnels destination HTTPS. Shield’s HTTPS proxy adds TLS on the application-to-proxy hop, protecting that hop’s proxy authentication and destination metadata. Keep certificate validation enabled and validate the selected transport on your deployed runtime. See how QuotaGuard handles HTTPS. ",
    "url": "/docs/apis/brails/#choose-the-connection-for-your-security-requirements",
    "relUrl": "/docs/apis/brails/#choose-the-connection-for-your-security-requirements"
  },"739": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Frequently asked questions",
    "content": " ",
    "url": "/docs/apis/brails/#frequently-asked-questions",
    "relUrl": "/docs/apis/brails/#frequently-asked-questions"
  },"740": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Does every Brails account require IP allowlisting?",
    "content": "This setup is for an account with the control enabled. Check the account’s policy rather than assuming the same requirement for every integration. ",
    "url": "/docs/apis/brails/#does-every-brails-account-require-ip-allowlisting",
    "relUrl": "/docs/apis/brails/#does-every-brails-account-require-ip-allowlisting"
  },"741": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Does this change incoming Brails webhooks?",
    "content": "No. The configuration shown here controls outbound requests made by your backend. Keep webhook routing and validation in their existing, separately reviewed path. ",
    "url": "/docs/apis/brails/#does-this-change-incoming-brails-webhooks",
    "relUrl": "/docs/apis/brails/#does-this-change-incoming-brails-webhooks"
  },"742": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Does a successful echo prove what Brails saw?",
    "content": "It proves the echo service saw an expected IP for that request. Destination-side evidence is needed to establish the source observed on a Brails request. ",
    "url": "/docs/apis/brails/#does-a-successful-echo-prove-what-brails-saw",
    "relUrl": "/docs/apis/brails/#does-a-successful-echo-prove-what-brails-saw"
  },"743": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Does the wallet check test payouts?",
    "content": "It checks a documented sandbox read and discards its data. Payout behavior and production readiness require their own application checks. ",
    "url": "/docs/apis/brails/#does-the-wallet-check-test-payouts",
    "relUrl": "/docs/apis/brails/#does-the-wallet-check-test-payouts"
  },"744": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Add proxy routing to your existing Brails integration",
    "content": "Use the Supabase platform guide for the base proxy client and the Brails technical guide for account setup, sandbox verification and troubleshooting. Keep the networking change focused on the integration that needs it. ",
    "url": "/docs/apis/brails/#build-the-brails-route-not-a-second-application",
    "relUrl": "/docs/apis/brails/#build-the-brails-route-not-a-second-application"
  },"745": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Guides and examples",
    "content": ". | Technical guide | Quickstart | Troubleshooting | Downloadable examples and reference | . ",
    "url": "/docs/apis/brails/#guides-and-examples",
    "relUrl": "/docs/apis/brails/#guides-and-examples"
  },"746": {
    "doc": "Brails API static egress for Supabase Edge Functions",
    "title": "Brails API static egress for Supabase Edge Functions",
    "content": "Keep your Brails backend on Supabase. Route selected API calls through QuotaGuard so an IP-restricted Brails account can recognize the source addresses you approve. Your frontend, database and unrelated integrations keep their existing paths. Configure the proxy at the Brails HTTP client, then verify the route with a small, operator-only diagnostic. Read the Supabase integration guide . ",
    "url": "/docs/apis/brails/",
    "relUrl": "/docs/apis/brails/"
  },"747": {
    "doc": "Salesforce",
    "title": "Salesforce",
    "content": "These guides cover the Salesforce IP allowlists that QuotaGuard Static IPs help you satisfy. Each Salesforce product enforces its allowlist in a different place, so pick the guide for the control you need to configure. In both cases you register the two static IPs assigned to your QuotaGuard subscription and route the relevant requests through the proxy. | Salesforce Integration Guide: register QuotaGuard’s static IPs in the Refresh Token IP Allowlist for an AppExchange ISV integration’s External Client App, and route refresh token redemptions through the proxy. | Marketing Cloud Engagement Login IP Allowlist: add the correct QuotaGuard static IPs to the Marketing Cloud Engagement login IP allowlist for API access, and validate them in monitoring or blocking mode. | . ",
    "url": "/docs/apis/salesforce/",
    "relUrl": "/docs/apis/salesforce/"
  },"748": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Keep your SendGrid allowlist manageable",
    "content": "A changing application IP creates extra work when access depends on an allowlist. You need to identify the new address, update the destination, and check that every worker is still using the approved path. QuotaGuard gives that workflow a stable network boundary. Configure the HTTP client that calls SendGrid to use your QuotaGuard proxy connection, then register both assigned addresses with SendGrid. You can keep unrelated application traffic on its existing route. This is useful for transactional email workers, server-side applications, scheduled jobs, and custom automations that can configure their outbound HTTP connections. ",
    "url": "/docs/apis/sendgrid/#keep-your-sendgrid-allowlist-manageable",
    "relUrl": "/docs/apis/sendgrid/#keep-your-sendgrid-allowlist-manageable"
  },"749": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "How the connection works",
    "content": "Your application -&gt; QuotaGuard static outbound IPs -&gt; SendGrid HTTPS API -&gt; SendGrid email delivery -&gt; Recipient . The QuotaGuard addresses identify the application-to-SendGrid connection. Your sender authentication, templates, recipients, and SendGrid delivery configuration remain part of your existing email setup. SendGrid’s dedicated sending IPs govern the separate email-delivery connection. QuotaGuard does not replace a SendGrid sending IP, warm it up, or provide an inbox-placement guarantee. How SendGrid dedicated IPs work . ",
    "url": "/docs/apis/sendgrid/#how-the-connection-works",
    "relUrl": "/docs/apis/sendgrid/#how-the-connection-works"
  },"750": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Configure the requests you want to route",
    "content": "Store the QuotaGuard proxy connection in your runtime’s secret configuration. Then configure the actual client or worker that opens the SendGrid request. A dedicated SendGrid HTTP client keeps the scope clear. It can use the QuotaGuard route while your payment client, database driver, and other network clients continue using their current connections. An environment variable is a configuration value, not a network-wide routing rule. For SDK-based applications, use the SDK’s supported transport configuration for your installed version. If the runtime does not expose outbound proxy configuration, review the available architecture before selecting an approach. ",
    "url": "/docs/apis/sendgrid/#configure-the-requests-you-want-to-route",
    "relUrl": "/docs/apis/sendgrid/#configure-the-requests-you-want-to-route"
  },"751": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "A setup sequence that protects account access",
    "content": ". | Identify every process that uses the SendGrid account, including workers and SMTP clients. | Preserve an approved administrator browser path before enabling IP restrictions. | Store the proxy connection and record both assigned QuotaGuard addresses. | Verify the outbound IP from the deployed sending runtime. | Add both assigned IPs without removing other necessary approved entries. | Validate a complete Mail Send request in SendGrid sandbox mode, then perform a separately approved live check. | . SendGrid enables IP Access Management when you add the first allowed address, and the restriction covers its UI, API, and SMTP relay. Your browser does not inherit your application’s proxy settings. SendGrid access management documentation . ",
    "url": "/docs/apis/sendgrid/#a-setup-sequence-that-protects-account-access",
    "relUrl": "/docs/apis/sendgrid/#a-setup-sequence-that-protects-account-access"
  },"752": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Match the plan to your network requirements",
    "content": "Choose capacity based on your API traffic and bandwidth. If your policy needs an IP pair reserved for your account, choose dedicated IPs rather than a shared static pair. QuotaGuard Static Starter, Production, and Business use shared static IP pairs. Static Enterprise includes dedicated IPs and proxy resources. See current plans and pricing for the available capacity and support options. ",
    "url": "/docs/apis/sendgrid/#match-the-plan-to-your-network-requirements",
    "relUrl": "/docs/apis/sendgrid/#match-the-plan-to-your-network-requirements"
  },"753": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Common questions",
    "content": " ",
    "url": "/docs/apis/sendgrid/#common-questions",
    "relUrl": "/docs/apis/sendgrid/#common-questions"
  },"754": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Will this change the IP that recipient mail servers see?",
    "content": "The QuotaGuard proxy changes the source IP used for the application-to-SendGrid API request. SendGrid continues to deliver the email using its own sending infrastructure. ",
    "url": "/docs/apis/sendgrid/#will-this-change-the-ip-that-recipient-mail-servers-see",
    "relUrl": "/docs/apis/sendgrid/#will-this-change-the-ip-that-recipient-mail-servers-see"
  },"755": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Do I need to proxy every request from my application?",
    "content": "No. Configure the client that handles SendGrid. Keep other clients separate if their traffic should continue on its existing route. ",
    "url": "/docs/apis/sendgrid/#do-i-need-to-proxy-every-request-from-my-application",
    "relUrl": "/docs/apis/sendgrid/#do-i-need-to-proxy-every-request-from-my-application"
  },"756": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Should I allow one or both QuotaGuard IPs?",
    "content": "Allow both addresses assigned in your dashboard. Seeing one address in a short verification check does not mean the other address is unnecessary. ",
    "url": "/docs/apis/sendgrid/#should-i-allow-one-or-both-quotaguard-ips",
    "relUrl": "/docs/apis/sendgrid/#should-i-allow-one-or-both-quotaguard-ips"
  },"757": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Does a successful sandbox request send a test email?",
    "content": "No. SendGrid sandbox mode validates the request without delivery. Use a controlled live message, with an approved recipient, to check the delivery path. Sandbox mode behavior . ",
    "url": "/docs/apis/sendgrid/#does-a-successful-sandbox-request-send-a-test-email",
    "relUrl": "/docs/apis/sendgrid/#does-a-successful-sandbox-request-send-a-test-email"
  },"758": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Does this guide cover SMTP relay configuration?",
    "content": "The configuration here is for the HTTPS API. SMTP uses a different client and network path. Inventory existing SMTP clients before enabling SendGrid restrictions, and review their routing separately. ",
    "url": "/docs/apis/sendgrid/#does-this-guide-cover-smtp-relay-configuration",
    "relUrl": "/docs/apis/sendgrid/#does-this-guide-cover-smtp-relay-configuration"
  },"759": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Set up a stable outbound path for SendGrid",
    "content": "Keep your email workflow and add an explicit route for the API requests that need an approved source IP. Choose a QuotaGuard Static plan and follow the runtime documentation to configure the client that sends your email requests. ",
    "url": "/docs/apis/sendgrid/#set-up-a-stable-outbound-path-for-sendgrid",
    "relUrl": "/docs/apis/sendgrid/#set-up-a-stable-outbound-path-for-sendgrid"
  },"760": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Guides and examples",
    "content": ". | Quickstart | Troubleshooting | Ip addresses explained | Downloadable examples and reference | . ",
    "url": "/docs/apis/sendgrid/#guides-and-examples",
    "relUrl": "/docs/apis/sendgrid/#guides-and-examples"
  },"761": {
    "doc": "Static outbound IPs for the SendGrid API",
    "title": "Static outbound IPs for the SendGrid API",
    "content": "Give your application’s SendGrid API requests a predictable source IP. QuotaGuard routes the requests through a static IP pair that you can add to SendGrid IP Access Management, so your cloud application can use an approved outbound path as it deploys and scales. Primary action: View QuotaGuard Static plans . Secondary action: Explore the setup documentation . ",
    "url": "/docs/apis/sendgrid/",
    "relUrl": "/docs/apis/sendgrid/"
  },"762": {
    "doc": "APIs",
    "title": "APIs",
    "content": "These guides cover SaaS and data APIs that enforce a customer-controlled IP allowlist. When a vendor only accepts requests from IP addresses you register, an application running on a cloud platform with a rotating egress IP gets blocked. QuotaGuard gives you two fixed IP addresses to register once, so every request to the API exits from a known address no matter how your hosting platform rotates underneath. Each guide covers the allowlist requirement, how to register your two QuotaGuard IPs with the vendor, and how to route the API calls through the proxy. Start with QuotaGuard Static. Use QuotaGuard Shield when the integration carries regulated data or your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/apis/",
    "relUrl": "/docs/apis/"
  },"763": {
    "doc": "Error Codes",
    "title": "Error Codes",
    "content": " ",
    "url": "/docs/troubleshooting/error-codes/",
    "relUrl": "/docs/troubleshooting/error-codes/"
  },"764": {
    "doc": "Troubleshooting",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/troubleshooting/",
    "relUrl": "/docs/troubleshooting/"
  },"765": {
    "doc": "Changelog",
    "title": "QGTunnel",
    "content": "Opens a local port that forwards to a remote host through your QuotaGuard proxy, for database and other TCP connections that cannot use a proxy directly. See the QGTunnel documentation. Current version: 2.8.0 (the default download since November 17, 2026). ",
    "url": "/docs/changelog/#qgtunnel",
    "relUrl": "/docs/changelog/#qgtunnel"
  },"766": {
    "doc": "Changelog",
    "title": "QGTunnel 2.8.0",
    "content": "Released November 17, 2026. Built with Go 1.27.4. | Built with a current Go release and current dependencies. Container vulnerability scanners that reported the Go version or the golang.org/x modules of earlier builds no longer do. | Tunnels with encrypted = true now follow current TLS defaults. A destination that supports only RSA key exchange or SHA-1 handshake signatures, or that presents a certificate with a negative serial number, is refused unless you set QGTUNNEL_LEGACY_TLS=true. Tunnels without encrypted are not affected. Details are at https://www.quotaguard.com/docs/qgtunnel/legacy-tls/ | The macOS downloads require macOS 13 or later, and the Linux downloads require kernel 3.2 or later. | . Downloads: . | Linux x86_64 | Linux arm64 | Windows | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgtunnel-280",
    "relUrl": "/docs/changelog/#qgtunnel-280"
  },"767": {
    "doc": "Changelog",
    "title": "QGTunnel 2.7.7",
    "content": "Released October 13, 2026. Built with Go 1.23.12. | QGTunnel now closes its connection to the proxy as soon as your application is done with a tunnel, instead of waiting for the proxy side to close. Applications that open many short-lived tunnels no longer hold idle connections. | On a plain (non-encrypted) tunnel, a half-close from your application now reaches the destination, the same as it would on a direct connection. | . Downloads: . | Linux x86_64 | Linux arm64 | Windows | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgtunnel-277",
    "relUrl": "/docs/changelog/#qgtunnel-277"
  },"768": {
    "doc": "Changelog",
    "title": "QGTunnel 2.7.6",
    "content": "Released August 10, 2026. | The hostname override used by transparent tunnels is now safe for applications that resolve hostnames from several threads at the same time. | The hosts file QGTunnel writes for that override is now written atomically, so an application can never read a partially written file. | . Downloads: . | Linux x86_64 | Linux arm64 | Windows | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgtunnel-276",
    "relUrl": "/docs/changelog/#qgtunnel-276"
  },"769": {
    "doc": "Changelog",
    "title": "QGTunnel 2.7.5",
    "content": "Released March 4, 2026. | Adds a Linux arm64 build. | . Downloads: . | Linux x86_64 | Linux arm64 | Windows | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgtunnel-275",
    "relUrl": "/docs/changelog/#qgtunnel-275"
  },"770": {
    "doc": "Changelog",
    "title": "QGTunnel 2.7.4",
    "content": "Released August 27, 2025. | Connections are now fully released when a tunnel closes, so long-running processes that open and close many tunnels no longer grow in memory. | Fixes race conditions when tunnels are opened and closed concurrently. | Versions 2.7.1 through 2.7.3 were interim builds released the same week. Use 2.7.4. | . Downloads: . | Linux x86_64 | Windows | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgtunnel-274",
    "relUrl": "/docs/changelog/#qgtunnel-274"
  },"771": {
    "doc": "Changelog",
    "title": "QGTunnel 2.7.0",
    "content": "Released March 2, 2024. | Every log line is prefixed with [QGTUNNEL] so it is easy to filter in your application logs. | The Windows build is distributed as a .zip. | . Downloads: . | Linux x86_64 | Windows | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgtunnel-270",
    "relUrl": "/docs/changelog/#qgtunnel-270"
  },"772": {
    "doc": "Changelog",
    "title": "QGTunnel 2.6.0",
    "content": "Released April 12, 2023. | QGTunnel now decides between QuotaGuard Static and QuotaGuard Shield from the port in the connection URL, not from the name of the environment variable that holds it. | The connection URL is read from QGSTATIC_URL, QGSHIELD_URL, QUOTAGUARDSTATIC_URL and QUOTAGUARDSHIELD_URL, in that order. The first one that is set is used. | . Downloads: . | Linux x86_64 | Windows (tar.gz archive) | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgtunnel-260",
    "relUrl": "/docs/changelog/#qgtunnel-260"
  },"773": {
    "doc": "Changelog",
    "title": "qgpass",
    "content": "Runs alongside your application on QuotaGuard Shield and passes HTTP and HTTPS traffic through the proxy with the credentials handled for you. See the qgpass documentation. Current version: 1.4.0 (the default download since November 17, 2026). ",
    "url": "/docs/changelog/#qgpass",
    "relUrl": "/docs/changelog/#qgpass"
  },"774": {
    "doc": "Changelog",
    "title": "qgpass 1.4.0",
    "content": "Released November 17, 2026. Built with Go 1.27.4. | Built with a current Go release. Container vulnerability scanners that reported the Go version of earlier builds no longer do. There is no change in how qgpass handles requests. | The macOS downloads require macOS 13 or later, and the Linux download requires kernel 3.2 or later. | . Downloads: . | Linux x86_64 | Windows (zip archive) | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgpass-140",
    "relUrl": "/docs/changelog/#qgpass-140"
  },"775": {
    "doc": "Changelog",
    "title": "qgpass 1.3.0",
    "content": "Released October 12, 2026. | qgpass now closes its connection to the proxy as soon as your application finishes with an HTTPS tunnel, instead of waiting for the proxy side to close. Applications that make many short-lived HTTPS requests no longer hold idle connections. | Adds the version command (bin/qgpass version). | . Downloads: . | Linux x86_64 | Windows (zip archive) | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgpass-130",
    "relUrl": "/docs/changelog/#qgpass-130"
  },"776": {
    "doc": "Changelog",
    "title": "qgpass 1.2.0",
    "content": "Released March 2, 2024. | qgpass can run as a standalone process as well as a wrapper that starts your application. | Every log line is prefixed with [QGPASS]. | . Downloads: . | Linux x86_64 | Windows (zip archive) | macOS Intel | macOS Apple silicon | . ",
    "url": "/docs/changelog/#qgpass-120",
    "relUrl": "/docs/changelog/#qgpass-120"
  },"777": {
    "doc": "Changelog",
    "title": "Pinning a version",
    "content": "To make sure every build of your application gets the same binary, download the versioned file instead of -latest. For example, for QGTunnel 2.8.0 on Linux: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-2.8.0.tar.gz | tar xz . Move to a newer version on your own schedule by changing the number. Older versions than the ones listed here remain available under the same naming pattern. ",
    "url": "/docs/changelog/#pinning-a-version",
    "relUrl": "/docs/changelog/#pinning-a-version"
  },"778": {
    "doc": "Changelog",
    "title": "Checking which version you have",
    "content": "Run the binary with the version argument: . bin/qgtunnel version bin/qgpass version . The qgpass version command is available from 1.3.0. An older qgpass prints a usage message instead. ",
    "url": "/docs/changelog/#checking-which-version-you-have",
    "relUrl": "/docs/changelog/#checking-which-version-you-have"
  },"779": {
    "doc": "Changelog",
    "title": "Changelog",
    "content": "Current versions of the QuotaGuard client tools, what changed in each release, and how to pin a version in your build. Releases are infrequent. There may be a couple in a year, and some years none. You do not need to check this page on a schedule: subscribe to the Atom feed in your feed reader or in a Slack channel, and you will see new releases when they are published. The -latest download names (for example qgtunnel-latest.tar.gz) always serve the version marked current below. Every release is also published under its own version number, and a versioned file never changes after it is published. ",
    "url": "/docs/changelog/",
    "relUrl": "/docs/changelog/"
  },"780": {
    "doc": "Analytics",
    "title": "Analytics",
    "content": " ",
    "url": "/docs/account/analytics/",
    "relUrl": "/docs/account/analytics/"
  },"781": {
    "doc": "Free Trial",
    "title": "Free Trial",
    "content": " ",
    "url": "/docs/account/free-trial/",
    "relUrl": "/docs/account/free-trial/"
  },"782": {
    "doc": "Billing",
    "title": "Billing",
    "content": " ",
    "url": "/docs/account/billing/",
    "relUrl": "/docs/account/billing/"
  },"783": {
    "doc": "Usage API",
    "title": "Usage API",
    "content": " ",
    "url": "/docs/account/usage-api/",
    "relUrl": "/docs/account/usage-api/"
  },"784": {
    "doc": "Subscriptions",
    "title": "Subscriptions",
    "content": " ",
    "url": "/docs/account/subscriptions/",
    "relUrl": "/docs/account/subscriptions/"
  },"785": {
    "doc": "Account",
    "title": "Account",
    "content": " ",
    "url": "/docs/account/",
    "relUrl": "/docs/account/"
  },"786": {
    "doc": "Two-Factor Authentication",
    "title": "Two-Factor Authentication",
    "content": " ",
    "url": "/docs/security/two-factor-authentication/",
    "relUrl": "/docs/security/two-factor-authentication/"
  },"787": {
    "doc": "SSL & TLS",
    "title": "SSL & TLS",
    "content": " ",
    "url": "/docs/security/ssl-and-tls/",
    "relUrl": "/docs/security/ssl-and-tls/"
  },"788": {
    "doc": "Security",
    "title": "Security",
    "content": " ",
    "url": "/docs/security/",
    "relUrl": "/docs/security/"
  },"789": {
    "doc": "QGTunnel",
    "title": "QGTunnel",
    "content": " ",
    "url": "/docs/qgtunnel/",
    "relUrl": "/docs/qgtunnel/"
  },"790": {
    "doc": "HTTPS",
    "title": "HTTPS",
    "content": " ",
    "url": "/docs/protocols/https-tunneling/",
    "relUrl": "/docs/protocols/https-tunneling/"
  },"791": {
    "doc": "SFTP",
    "title": "SFTP",
    "content": " ",
    "url": "/docs/protocols/sftp/",
    "relUrl": "/docs/protocols/sftp/"
  },"792": {
    "doc": "FTP",
    "title": "FTP",
    "content": " ",
    "url": "/docs/protocols/ftp/",
    "relUrl": "/docs/protocols/ftp/"
  },"793": {
    "doc": "SMTP",
    "title": "SMTP",
    "content": " ",
    "url": "/docs/protocols/smtp/",
    "relUrl": "/docs/protocols/smtp/"
  },"794": {
    "doc": "Protocols",
    "title": "Protocols",
    "content": " ",
    "url": "/docs/protocols/",
    "relUrl": "/docs/protocols/"
  },"795": {
    "doc": "Getting Started",
    "title": "Getting Started",
    "content": " ",
    "url": "/docs/getting-started/",
    "relUrl": "/docs/getting-started/"
  },"796": {
    "doc": "AI and Automations",
    "title": "AI and Automations",
    "content": " ",
    "url": "/docs/automation/",
    "relUrl": "/docs/automation/"
  },"797": {
    "doc": "Support",
    "title": "Support",
    "content": " ",
    "url": "/docs/support/",
    "relUrl": "/docs/support/"
  },"798": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Keep the platform and simplify the API allowlist",
    "content": "When a partner accepts a small fixed set of source addresses, configure the Laravel HTTP client making those calls to use your QuotaGuard connection. The partner sees one of the two addresses assigned to your subscription. Register both addresses so either connection path can be accepted. Learn why both addresses matter. The change stays focused on the integration. Unrelated requests retain their existing route, and your application’s inbound URL does not change. ",
    "url": "/docs/platforms/laravel-cloud/#keep-the-platform-and-simplify-the-api-allowlist",
    "relUrl": "/docs/platforms/laravel-cloud/#keep-the-platform-and-simplify-the-api-allowlist"
  },"799": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Built around Laravel deployment behavior",
    "content": "The implementation guide covers the details that a generic PHP proxy example leaves to your application: . | Read the proxy URL through a Laravel configuration file so cached configuration behaves predictably. | Link the secret to the intended Cloud environment, check overrides, and redeploy after changes. | Reuse an explicit client factory in web requests and background jobs. | Check deployed egress with an Artisan command, then verify the actual provider request path. | Keep credentials out of IP probes, logs, browser code, and support screenshots. | . Start with the Laravel Cloud technical guide, then use the runtime examples and troubleshooting reference during rollout. ",
    "url": "/docs/platforms/laravel-cloud/#built-around-laravel-deployment-behavior",
    "relUrl": "/docs/platforms/laravel-cloud/#built-around-laravel-deployment-behavior"
  },"800": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Compare the native option",
    "content": "Laravel Cloud publishes regional outbound IP lists. Those may be sufficient if your provider accepts them and your team can maintain changes. Dedicated Private Cloud organizations have their own onboarding addresses. QuotaGuard provides another route for selected requests when the assigned pair better fits your provider’s allowlist. Confirm the accepted source region and whether shared or account-exclusive addresses are required. Shared and dedicated proxies are different arrangements; choose the one your provider accepts. ",
    "url": "/docs/platforms/laravel-cloud/#compare-the-native-option",
    "relUrl": "/docs/platforms/laravel-cloud/#compare-the-native-option"
  },"801": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Use the right transport",
    "content": "The reference Laravel factory uses QuotaGuard Static’s HTTP proxy. Requests to an HTTPS API retain destination TLS through CONNECT. If your application-to-proxy hop also requires TLS, review Shield with the actual PHP, cURL, and Guzzle configuration. Compare the two proxy hops. This setup covers the HTTP requests you configure. An independent SDK, native database connection, browser request, or unrelated process needs its own supported configuration. ",
    "url": "/docs/platforms/laravel-cloud/#use-the-right-transport",
    "relUrl": "/docs/platforms/laravel-cloud/#use-the-right-transport"
  },"802": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Configure the proxy for a specific API",
    "content": "Collect the connection URL and assigned addresses, configure one protected request path, and confirm the source from the deployed environment. Then extend the same approach to the workers and scheduled tasks that call that API. ",
    "url": "/docs/platforms/laravel-cloud/#start-with-one-api-path",
    "relUrl": "/docs/platforms/laravel-cloud/#start-with-one-api-path"
  },"803": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Does setting the proxy URL route all requests through QuotaGuard?",
    "content": "No. The HTTP client must use the proxy setting. The guide uses a selected factory so the scope is visible in code. ",
    "url": "/docs/platforms/laravel-cloud/#does-setting-the-secret-route-every-request",
    "relUrl": "/docs/platforms/laravel-cloud/#does-setting-the-secret-route-every-request"
  },"804": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Do queue workers need their own proxy settings?",
    "content": "Cloud workers share their environment’s variables. What matters is that their jobs construct the intended client and run the deployment with the updated configuration. Cloud worker behavior covers the platform details. ",
    "url": "/docs/platforms/laravel-cloud/#do-queue-workers-need-a-separate-proxy-secret-screen",
    "relUrl": "/docs/platforms/laravel-cloud/#do-queue-workers-need-a-separate-proxy-secret-screen"
  },"805": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Is one successful IP check enough to confirm the setup?",
    "content": "It verifies that check’s observed route. Validate the actual provider paths too, and keep both addresses on the provider allowlist. ",
    "url": "/docs/platforms/laravel-cloud/#is-one-successful-ip-check-enough",
    "relUrl": "/docs/platforms/laravel-cloud/#is-one-successful-ip-check-enough"
  },"806": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Guides and examples",
    "content": ". | Technical guide | Runtime examples | Troubleshooting | Operations runbook | Downloadable examples and reference | . ",
    "url": "/docs/platforms/laravel-cloud/#guides-and-examples",
    "relUrl": "/docs/platforms/laravel-cloud/#guides-and-examples"
  },"807": {
    "doc": "Static outbound IPs for Laravel Cloud",
    "title": "Static outbound IPs for Laravel Cloud",
    "content": "Give selected API requests from Laravel Cloud a stable IPv4 source pair without moving your application or routing unrelated traffic through a proxy. QuotaGuard works at the HTTP-client boundary, so the integration that needs an allowlist can use it from a controller, queue worker, or scheduled task. ",
    "url": "/docs/platforms/laravel-cloud/",
    "relUrl": "/docs/platforms/laravel-cloud/"
  },"808": {
    "doc": "Google Cloud",
    "title": "Google Cloud",
    "content": " ",
    "url": "/docs/platforms/google-cloud/",
    "relUrl": "/docs/platforms/google-cloud/"
  },"809": {
    "doc": "Azure",
    "title": "Azure",
    "content": " ",
    "url": "/docs/platforms/azure/",
    "relUrl": "/docs/platforms/azure/"
  },"810": {
    "doc": "Render",
    "title": "Render",
    "content": " ",
    "url": "/docs/platforms/render/",
    "relUrl": "/docs/platforms/render/"
  },"811": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Why AWS Workloads Need Static IPs",
    "content": " ",
    "url": "/docs/platforms/aws/lambda-integration/#why-aws-workloads-need-static-ips",
    "relUrl": "/docs/platforms/aws/lambda-integration/#why-aws-workloads-need-static-ips"
  },"812": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Outbound: Lambda Has No Fixed Identity",
    "content": "Lambda functions are stateless and ephemeral. AWS assigns them IP addresses dynamically from large shared pools. Every invocation may originate from a different IP address, and those addresses overlap with traffic from thousands of other AWS customers. This creates problems when your function needs to connect to: . | External APIs that require IP allowlisting for authentication or rate limiting | MongoDB Atlas, AWS RDS, or Aurora clusters behind strict firewall rules | Payment processors like Stripe, PayPal, or Braintree with IP-based fraud controls | Banking and financial APIs that only accept requests from known IP addresses | Corporate systems behind enterprise firewalls with explicit IP allowlists | Third-party SaaS platforms that restrict API access by IP | . The result is 403 Forbidden or connection refused errors that have nothing to do with your code. Your credentials are valid. Your requests are correctly formed. The external service is blocking Lambda’s dynamic IP ranges. ",
    "url": "/docs/platforms/aws/lambda-integration/#outbound-lambda-has-no-fixed-identity",
    "relUrl": "/docs/platforms/aws/lambda-integration/#outbound-lambda-has-no-fixed-identity"
  },"813": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Inbound: External Systems Need to Reach You",
    "content": "The same dynamic IP problem works in reverse. When external partners, corporate systems, or payment processors need to send traffic to your AWS application, they may require a known, stable destination IP for their own firewall configurations. AWS does not provide a simple static inbound IP for Lambda or serverless workloads. QuotaGuard’s inbound proxy gives your application a permanent static IP that external systems can target. Webhooks, callbacks, and partner integrations connect to your QuotaGuard inbound IP, which forwards to your actual endpoint. Your endpoint URL can change without notifying external partners. The static IP stays the same. Common inbound use cases on AWS: . | Payment webhooks from Stripe, PayPal, or Braintree that require a whitelisted destination | Partner API callbacks from systems that only send to known IPs | Corporate integrations where your IT team needs to allowlist your application’s IP | IoT and device callbacks pre-configured with a fixed destination address | . ",
    "url": "/docs/platforms/aws/lambda-integration/#inbound-external-systems-need-to-reach-you",
    "relUrl": "/docs/platforms/aws/lambda-integration/#inbound-external-systems-need-to-reach-you"
  },"814": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Native Option: NAT Gateway",
    "content": "AWS’s own solution for giving Lambda functions a static outbound IP is to attach them to a VPC and route egress through a NAT Gateway with an Elastic IP. | Feature | NAT Gateway | QuotaGuard | . | Monthly base cost | ~$33–45/AZ | $19/month | . | Two AZ setup (recommended) | ~$70–150+/month | $19/month | . | Data processing fees | $0.045/GB | None | . | Setup complexity | VPC + subnets + route tables | Environment variable | . | Setup time | 1–3 hours | ~2 minutes | . | VPC changes required | Yes | No | . | AWS Marketplace billing | n/a | Yes | . Use NAT Gateway if you need all outbound traffic from your VPC to exit through a static IP, including traffic that cannot be routed through an HTTP or SOCKS5 proxy. Use QuotaGuard if you have specific outbound connections that need a static identity: an external API, a firewalled database, a payment processor. You route those specific calls through the proxy. Everything else continues as normal. This is the common Lambda use case and is significantly cheaper. ",
    "url": "/docs/platforms/aws/lambda-integration/#native-option-nat-gateway",
    "relUrl": "/docs/platforms/aws/lambda-integration/#native-option-nat-gateway"
  },"815": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region. Select the QuotaGuard region that matches your Lambda function’s deployment region to minimize latency. | Lambda Region | QuotaGuard Region | . | us-east-1 (N. Virginia) | US-East (N. Virginia) | . | us-west-1 (Oregon) | US-West (Oregon) | . | ca-central-1 (Montreal) | CA-Central (Montreal) | . | eu-west-1 (Ireland) | EU-West (Ireland) | . | eu-central-1 (Frankfurt) | EU-Central (Frankfurt) | . | ap-northeast-1 (Tokyo) | AP-Northeast (Tokyo) | . | ap-southeast-1 (Singapore) | AP-Southeast (Singapore) | . | ap-southeast-2 (Sydney) | AP-Southeast-2 (Sydney) | . | ap-south-1 (Mumbai) | AP-South (Mumbai) | . | sa-east-1 (Sao Paulo) | SA-East (Sao Paulo) | . Your proxy URL will look like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Finding Your Static IPs. Your two static IPs are displayed in the QuotaGuard dashboard. Both are active simultaneously for high availability. Add both IPs to any firewall allowlists you are configuring on the target service. ",
    "url": "/docs/platforms/aws/lambda-integration/#getting-started",
    "relUrl": "/docs/platforms/aws/lambda-integration/#getting-started"
  },"816": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Configuring Lambda for HTTP and HTTPS Traffic",
    "content": "Set your QuotaGuard proxy URL as a Lambda environment variable, then pass it to your HTTP client. This is the complete setup for routing HTTP and HTTPS traffic through your static IPs. ",
    "url": "/docs/platforms/aws/lambda-integration/#configuring-lambda-for-http-and-https-traffic",
    "relUrl": "/docs/platforms/aws/lambda-integration/#configuring-lambda-for-http-and-https-traffic"
  },"817": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Python (requests)",
    "content": "import requests import os # Set QUOTAGUARDSTATIC_URL as a Lambda environment variable proxy_url = os.getenv(\"QUOTAGUARDSTATIC_URL\") proxies = { \"http\": proxy_url, \"https\": proxy_url } def lambda_handler(event, context): response = requests.get( \"https://api.your-allowlisted-service.com/data\", proxies=proxies ) return { \"statusCode\": 200, \"body\": response.json() } . ",
    "url": "/docs/platforms/aws/lambda-integration/#python-requests",
    "relUrl": "/docs/platforms/aws/lambda-integration/#python-requests"
  },"818": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Node.js (axios)",
    "content": "const axios = require(\"axios\"); const { HttpsProxyAgent } = require(\"https-proxy-agent\"); // Set QUOTAGUARDSTATIC_URL as a Lambda environment variable const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); exports.handler = async (event) =&gt; { const response = await axios.get( \"https://api.your-allowlisted-service.com/data\", { httpsAgent: agent } ); return { statusCode: 200, body: JSON.stringify(response.data) }; }; . Install the required package: . npm install https-proxy-agent . ",
    "url": "/docs/platforms/aws/lambda-integration/#nodejs-axios",
    "relUrl": "/docs/platforms/aws/lambda-integration/#nodejs-axios"
  },"819": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Node.js (native https)",
    "content": "const https = require(\"https\"); const { HttpsProxyAgent } = require(\"https-proxy-agent\"); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); exports.handler = async (event) =&gt; { return new Promise((resolve, reject) =&gt; { https.get( \"https://api.your-allowlisted-service.com/data\", { agent }, (res) =&gt; { let data = \"\"; res.on(\"data\", (chunk) =&gt; data += chunk); res.on(\"end\", () =&gt; resolve({ statusCode: 200, body: data })); } ).on(\"error\", reject); }); }; . ",
    "url": "/docs/platforms/aws/lambda-integration/#nodejs-native-https",
    "relUrl": "/docs/platforms/aws/lambda-integration/#nodejs-native-https"
  },"820": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Java (HttpClient)",
    "content": "import java.net.*; import java.net.http.*; import java.io.IOException; public class Handler implements RequestHandler&lt;APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent&gt; { private static final String proxyUrl = System.getenv(\"QUOTAGUARDSTATIC_URL\"); @Override public APIGatewayProxyResponseEvent handleRequest( APIGatewayProxyRequestEvent event, Context context) throws IOException { URI proxyUri = URI.create(proxyUrl); InetSocketAddress proxyAddress = new InetSocketAddress( proxyUri.getHost(), proxyUri.getPort() ); String userInfo = proxyUri.getUserInfo(); String[] credentials = userInfo.split(\":\"); HttpClient client = HttpClient.newBuilder() .proxy(ProxySelector.of(proxyAddress)) .authenticator(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication( credentials[0], credentials[1].toCharArray() ); } }) .build(); HttpRequest request = HttpRequest.newBuilder() .uri(URI.create(\"https://api.your-allowlisted-service.com/data\")) .build(); HttpResponse&lt;String&gt; response = client.send( request, HttpResponse.BodyHandlers.ofString() ); return new APIGatewayProxyResponseEvent() .withStatusCode(response.statusCode()) .withBody(response.body()); } } . ",
    "url": "/docs/platforms/aws/lambda-integration/#java-httpclient",
    "relUrl": "/docs/platforms/aws/lambda-integration/#java-httpclient"
  },"821": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Setting the Environment Variable",
    "content": "In the Lambda console, go to Configuration &gt; Environment variables &gt; Edit and add: . Key: QUOTAGUARDSTATIC_URL Value: http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Using the AWS CLI: . aws lambda update-function-configuration \\ --function-name your-function-name \\ --environment \"Variables={QUOTAGUARDSTATIC_URL=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293}\" . Using Terraform: . resource \"aws_lambda_function\" \"my_function\" { function_name = \"my-function\" environment { variables = { QUOTAGUARDSTATIC_URL = \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" } } } . ",
    "url": "/docs/platforms/aws/lambda-integration/#setting-the-environment-variable",
    "relUrl": "/docs/platforms/aws/lambda-integration/#setting-the-environment-variable"
  },"822": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Database Connections (MongoDB Atlas, RDS, Aurora)",
    "content": "The HTTP proxy environment variable approach works for HTTP and HTTPS traffic. For TCP database connections you need SOCKS5 or QGTunnel. MongoDB Atlas supports native SOCKS5 proxy configuration in its drivers across Node.js, Python, Go, Ruby, and Java. See the full setup guide with code examples for every language: . | QuotaGuard and MongoDB Atlas Integration Guide | . Developer guides for Python specifically: . | Python + MongoDB (PyMongo) via SOCKS | Python + MongoDB (PyMongo) via QGTunnel | . PostgreSQL, MySQL, and other TCP databases use QGTunnel, which creates a local TCP tunnel so your database client connects to localhost while traffic routes through your static IP. No changes to your database connection string are required beyond pointing at localhost. | QGTunnel Setup Guide for AWS and PostgreSQL | QGTunnel Setup Guide for AWS and MySQL | QGTunnel Setup Guide for AWS and MongoDB | QGTunnel Setup Guide for AWS and MsSQL | QGTunnel Setup Guide for AWS and MariaDB | . For the full library of language and database combinations, see the QuotaGuard Developer Guides. ",
    "url": "/docs/platforms/aws/lambda-integration/#database-connections-mongodb-atlas-rds-aurora",
    "relUrl": "/docs/platforms/aws/lambda-integration/#database-connections-mongodb-atlas-rds-aurora"
  },"823": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Setting Up Inbound Proxy",
    "content": "QuotaGuard’s inbound proxy assigns your AWS application a permanent static IP for incoming traffic. External systems connect to your static IP and QuotaGuard forwards the traffic to your actual application endpoint. Step 1: Configure your inbound endpoint . | Log in to your QuotaGuard dashboard | Navigate to Setup &gt; Inbound | Enter your application’s URL: your Lambda function URL, an API Gateway endpoint, an ALB, or any reachable URL | QuotaGuard generates a unique inbound URL that resolves to your two static IPs | . Example inbound URL: . a62b1d0b4983db763450411fd393b3ce-us-east-1.getstatica.com . Step 2: Provide your static IPs to external systems . Your two static IPs are shown in the dashboard. Give these to any external system that needs to allowlist your application: . | Payment processors requiring a destination IP for webhook delivery | Partner IT teams configuring outbound firewall rules | IoT devices pre-configured with a fixed callback IP | . Step 3: Point external traffic to the inbound URL . Configure external systems to send traffic to your QuotaGuard inbound URL instead of directly to your Lambda or API Gateway URL. QuotaGuard handles the forwarding transparently. Common AWS inbound patterns: . Payment processor -&gt; QuotaGuard static IP -&gt; Your API Gateway endpoint Corporate partner -&gt; QuotaGuard static IP -&gt; Your Lambda function URL IoT device -&gt; QuotaGuard static IP -&gt; Your ALB or application endpoint . Your actual endpoint can change at any time without requiring external partners to update their firewall rules. The static IP remains constant. ",
    "url": "/docs/platforms/aws/lambda-integration/#setting-up-inbound-proxy",
    "relUrl": "/docs/platforms/aws/lambda-integration/#setting-up-inbound-proxy"
  },"824": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "AWS Fargate",
    "content": "Fargate containers configure the proxy the same way as Lambda: set the QUOTAGUARDSTATIC_URL environment variable in your task definition and route HTTP/HTTPS calls through the proxy in your application code. In your ECS task definition: . { \"containerDefinitions\": [ { \"name\": \"your-container\", \"image\": \"your-image\", \"environment\": [ { \"name\": \"QUOTAGUARDSTATIC_URL\", \"value\": \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" } ] } ] } . The same Python, Node.js, and Java code examples above apply directly to Fargate containers. ",
    "url": "/docs/platforms/aws/lambda-integration/#aws-fargate",
    "relUrl": "/docs/platforms/aws/lambda-integration/#aws-fargate"
  },"825": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "AWS Marketplace Billing",
    "content": "QuotaGuard is available directly on the AWS Marketplace. This means: . | Billing consolidates to your existing AWS invoice. No separate vendor account, no additional credit card. | Procurement has already approved AWS as a vendor. At larger organizations, adding a new vendor requires a review process. QuotaGuard through the Marketplace skips that step. | AWS committed spend. If your organization has an Enterprise Discount Program or Private Pricing Agreement with AWS, Marketplace purchases count toward your committed spend. | . Both products are available on the Marketplace: . | QuotaGuard Static on AWS Marketplace: for general API access and AI workflows | QuotaGuard Shield on AWS Marketplace: for HIPAA, PCI, and regulated workloads | . ",
    "url": "/docs/platforms/aws/lambda-integration/#aws-marketplace-billing",
    "relUrl": "/docs/platforms/aws/lambda-integration/#aws-marketplace-billing"
  },"826": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Testing Your Configuration",
    "content": "Verify your static IP configuration before updating any external allowlists. Hit ip.quotaguard.com through your proxy and confirm the returned IP matches one of your two static IPs shown in the dashboard. Python: . import requests import os proxy_url = os.getenv(\"QUOTAGUARDSTATIC_URL\") proxies = {\"http\": proxy_url, \"https\": proxy_url} def lambda_handler(event, context): response = requests.get(\"https://ip.quotaguard.com\", proxies=proxies) return { \"statusCode\": 200, \"body\": response.text # Should return one of your two static IPs } . Node.js: . const axios = require(\"axios\"); const { HttpsProxyAgent } = require(\"https-proxy-agent\"); exports.handler = async (event) =&gt; { const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const response = await axios.get(\"https://ip.quotaguard.com\", { httpsAgent: agent }); return { statusCode: 200, body: JSON.stringify(response.data) // Should return one of your two static IPs }; }; . ",
    "url": "/docs/platforms/aws/lambda-integration/#testing-your-configuration",
    "relUrl": "/docs/platforms/aws/lambda-integration/#testing-your-configuration"
  },"827": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Troubleshooting",
    "content": "We genuinely enjoy hearing from customers. If something isn’t working, please reach out directly at quotaguard.com/contact. Our support team are real engineers who built this product and we will work through the problem with you. Below are the most common issues and what to check first. Requests not routing through the proxy . | Confirm QUOTAGUARDSTATIC_URL is set as an environment variable on the Lambda function | Verify your HTTP client is using the proxy: check that proxies=proxies or httpsAgent: agent is present in every request you want proxied | Test with https://ip.quotaguard.com to confirm which IP your requests are exiting from | AWS SDK calls to services like S3 and DynamoDB use their own internal networking and will not route through the proxy. This is expected behavior. | . 407 Proxy Authentication Required . Your credentials are incorrect. Verify the username and password match what is shown in your dashboard, that no extra spaces were included when copying the URL, and that the format is correct: http://username:password@hostname:9293. Database connection refused . | Verify both QuotaGuard static IPs are added to your database firewall or security group | Confirm you are using the SOCKS5 port (1080) for database connections, not the HTTP proxy port (9293) | For RDS and Aurora, check that the security group inbound rules allow TCP on the database port from both QuotaGuard IPs | For MongoDB Atlas, confirm both IPs appear in Network Access with a status of Active | . Cold start latency . Establishing a proxy connection adds a small amount of latency on Lambda cold starts, typically 10–50ms. Use provisioned concurrency for latency-sensitive functions, and always choose the QuotaGuard region that matches your Lambda deployment region. Still stuck? Contact our support team. We’ll debug it with you directly. ",
    "url": "/docs/platforms/aws/lambda-integration/#troubleshooting",
    "relUrl": "/docs/platforms/aws/lambda-integration/#troubleshooting"
  },"828": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "Ready to Get Started?",
    "content": ". | Try QuotaGuard | View AWS Integration Features | QuotaGuard Shield for HIPAA and PCI | Contact Support | . ",
    "url": "/docs/platforms/aws/lambda-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/aws/lambda-integration/#ready-to-get-started"
  },"829": {
    "doc": "QuotaGuard and AWS Lambda Integration Guide",
    "title": "QuotaGuard and AWS Lambda Integration Guide",
    "content": "QuotaGuard gives your AWS Lambda functions and other AWS services fixed, load-balanced static IP addresses for both outbound and inbound traffic. Outbound (Egress): Set two environment variables, update your HTTP client to use the proxy, and every outbound request exits through your static IPs. No VPC changes, no NAT Gateway required. Use this when your Lambda function needs to reach firewalled APIs, databases, or payment processors that require a known source IP. Inbound (Reverse Proxy): QuotaGuard assigns your application a stable static IP for inbound traffic. External systems (partner APIs, corporate firewalls, payment processors sending webhooks) connect to your QuotaGuard inbound IP, which forwards traffic to your Lambda or application endpoint. Use this when external services need to reach your application from a known, allowlisted destination IP. ",
    "url": "/docs/platforms/aws/lambda-integration/",
    "relUrl": "/docs/platforms/aws/lambda-integration/"
  },"830": {
    "doc": "AWS",
    "title": "AWS",
    "content": " ",
    "url": "/docs/platforms/aws/",
    "relUrl": "/docs/platforms/aws/"
  },"831": {
    "doc": "Docker",
    "title": "Docker",
    "content": " ",
    "url": "/docs/platforms/docker/",
    "relUrl": "/docs/platforms/docker/"
  },"832": {
    "doc": "Koyeb",
    "title": "Koyeb",
    "content": " ",
    "url": "/docs/platforms/koyeb/",
    "relUrl": "/docs/platforms/koyeb/"
  },"833": {
    "doc": "Retool",
    "title": "Retool",
    "content": " ",
    "url": "/docs/platforms/retool/",
    "relUrl": "/docs/platforms/retool/"
  },"834": {
    "doc": "Heroku",
    "title": "Heroku",
    "content": " ",
    "url": "/docs/platforms/heroku/",
    "relUrl": "/docs/platforms/heroku/"
  },"835": {
    "doc": "Kubernetes",
    "title": "Kubernetes",
    "content": " ",
    "url": "/docs/platforms/kubernetes/",
    "relUrl": "/docs/platforms/kubernetes/"
  },"836": {
    "doc": "Railway",
    "title": "Railway",
    "content": " ",
    "url": "/docs/platforms/railway/",
    "relUrl": "/docs/platforms/railway/"
  },"837": {
    "doc": "Platforms",
    "title": "Platforms",
    "content": " ",
    "url": "/docs/platforms/",
    "relUrl": "/docs/platforms/"
  },"838": {
    "doc": "Dynamic IP Geocoding",
    "title": "Dynamic IP Geocoding",
    "content": " ",
    "url": "/docs/outbound-proxy/dynamic-ip-geocoding/",
    "relUrl": "/docs/outbound-proxy/dynamic-ip-geocoding/"
  },"839": {
    "doc": "PHP",
    "title": "PHP",
    "content": " ",
    "url": "/docs/outbound-proxy/php/",
    "relUrl": "/docs/outbound-proxy/php/"
  },"840": {
    "doc": "Concepts",
    "title": "Concepts",
    "content": " ",
    "url": "/docs/outbound-proxy/concepts/",
    "relUrl": "/docs/outbound-proxy/concepts/"
  },"841": {
    "doc": "Node.js",
    "title": "Node.js",
    "content": " ",
    "url": "/docs/outbound-proxy/node-js/",
    "relUrl": "/docs/outbound-proxy/node-js/"
  },"842": {
    "doc": "Ruby",
    "title": "Ruby",
    "content": " ",
    "url": "/docs/outbound-proxy/ruby/",
    "relUrl": "/docs/outbound-proxy/ruby/"
  },"843": {
    "doc": "SOCKS",
    "title": "SOCKS",
    "content": " ",
    "url": "/docs/outbound-proxy/socks5/",
    "relUrl": "/docs/outbound-proxy/socks5/"
  },"844": {
    "doc": "Go",
    "title": "Go",
    "content": " ",
    "url": "/docs/outbound-proxy/go/",
    "relUrl": "/docs/outbound-proxy/go/"
  },"845": {
    "doc": "Browser Proxy Setup",
    "title": "Browser Proxy Setup",
    "content": " ",
    "url": "/docs/outbound-proxy/browser-proxy-setup/",
    "relUrl": "/docs/outbound-proxy/browser-proxy-setup/"
  },"846": {
    "doc": "Python",
    "title": "Python",
    "content": " ",
    "url": "/docs/outbound-proxy/python/",
    "relUrl": "/docs/outbound-proxy/python/"
  },"847": {
    "doc": "Java",
    "title": "Java",
    "content": " ",
    "url": "/docs/outbound-proxy/java/",
    "relUrl": "/docs/outbound-proxy/java/"
  },"848": {
    "doc": "Mac Desktop Setup",
    "title": "Mac Desktop Setup",
    "content": " ",
    "url": "/docs/outbound-proxy/mac-desktop-setup/",
    "relUrl": "/docs/outbound-proxy/mac-desktop-setup/"
  },"849": {
    "doc": ".NET",
    "title": ".NET",
    "content": " ",
    "url": "/docs/outbound-proxy/dotnet/",
    "relUrl": "/docs/outbound-proxy/dotnet/"
  },"850": {
    "doc": "Outbound Proxy",
    "title": "Outbound Proxy",
    "content": " ",
    "url": "/docs/outbound-proxy/",
    "relUrl": "/docs/outbound-proxy/"
  },"851": {
    "doc": "Inbound Shield",
    "title": "Inbound Shield",
    "content": " ",
    "url": "/docs/inbound-shield/",
    "relUrl": "/docs/inbound-shield/"
  },"852": {
    "doc": "Redis",
    "title": "Redis",
    "content": " ",
    "url": "/docs/databases/redis/",
    "relUrl": "/docs/databases/redis/"
  },"853": {
    "doc": "MySql",
    "title": "MySql",
    "content": " ",
    "url": "/docs/databases/mysql/",
    "relUrl": "/docs/databases/mysql/"
  },"854": {
    "doc": "PostgreSQL",
    "title": "PostgreSQL",
    "content": " ",
    "url": "/docs/databases/postgresql/",
    "relUrl": "/docs/databases/postgresql/"
  },"855": {
    "doc": "Oracle",
    "title": "Oracle",
    "content": " ",
    "url": "/docs/databases/oracle/",
    "relUrl": "/docs/databases/oracle/"
  },"856": {
    "doc": "MongoDB",
    "title": "MongoDB",
    "content": " ",
    "url": "/docs/databases/mongodb/",
    "relUrl": "/docs/databases/mongodb/"
  },"857": {
    "doc": "MsSQL",
    "title": "MsSQL",
    "content": " ",
    "url": "/docs/databases/mssql/",
    "relUrl": "/docs/databases/mssql/"
  },"858": {
    "doc": "MariaDB",
    "title": "MariaDB",
    "content": " ",
    "url": "/docs/databases/mariadb/",
    "relUrl": "/docs/databases/mariadb/"
  },"859": {
    "doc": "Databases",
    "title": "Databases",
    "content": " ",
    "url": "/docs/databases/",
    "relUrl": "/docs/databases/"
  },"860": {
    "doc": "SendGrid sending IPs and application static IPs explained",
    "title": "The application connects to SendGrid",
    "content": "Your application submits an HTTPS request to SendGrid’s API. The source address on that request comes from the application’s outbound network path. If SendGrid IP Access Management is enabled, that source address must be allowed. A stable application egress address makes the allowlist easier to manage when you deploy new application instances or run workers on infrastructure with changing default outbound addresses. QuotaGuard operates on this side of the connection. A proxy-aware HTTP client can send its SendGrid requests through the QuotaGuard outbound proxy, so SendGrid receives them from one of the assigned QuotaGuard IPs. ",
    "url": "/docs/apis/sendgrid/ip-addresses-explained/#the-application-connects-to-sendgrid",
    "relUrl": "/docs/apis/sendgrid/ip-addresses-explained/#the-application-connects-to-sendgrid"
  },"861": {
    "doc": "SendGrid sending IPs and application static IPs explained",
    "title": "SendGrid delivers the email",
    "content": "Once SendGrid accepts a normal Mail Send request, its email infrastructure handles delivery to the recipient’s mail server. SendGrid can use shared sending IPs or dedicated sending IPs, depending on your account and email program. The sending IP is relevant to the email delivery relationship with mailbox providers. SendGrid documents dedicated sending IPs, reputation, and warmup as part of that workflow. SendGrid dedicated IP addresses . Changing the application’s outbound route does not allocate a new SendGrid sending IP or perform warmup. It also does not replace domain authentication, appropriate sending practices, or delivery monitoring. ",
    "url": "/docs/apis/sendgrid/ip-addresses-explained/#sendgrid-delivers-the-email",
    "relUrl": "/docs/apis/sendgrid/ip-addresses-explained/#sendgrid-delivers-the-email"
  },"862": {
    "doc": "SendGrid sending IPs and application static IPs explained",
    "title": "Compare the roles",
    "content": "| Question | Application egress IP | SendGrid sending IP | . | Which connection uses it? | Application to SendGrid API | SendGrid to recipient mail server | . | What is the relevant goal? | Predictable source address for API access controls | Email sending infrastructure and reputation management | . | Where is it configured? | Application HTTP client and network path | SendGrid email delivery configuration | . | What does QuotaGuard provide? | Static outbound proxy addresses | No replacement for SendGrid’s sending IP | . | What validates the path? | Egress check and authenticated API request | Delivery information and email-program monitoring | . ",
    "url": "/docs/apis/sendgrid/ip-addresses-explained/#compare-the-roles",
    "relUrl": "/docs/apis/sendgrid/ip-addresses-explained/#compare-the-roles"
  },"863": {
    "doc": "SendGrid sending IPs and application static IPs explained",
    "title": "Static and dedicated describe different properties",
    "content": "A static IP is stable. A dedicated IP is reserved for a particular customer or use. An address can be static while shared with other customers. For application egress, QuotaGuard Static Starter, Production, and Business use shared static IP pairs. Static Enterprise includes dedicated IPs and proxy resources. Select the allocation that meets your policy rather than assuming “static” means “exclusive.” QuotaGuard pricing . Even a dedicated egress address is only one part of access control. Continue protecting the SendGrid API key and restricting its permissions. A source-IP check does not replace API authentication. ",
    "url": "/docs/apis/sendgrid/ip-addresses-explained/#static-and-dedicated-describe-different-properties",
    "relUrl": "/docs/apis/sendgrid/ip-addresses-explained/#static-and-dedicated-describe-different-properties"
  },"864": {
    "doc": "SendGrid sending IPs and application static IPs explained",
    "title": "Keep account administration on an approved route",
    "content": "IP restrictions can affect more than the application you are configuring. SendGrid IP Access Management covers UI, API, and SMTP access once activated. Preserve the administrator’s approved browser route and account for other legitimate clients before changing the list. SendGrid IP Access Management . Do not add only the application proxy addresses and assume every account user will still be able to sign in. A browser on an office network or VPN normally has its own source address. ",
    "url": "/docs/apis/sendgrid/ip-addresses-explained/#keep-account-administration-on-an-approved-route",
    "relUrl": "/docs/apis/sendgrid/ip-addresses-explained/#keep-account-administration-on-an-approved-route"
  },"865": {
    "doc": "SendGrid sending IPs and application static IPs explained",
    "title": "Choose a service for API access or email delivery",
    "content": "For an API-access requirement, evaluate your existing fixed egress, a managed proxy, or another approved network design. Consider runtime control, operational work, traffic, region, and whether the IP allocation must be dedicated. For an email-sending requirement, evaluate SendGrid’s sending options and the needs of your email program. The price of an application egress service is not a substitute for the price of a SendGrid email plan. You may need both: an approved source address for API access and a separate sending configuration that meets your delivery requirements. Keeping the two decisions separate makes each easier to review and operate. Explore QuotaGuard Static for the application-to-API connection, and use SendGrid’s dedicated IP documentation for the email-sending side. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/sendgrid/ip-addresses-explained/#choose-the-service-for-the-problem",
    "relUrl": "/docs/apis/sendgrid/ip-addresses-explained/#choose-the-service-for-the-problem"
  },"866": {
    "doc": "SendGrid sending IPs and application static IPs explained",
    "title": "SendGrid sending IPs and application static IPs explained",
    "content": "If you need a fixed IP for SendGrid, start with the connection you want to control. An application’s API requests and SendGrid’s email delivery use different network paths, with different IP addresses and different purposes. Choosing the correct path helps you solve the access-control problem without changing an email delivery setup that already works. ",
    "url": "/docs/apis/sendgrid/ip-addresses-explained/",
    "relUrl": "/docs/apis/sendgrid/ip-addresses-explained/"
  },"867": {
    "doc": "Is the HTTP Proxy Secure when accessing HTTPS services?",
    "title": "Is the HTTP Proxy Secure when accessing HTTPS services?",
    "content": "Yes. You can access HTTPS services via the HTTP proxy whilst still getting full SSL/TLS security. When you make a request via the proxy to an HTTPS endpoint your client should transparently issue a CONNECT request rather than a basic GET request. On receipt of this CONNECT request the proxy will open a tunnel between your client and the endpoint, allowing your client to negotiate a standard SSL session with the endpoint. Once negotiated all traffic sent between your client and the endpoint will be encrypted as if you had connected directly with them. Note: We are also testing HTTPS proxy endpoints, please contact us if you want to trial it with us. With HTTPS endpoint your initial CONNECT request will be also encrypted, this protects proxy credentials and remote hostname but will require additional TLS handshake. Please note that HTTPS endpoints are only supported by libcurl based HTTP client libraries, we recommend to check if your language has bindings for it. ",
    "url": "/docs/outbound-proxy/concepts/is-http-proxy-secure/",
    "relUrl": "/docs/outbound-proxy/concepts/is-http-proxy-secure/"
  },"868": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: For Koyeb’s Frankfurt (fra) region, select QuotaGuard’s EU proxy. For Washington D.C. (was), select US-East. This minimizes latency. To check your Koyeb service’s region, run: . koyeb services list . Look for the REGION column in the output. ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#getting-started",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#getting-started"
  },"869": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Configuring Your Application",
    "content": " ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#configuring-your-application",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#configuring-your-application"
  },"870": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Step 1: Add Your Proxy URL as a Secret",
    "content": "Store your QuotaGuard credentials securely using Koyeb secrets: . koyeb secrets create QUOTAGUARDSTATIC_URL --value \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#step-1-add-your-proxy-url-as-a-secret",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#step-1-add-your-proxy-url-as-a-secret"
  },"871": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Step 2: Reference the Secret in Your Service",
    "content": "When deploying or updating your service, reference the secret as an environment variable: . koyeb apps init my-app \\ --git github.com/myorg/myrepo \\ --env \"QUOTAGUARDSTATIC_URL=\" . Or update an existing service: . koyeb services update my-app/my-service \\ --env \"QUOTAGUARDSTATIC_URL=\" . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#step-2-reference-the-secret-in-your-service",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#step-2-reference-the-secret-in-your-service"
  },"872": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Step 3: Configure Your HTTP Client",
    "content": " ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#step-3-configure-your-http-client",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#step-3-configure-your-http-client"
  },"873": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Python (requests)",
    "content": "import os import requests proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') proxies = { 'http': proxy_url, 'https': proxy_url } response = requests.get('https://api.example.com/data', proxies=proxies) print(response.json()) . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#python-requests",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#python-requests"
  },"874": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Node.js (axios)",
    "content": "const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); axios.get('https://api.example.com/data', { httpsAgent: agent }) .then(response =&gt; console.log(response.data)); . Install the proxy agent: npm install https-proxy-agent . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#nodejs-axios",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#nodejs-axios"
  },"875": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Node.js (fetch with undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const dispatcher = new ProxyAgent(proxyUrl); const response = await fetch('https://api.example.com/data', { dispatcher }); const data = await response.json(); . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#nodejs-fetch-with-undici",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#nodejs-fetch-with-undici"
  },"876": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Go",
    "content": "package main import ( \"fmt\" \"net/http\" \"net/url\" \"os\" ) func main() { proxyURL, _ := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) client := &amp;http.Client{ Transport: &amp;http.Transport{ Proxy: http.ProxyURL(proxyURL), }, } resp, err := client.Get(\"https://api.example.com/data\") if err != nil { panic(err) } defer resp.Body.Close() fmt.Println(\"Status:\", resp.Status) } . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#go",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#go"
  },"877": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Ruby",
    "content": "require 'net/http' require 'uri' proxy_uri = URI.parse(ENV['QUOTAGUARDSTATIC_URL']) http = Net::HTTP.new( 'api.example.com', 443, proxy_uri.host, proxy_uri.port, proxy_uri.user, proxy_uri.password ) http.use_ssl = true response = http.get('/data') puts response.body . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#ruby",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#ruby"
  },"878": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Database Connections (SOCKS5)",
    "content": "For non-HTTP protocols like PostgreSQL, MySQL, or MongoDB, use our SOCKS5 proxy. ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#database-connections-socks5",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#database-connections-socks5"
  },"879": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Step 1: Create a SOCKS Secret",
    "content": "Your SOCKS proxy URL is available in your QuotaGuard dashboard. Add it as a separate secret: . koyeb secrets create QUOTAGUARD_SOCKS_HOST --value \"&lt;your-quotaguard-proxy-host&gt;:1080\" koyeb secrets create QUOTAGUARD_SOCKS_USER --value \"your-username\" koyeb secrets create QUOTAGUARD_SOCKS_PASS --value \"your-password\" . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#step-1-create-a-socks-secret",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#step-1-create-a-socks-secret"
  },"880": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Step 2: Configure Your Database Client",
    "content": " ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#step-2-configure-your-database-client",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#step-2-configure-your-database-client"
  },"881": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Python (PostgreSQL with psycopg2 and socks)",
    "content": "import os import socks import socket import psycopg2 # Configure SOCKS proxy socks.set_default_proxy( socks.SOCKS5, os.environ.get('QUOTAGUARD_SOCKS_HOST').split(':')[0], int(os.environ.get('QUOTAGUARD_SOCKS_HOST').split(':')[1]), username=os.environ.get('QUOTAGUARD_SOCKS_USER'), password=os.environ.get('QUOTAGUARD_SOCKS_PASS') ) socket.socket = socks.socksocket # Connect to database conn = psycopg2.connect( host='your-database.example.com', database='mydb', user='dbuser', password='dbpass' ) . Install dependencies: pip install PySocks psycopg2-binary . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#python-postgresql-with-psycopg2-and-socks",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#python-postgresql-with-psycopg2-and-socks"
  },"882": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Requests to ip.quotaguard.com always return the client’s IP address. Use this to verify your proxy configuration: . # From your local machine with the proxy URL curl -x $QUOTAGUARDSTATIC_URL https://ip.quotaguard.com . Expected response: . {\"ip\":\"52.34.188.175\"} . The IP should match one of the static IPs shown in your QuotaGuard dashboard. ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#testing-your-implementation"
  },"883": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds an additional network hop to your requests. Typical latency impact: . | Same region (e.g., Koyeb fra + QuotaGuard EU): 10-20ms | Cross-region: 50-100ms | . For latency-sensitive applications, always match your QuotaGuard proxy region to your Koyeb deployment region. ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#latency-considerations",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#latency-considerations"
  },"884": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Troubleshooting",
    "content": "407 Proxy Authentication Required Your credentials are incorrect. Double-check the username and password in your QUOTAGUARDSTATIC_URL secret. Connection Timeout Ensure your Koyeb service can reach external networks. Check that you’re not blocking outbound traffic in any network policies. Wrong IP Address Returned The proxy URL might not be correctly configured in your HTTP client. Verify the environment variable is being read correctly. ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#troubleshooting",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#troubleshooting"
  },"885": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . ",
    "url": "/docs/platforms/koyeb/koyeb-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/#ready-to-get-started"
  },"886": {
    "doc": "QuotaGuard and Koyeb Integration Guide",
    "title": "QuotaGuard and Koyeb Integration Guide",
    "content": "QuotaGuard Static IPs allow your services on Koyeb to send outbound traffic through a load-balanced pair of static IP addresses. Once set up, you can use QuotaGuard’s IPs to connect to IP-restricted databases and APIs outside your Koyeb network. You do not need QuotaGuard to connect between services within your Koyeb private network. ",
    "url": "/docs/platforms/koyeb/koyeb-integration/",
    "relUrl": "/docs/platforms/koyeb/koyeb-integration/"
  },"887": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Why Kubernetes Needs Static Egress IPs",
    "content": "Kubernetes presents unique egress challenges that infrastructure-level solutions struggle to solve: . Dynamic Pod IPs: Pods receive ephemeral IPs from your cluster’s CIDR range. When a pod is rescheduled, it gets a new IP. You cannot allowlist individual pod IPs on external firewalls. Node-level SNAT: By default, Kubernetes SNATs outbound pod traffic to node IPs. Nodes also scale up and down, creating large, unpredictable CIDR ranges that external services refuse to allowlist. Serverless Kubernetes: AWS Fargate for EKS and GKE Autopilot abstract away nodes entirely. You cannot assign static IPs at the infrastructure level because you do not control the underlying infrastructure. HPA Scaling: The Horizontal Pod Autoscaler can scale your deployment from 10 to 1,000 pods based on load. Infrastructure-level solutions that allocate IPs per pod cause IP exhaustion. Shared NAT gateways become expensive bottlenecks. Multi-tenant Clusters: Different namespaces may need different static IPs for compliance, billing separation, or partner requirements. Infrastructure-level solutions typically operate cluster-wide without namespace granularity. QuotaGuard solves these problems by operating at the pod level. Your application routes traffic through the proxy regardless of where the pod runs, how many replicas exist, or what CNI you use. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#why-kubernetes-needs-static-egress-ips",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#why-kubernetes-needs-static-egress-ips"
  },"888": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Native Options (Complex and Expensive)",
    "content": "Kubernetes offers several native approaches to static egress. Each has significant tradeoffs: . | Solution | Pros | Cons | . | Cloud NAT Gateways | Managed service, cluster-wide | Expensive (hourly + per-GB fees), no pod/namespace granularity, can exceed compute costs | . | AKS Static Egress Gateway | Microsoft-managed, pod annotation routing | Azure-only, requires K8s 1.34+, dedicated node pools | . | Antrea Egress SNAT | Open source, IP pool support | Requires Antrea CNI, v1.2.0+ | . | Calico Egress Gateways | Namespace-level granularity | Commercial license only, not in Calico Open Source | . | nirmata/kube-static-egress-ip | Works across CNIs | Alpha stage, self-managed, DaemonSet overhead | . | Service Mesh (Istio) | Flexible egress control | Complex setup, significant resource overhead | . Cloud NAT Gateways are the most common approach. AWS NAT Gateway costs $0.045/hour plus $0.045/GB processed. A cluster processing 1TB of egress monthly pays ~$77 for the gateway alone. This cost compounds across multiple availability zones and regions. And you still get no namespace-level granularity. QuotaGuard advantages: . | Works on EKS, GKE, AKS, bare metal. Same configuration everywhere. | Operates at pod level. Works with Fargate for EKS and GKE Autopilot. | Namespace-level granularity. Different credentials per namespace for compliance and billing. | HPA-friendly. Scales without IP exhaustion. Connection pooling handled by QuotaGuard. | Predictable pricing. No per-GB egress fees beyond your QuotaGuard plan. | Audit logging. Distinct credentials per namespace for traffic attribution. | . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#native-options-complex-and-expensive",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#native-options-complex-and-expensive"
  },"889": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Match your QuotaGuard region to your cluster’s location for minimum latency. | Cloud Provider Region | QuotaGuard Region | . | us-east-1, us-east-2 | US-East | . | us-west-1, us-west-2 | US-West | . | ca-central-1 | Canada (Montreal) | . | eu-west-1, eu-west-2 | EU-West (Ireland) | . | eu-central-1 | EU-Central (Frankfurt) | . | ap-southeast-1 | AP-Southeast (Singapore) | . | ap-northeast-1 | AP-Northeast (Tokyo) | . | ap-southeast-2 | Australia (Sydney) | . Your proxy URL will look like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Finding Your Static IPs: Your two static IPs are displayed in the QuotaGuard dashboard. Both IPs are active simultaneously for high availability. Add both to any firewall allowlists on the target service side. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#getting-started",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#getting-started"
  },"890": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Method 1: Environment Variable Injection",
    "content": "The simplest approach. Store your proxy URL in a Kubernetes Secret and inject it as environment variables. Most languages and HTTP clients automatically respect HTTP_PROXY and HTTPS_PROXY environment variables. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#method-1-environment-variable-injection",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#method-1-environment-variable-injection"
  },"891": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 1: Create a Secret",
    "content": "Store your QuotaGuard credentials securely: . kubectl create secret generic quotaguard-proxy \\ --from-literal=QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ -n your-namespace . Or use a YAML manifest for GitOps workflows: . # quotaguard-secret.yaml apiVersion: v1 kind: Secret metadata: name: quotaguard-proxy namespace: your-namespace type: Opaque stringData: QUOTAGUARDSTATIC_URL: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . Apply it: . kubectl apply -f quotaguard-secret.yaml . Important: For production, use a secrets management solution like Sealed Secrets, External Secrets Operator, or your cloud provider’s secrets manager integration. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-1-create-a-secret",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-1-create-a-secret"
  },"892": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 2: Create a NO_PROXY ConfigMap",
    "content": "This is critical. Without NO_PROXY, internal cluster traffic routes through the proxy and breaks service-to-service communication. # quotaguard-config.yaml apiVersion: v1 kind: ConfigMap metadata: name: quotaguard-config namespace: your-namespace data: NO_PROXY: \"localhost,127.0.0.1,.svc.cluster.local,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16\" . Apply it: . kubectl apply -f quotaguard-config.yaml . Adjust the CIDRs to match your cluster: . | Check your pod CIDR: kubectl cluster-info dump | grep -m 1 cluster-cidr | Check your service CIDR: kubectl cluster-info dump | grep -m 1 service-cluster-ip-range | . Common configurations: . | Cluster Type | Typical Pod CIDR | Typical Service CIDR | . | EKS | 10.0.0.0/16 | 172.20.0.0/16 | . | GKE | 10.0.0.0/14 | 10.4.0.0/14 | . | AKS | 10.244.0.0/16 | 10.0.0.0/16 | . | k3s | 10.42.0.0/16 | 10.43.0.0/16 | . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-2-create-a-no_proxy-configmap",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-2-create-a-no_proxy-configmap"
  },"893": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 3: Configure Your Deployment",
    "content": "Reference both the Secret and ConfigMap in your deployment: . # deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: my-app namespace: your-namespace spec: replicas: 3 selector: matchLabels: app: my-app template: metadata: labels: app: my-app spec: containers: - name: my-app image: my-app:latest env: # Inject proxy URL from Secret - name: QUOTAGUARDSTATIC_URL valueFrom: secretKeyRef: name: quotaguard-proxy key: QUOTAGUARDSTATIC_URL # Set standard proxy environment variables - name: HTTP_PROXY valueFrom: secretKeyRef: name: quotaguard-proxy key: QUOTAGUARDSTATIC_URL - name: HTTPS_PROXY valueFrom: secretKeyRef: name: quotaguard-proxy key: QUOTAGUARDSTATIC_URL # Exclude internal traffic from proxy - name: NO_PROXY valueFrom: configMapKeyRef: name: quotaguard-config key: NO_PROXY . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-3-configure-your-deployment",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-3-configure-your-deployment"
  },"894": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Languages That Respect Proxy Environment Variables",
    "content": "Many languages and HTTP clients automatically use HTTP_PROXY and HTTPS_PROXY when set: . | Language | HTTP Client | Auto-Proxy Support | . | Python | requests, httpx, urllib3 | Yes | . | Node.js | axios (with config), node-fetch v3+ | Partial | . | Go | net/http | Yes | . | Ruby | Net::HTTP, Faraday | Yes | . | Java | OkHttp, Apache HttpClient | Configurable | . | Rust | reqwest | Yes | . Node.js note: Native fetch and many npm packages do not automatically respect proxy environment variables. See the language-specific examples below. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#languages-that-respect-proxy-environment-variables",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#languages-that-respect-proxy-environment-variables"
  },"895": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Python Example (Auto-Proxy)",
    "content": "Python’s requests library respects environment variables automatically: . import requests # No explicit proxy configuration needed when HTTP_PROXY/HTTPS_PROXY are set response = requests.get('https://api.example.com/data') print(response.json()) . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#python-example-auto-proxy",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#python-example-auto-proxy"
  },"896": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Go Example (Auto-Proxy)",
    "content": "Go’s net/http respects environment variables automatically: . package main import ( \"fmt\" \"io\" \"net/http\" ) func main() { // No explicit proxy configuration needed when HTTP_PROXY/HTTPS_PROXY are set resp, err := http.Get(\"https://api.example.com/data\") if err != nil { panic(err) } defer resp.Body.Close() body, _ := io.ReadAll(resp.Body) fmt.Println(string(body)) } . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#go-example-auto-proxy",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#go-example-auto-proxy"
  },"897": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Ruby Example (Auto-Proxy)",
    "content": "Ruby’s Net::HTTP respects environment variables automatically: . require 'net/http' require 'uri' # No explicit proxy configuration needed when HTTP_PROXY/HTTPS_PROXY are set uri = URI('https://api.example.com/data') response = Net::HTTP.get(uri) puts response . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#ruby-example-auto-proxy",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#ruby-example-auto-proxy"
  },"898": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Node.js Example (Explicit Configuration Required)",
    "content": "Node.js does not automatically respect proxy environment variables. You must configure the proxy explicitly: . const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); axios.get('https://api.example.com/data', { httpsAgent: agent }) .then(response =&gt; console.log(response.data)) .catch(error =&gt; console.error(error)); . Install the proxy agent: npm install https-proxy-agent . Using fetch with undici: . import { ProxyAgent, fetch } from 'undici'; const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const dispatcher = new ProxyAgent(proxyUrl); const response = await fetch('https://api.example.com/data', { dispatcher }); const data = await response.json(); console.log(data); . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#nodejs-example-explicit-configuration-required",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#nodejs-example-explicit-configuration-required"
  },"899": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Method 2: QGTunnel Sidecar",
    "content": "For applications that do not respect proxy environment variables, or for database connections over non-HTTP protocols, use QGTunnel as a sidecar container. QGTunnel creates local port mappings that route traffic through QuotaGuard’s SOCKS5 proxy. Your application connects to localhost, and QGTunnel handles the proxying transparently. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#method-2-qgtunnel-sidecar",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#method-2-qgtunnel-sidecar"
  },"900": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 1: Create Secrets for QGTunnel",
    "content": "# qgtunnel-secret.yaml apiVersion: v1 kind: Secret metadata: name: quotaguard-qgtunnel namespace: your-namespace type: Opaque stringData: QUOTAGUARDSTATIC_URL: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-1-create-secrets-for-qgtunnel",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-1-create-secrets-for-qgtunnel"
  },"901": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 2: Configure Tunnel in QuotaGuard Dashboard",
    "content": "Open your QuotaGuard dashboard and navigate to Settings &gt; Setup &gt; Tunnel &gt; Create Tunnel. Example PostgreSQL configuration: . | Setting | Value | . | Remote Destination | tcp://your-database.example.com:5432 | . | Local Port | 5432 | . | Transparent | false | . | Encrypted | false | . Note: In Kubernetes, you typically want Transparent: false because you will configure your application to connect to localhost rather than the original hostname. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-2-configure-tunnel-in-quotaguard-dashboard",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-2-configure-tunnel-in-quotaguard-dashboard"
  },"902": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 3: Download Configuration File",
    "content": "In your QuotaGuard dashboard, go to Tunnel &gt; Download configuration and save it as .qgtunnel. Create a ConfigMap from this file: . kubectl create configmap qgtunnel-config \\ --from-file=.qgtunnel \\ -n your-namespace . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-3-download-configuration-file",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-3-download-configuration-file"
  },"903": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 4: Deploy with Sidecar",
    "content": "# deployment-with-sidecar.yaml apiVersion: apps/v1 kind: Deployment metadata: name: my-app namespace: your-namespace spec: replicas: 3 selector: matchLabels: app: my-app template: metadata: labels: app: my-app spec: containers: # Your application container - name: my-app image: my-app:latest env: # Point database connection to localhost (where QGTunnel listens) - name: DATABASE_HOST value: \"localhost\" - name: DATABASE_PORT value: \"5432\" # QGTunnel sidecar container - name: qgtunnel image: quotaguard/qgtunnel:latest env: - name: QUOTAGUARDSTATIC_URL valueFrom: secretKeyRef: name: quotaguard-qgtunnel key: QUOTAGUARDSTATIC_URL volumeMounts: - name: qgtunnel-config mountPath: /app/.qgtunnel subPath: .qgtunnel resources: requests: memory: \"32Mi\" cpu: \"10m\" limits: memory: \"64Mi\" cpu: \"100m\" volumes: - name: qgtunnel-config configMap: name: qgtunnel-config . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-4-deploy-with-sidecar",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-4-deploy-with-sidecar"
  },"904": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Step 5: Configure Your Application",
    "content": "With QGTunnel running as a sidecar, your application connects to localhost on the configured port: . Python (PostgreSQL): . import psycopg2 # Connect to localhost where QGTunnel listens conn = psycopg2.connect( host='localhost', # QGTunnel sidecar port=5432, database='mydb', user='dbuser', password='dbpass' ) . Node.js (MongoDB): . const { MongoClient } = require('mongodb'); // Connect to localhost where QGTunnel listens const client = new MongoClient('mongodb://localhost:27017/mydb'); await client.connect(); . No proxy-aware code required. Your application thinks it is connecting directly. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#step-5-configure-your-application",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#step-5-configure-your-application"
  },"905": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Method 3: Helm Chart Integration",
    "content": "For production deployments using Helm, template your proxy configuration for environment-specific credentials. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#method-3-helm-chart-integration",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#method-3-helm-chart-integration"
  },"906": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "values.yaml",
    "content": "# values.yaml quotaguard: enabled: true secretName: quotaguard-proxy # Different URLs per environment proxyUrl: \"\" # Set via --set or environment-specific values file noProxy: \"localhost,127.0.0.1,.svc.cluster.local,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16\" . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#valuesyaml",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#valuesyaml"
  },"907": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "values-production.yaml",
    "content": "# values-production.yaml quotaguard: enabled: true proxyUrl: \"http://prod-user:prod-pass@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#values-productionyaml",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#values-productionyaml"
  },"908": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "values-staging.yaml",
    "content": "# values-staging.yaml quotaguard: enabled: true proxyUrl: \"http://staging-user:staging-pass@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#values-stagingyaml",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#values-stagingyaml"
  },"909": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "templates/secret.yaml",
    "content": "{{- if .Values.quotaguard.enabled }} apiVersion: v1 kind: Secret metadata: name: {{ .Values.quotaguard.secretName }} type: Opaque stringData: QUOTAGUARDSTATIC_URL: {{ .Values.quotaguard.proxyUrl | quote }} {{- end }} . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#templatessecretyaml",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#templatessecretyaml"
  },"910": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "templates/configmap.yaml",
    "content": "{{- if .Values.quotaguard.enabled }} apiVersion: v1 kind: ConfigMap metadata: name: quotaguard-config data: NO_PROXY: {{ .Values.quotaguard.noProxy | quote }} {{- end }} . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#templatesconfigmapyaml",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#templatesconfigmapyaml"
  },"911": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "templates/deployment.yaml",
    "content": "apiVersion: apps/v1 kind: Deployment metadata: name: {{ include \"myapp.fullname\" . }} spec: template: spec: containers: - name: {{ .Chart.Name }} image: \"{{ .Values.image.repository }}:{{ .Values.image.tag }}\" env: {{- if .Values.quotaguard.enabled }} - name: QUOTAGUARDSTATIC_URL valueFrom: secretKeyRef: name: {{ .Values.quotaguard.secretName }} key: QUOTAGUARDSTATIC_URL - name: HTTP_PROXY valueFrom: secretKeyRef: name: {{ .Values.quotaguard.secretName }} key: QUOTAGUARDSTATIC_URL - name: HTTPS_PROXY valueFrom: secretKeyRef: name: {{ .Values.quotaguard.secretName }} key: QUOTAGUARDSTATIC_URL - name: NO_PROXY valueFrom: configMapKeyRef: name: quotaguard-config key: NO_PROXY {{- end }} . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#templatesdeploymentyaml",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#templatesdeploymentyaml"
  },"912": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Deploying with Helm",
    "content": "# Production helm upgrade --install my-app ./my-chart -f values-production.yaml # Staging helm upgrade --install my-app ./my-chart -f values-staging.yaml # Or pass the proxy URL directly helm upgrade --install my-app ./my-chart \\ --set quotaguard.proxyUrl=\"http://user:pass@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#deploying-with-helm",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#deploying-with-helm"
  },"913": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Multi-Tenant / Multi-Namespace Setup",
    "content": "For clusters serving multiple teams or customers, use separate QuotaGuard credentials per namespace. This provides: . | Traffic attribution: Know which namespace generated which traffic | Billing separation: Charge different cost centers appropriately | Security isolation: Compromised credentials in one namespace do not affect others | Compliance: Different IPs for different regulatory requirements | . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#multi-tenant--multi-namespace-setup",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#multi-tenant--multi-namespace-setup"
  },"914": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Per-Namespace Secrets",
    "content": "Create a QuotaGuard account (or sub-account) for each namespace: . # Team A namespace kubectl create secret generic quotaguard-proxy \\ --from-literal=QUOTAGUARDSTATIC_URL=\"http://team-a-user:team-a-pass@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ -n team-a # Team B namespace kubectl create secret generic quotaguard-proxy \\ --from-literal=QUOTAGUARDSTATIC_URL=\"http://team-b-user:team-b-pass@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ -n team-b . Each namespace gets its own static IP pair. Partners can allowlist team-specific IPs. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#per-namespace-secrets",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#per-namespace-secrets"
  },"915": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Automatic Injection with Mutating Webhook",
    "content": "For cluster-wide automatic injection, consider a mutating admission webhook that adds proxy environment variables to all pods in specific namespaces. Tools like Kyverno or Gatekeeper can implement this pattern. Example Kyverno policy: . apiVersion: kyverno.io/v1 kind: ClusterPolicy metadata: name: inject-quotaguard-proxy spec: rules: - name: inject-proxy-env match: resources: kinds: - Pod namespaces: - team-a - team-b mutate: patchStrategicMerge: spec: containers: - (name): \"*\" env: - name: HTTP_PROXY valueFrom: secretKeyRef: name: quotaguard-proxy key: QUOTAGUARDSTATIC_URL - name: HTTPS_PROXY valueFrom: secretKeyRef: name: quotaguard-proxy key: QUOTAGUARDSTATIC_URL - name: NO_PROXY value: \"localhost,127.0.0.1,.svc.cluster.local,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16\" . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#automatic-injection-with-mutating-webhook",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#automatic-injection-with-mutating-webhook"
  },"916": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Database Connections (SOCKS5)",
    "content": "For non-HTTP protocols like PostgreSQL, MySQL, or MongoDB, use QuotaGuard’s SOCKS5 proxy on port 1080. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#database-connections-socks5",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#database-connections-socks5"
  },"917": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Option A: QGTunnel Sidecar (Recommended)",
    "content": "See Method 2 above. QGTunnel creates local port mappings, so your application connects to localhost without any proxy-aware code. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#option-a-qgtunnel-sidecar-recommended",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#option-a-qgtunnel-sidecar-recommended"
  },"918": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Option B: Direct SOCKS5 in Application Code",
    "content": "If you cannot use a sidecar, configure SOCKS5 directly in your application: . Python (PostgreSQL with PySocks): . import os import socks import socket import psycopg2 # Parse SOCKS credentials from environment socks_host = os.environ.get('QUOTAGUARD_SOCKS_HOST', '&lt;your-quotaguard-proxy-host&gt;') socks_port = int(os.environ.get('QUOTAGUARD_SOCKS_PORT', '1080')) socks_user = os.environ.get('QUOTAGUARD_SOCKS_USER') socks_pass = os.environ.get('QUOTAGUARD_SOCKS_PASS') # Configure SOCKS proxy socks.set_default_proxy( socks.SOCKS5, socks_host, socks_port, username=socks_user, password=socks_pass ) socket.socket = socks.socksocket # Connect to database conn = psycopg2.connect( host='your-database.example.com', database='mydb', user='dbuser', password='dbpass' ) . Install dependencies: pip install PySocks psycopg2-binary . Kubernetes Secret for SOCKS5: . apiVersion: v1 kind: Secret metadata: name: quotaguard-socks namespace: your-namespace type: Opaque stringData: QUOTAGUARD_SOCKS_HOST: \"&lt;your-quotaguard-proxy-host&gt;\" QUOTAGUARD_SOCKS_PORT: \"1080\" QUOTAGUARD_SOCKS_USER: \"your-username\" QUOTAGUARD_SOCKS_PASS: \"your-password\" . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#option-b-direct-socks5-in-application-code",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#option-b-direct-socks5-in-application-code"
  },"919": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Serverless Kubernetes (Fargate for EKS, GKE Autopilot)",
    "content": "QuotaGuard works seamlessly with serverless Kubernetes offerings because it operates at the pod level, not the node level. AWS Fargate for EKS: . Fargate runs each pod on its own isolated micro-VM. You cannot control node IPs or configure NAT at the infrastructure level. QuotaGuard works because your pod configures the proxy internally. # Works on Fargate - no infrastructure changes needed apiVersion: apps/v1 kind: Deployment metadata: name: my-app spec: template: spec: containers: - name: my-app image: my-app:latest env: - name: HTTP_PROXY valueFrom: secretKeyRef: name: quotaguard-proxy key: QUOTAGUARDSTATIC_URL - name: HTTPS_PROXY valueFrom: secretKeyRef: name: quotaguard-proxy key: QUOTAGUARDSTATIC_URL - name: NO_PROXY value: \"localhost,127.0.0.1,.svc.cluster.local,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16\" . GKE Autopilot: . Same approach. Autopilot manages nodes automatically. QuotaGuard configuration stays the same regardless of where Google schedules your pods. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#serverless-kubernetes-fargate-for-eks-gke-autopilot",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#serverless-kubernetes-fargate-for-eks-gke-autopilot"
  },"920": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Verify your static IP configuration by requesting ip.quotaguard.com: . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#testing-your-implementation"
  },"921": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Quick Test Pod",
    "content": "kubectl run test-proxy --rm -it --restart=Never \\ --env=\"HTTP_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ --env=\"HTTPS_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ --image=curlimages/curl -- \\ curl -s https://ip.quotaguard.com . Expected response: . {\"ip\":\"52.34.188.175\"} . The returned IP should match one of your two static IPs shown in the QuotaGuard dashboard. Run it multiple times to see both IPs in action (load-balanced). ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#quick-test-pod",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#quick-test-pod"
  },"922": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Test from Running Pod",
    "content": "kubectl exec -it my-app-pod-xyz -n your-namespace -- \\ curl -s https://ip.quotaguard.com . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#test-from-running-pod",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#test-from-running-pod"
  },"923": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Application-Level Test",
    "content": "Add a health check endpoint that verifies proxy configuration: . # Python/Flask example import os import requests from flask import Flask, jsonify app = Flask(__name__) @app.route('/health/proxy') def proxy_health(): proxy_url = os.environ.get('QUOTAGUARDSTATIC_URL') if not proxy_url: return jsonify({'error': 'Proxy not configured'}), 500 proxies = {'http': proxy_url, 'https': proxy_url} try: response = requests.get('https://ip.quotaguard.com', proxies=proxies, timeout=10) return jsonify({ 'static_ip': response.json()['ip'], 'proxy_configured': True }) except Exception as e: return jsonify({'error': str(e)}), 500 . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#application-level-test",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#application-level-test"
  },"924": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds a network hop to your requests: . | Configuration | Added Latency | . | Same region (cluster + proxy) | 10-30ms | . | Cross-region | 50-100ms | . Recommendations: . | Match regions: Deploy QuotaGuard proxy in the same region as your cluster | Selective proxying: Only route traffic that requires static IPs through the proxy. Use NO_PROXY to keep internal and public traffic direct. | Connection pooling: QuotaGuard handles connection pooling. You do not need to limit concurrent connections from your pods. | . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#latency-considerations",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#latency-considerations"
  },"925": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Troubleshooting",
    "content": "407 Proxy Authentication Required . Your credentials are incorrect. Verify the username and password in your Secret: . kubectl get secret quotaguard-proxy -n your-namespace -o jsonpath='{.data.QUOTAGUARDSTATIC_URL}' | base64 -d . Connection Timeout to External Services . | Verify your pods can reach external networks (check NetworkPolicies) | Check that the QuotaGuard proxy hostname is correct | Ensure port 9293 is not blocked by your cluster’s egress policies | . Internal Services Unreachable (Service-to-Service Calls Failing) . Your NO_PROXY configuration is missing or incorrect. Internal cluster traffic is routing through the proxy. | Verify the ConfigMap contains correct CIDRs | Check that your deployment references the ConfigMap | Verify the CIDRs match your cluster’s pod and service ranges | . # Check your cluster's CIDRs kubectl cluster-info dump | grep -E \"(cluster-cidr|service-cluster-ip-range)\" . Wrong IP Address Returned . The proxy may not be configured correctly: . | Verify environment variables are set in the pod: kubectl exec pod-xyz -- env | grep PROXY | Check that your HTTP client respects proxy environment variables | For Node.js, ensure you are using explicit proxy configuration | . QGTunnel Sidecar Not Working . | Check sidecar logs: kubectl logs pod-xyz -c qgtunnel | Verify the .qgtunnel config file is mounted correctly | Ensure QUOTAGUARDSTATIC_URL secret is accessible to the sidecar | Enable debug logging by setting QGTUNNEL_DEBUG=true | . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#troubleshooting",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#troubleshooting"
  },"926": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "QuotaGuard offers two products for static IPs: . | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Encryption | Outbound payload never decrypted (both products) | Outbound payload never decrypted; Shield adds a TLS-encrypted app-to-proxy hop | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . For most Kubernetes workloads, QuotaGuard Static provides everything you need. Choose Shield if you are handling protected health information (PHI), payment card data, or have specific compliance requirements such as HIPAA or PCI. Neither product decrypts your payload; Shield encrypts the hop between your app and the proxy with TLS. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#quotaguard-static-vs-quotaguard-shield"
  },"927": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Kubernetes Integration Features . Contact Support . ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/#ready-to-get-started"
  },"928": {
    "doc": "QuotaGuard and Kubernetes Integration Guide",
    "title": "QuotaGuard and Kubernetes Integration Guide",
    "content": "QuotaGuard Static IPs allow your Kubernetes workloads to send outbound traffic through a load-balanced pair of static IP addresses. Once set up, you can use QuotaGuard’s IPs to connect to firewalled databases and APIs that require IP allowlisting. You do not need QuotaGuard for internal cluster traffic. Service-to-service communication within your Kubernetes cluster stays internal. QuotaGuard is for connecting to external services that require a known, static source IP address. ",
    "url": "/docs/platforms/kubernetes/kubernetes-integration/",
    "relUrl": "/docs/platforms/kubernetes/kubernetes-integration/"
  },"929": {
    "doc": "How to Label Your Subscriptions",
    "title": "How to Label Your Subscriptions",
    "content": "Every QuotaGuard subscription is identified by a generated username. If your account has more than one subscription, those usernames can be hard to tell apart. You can add a label to each subscription to record which app, environment, or customer it belongs to. A label is for identification only. Setting, changing, or removing a label does not affect your credentials, your proxy or IP addresses, or your billing. Step 1: Log into your QuotaGuard Account. Step 2: In the upper right dropdown, select Manage Subscriptions. Step 3: In the Label field on a subscription, type a label and click Save. Changing or removing a label works the same way: edit or clear the field and click Save again. The label appears in parentheses next to the username on the subscriptions page and in the subscription selector in the upper right: . As you move around the dashboard, the selector shows the subscription you are currently working with: . If you have any questions, please contact us at QuotaGuard Support. ",
    "url": "/docs/account/subscriptions/label-your-subscriptions/",
    "relUrl": "/docs/account/subscriptions/label-your-subscriptions/"
  },"930": {
    "doc": "Accessing an LDAP Server from Ruby via QuotaGuard Static",
    "title": "Accessing an LDAP Server from Ruby via QuotaGuard Static",
    "content": "As part of our service, we offer a SOCKS5 proxy which is accessible on your assigned QuotaGuard Static server on port 1080. SOCKS5 provides TCP level proxying so can handle all sorts of traffic including LDAP. Ruby has a great LDAP library which can handle the bulk of the work but at the moment it doesn’t support sending traffic via a proxy. To get around this limitation, we have produced a patched version of net-ldap which routes all LDAP traffic through our SOCKS proxy. This requires a patched version of socksify-ruby, so you just need to install these two gems from our Github repository. Copy # Gemfilegem 'socksify', github: \"quotaguard/socksify-ruby\", branch: \"master\"gem 'net-ldap', github: \"quotaguard/ruby-net-ldap\", branch: \"master\" . ",
    "url": "/docs/outbound-proxy/ruby/ldap-connection/",
    "relUrl": "/docs/outbound-proxy/ruby/ldap-connection/"
  },"931": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "Who is affected",
    "content": "Only tunnels that have encrypted = true in the .qgtunnel file, or the Encrypted box checked in the dashboard. On these tunnels QGTunnel itself makes the TLS connection to your destination. You are not affected if: . | Your tunnels do not use encrypted. This is the usual setup for databases, where your application or database driver does its own TLS through the tunnel. Nothing changed for these tunnels. | Your destination supports current TLS. Most do. QGTunnel connects to it exactly as before. | . ",
    "url": "/docs/qgtunnel/legacy-tls/#who-is-affected",
    "relUrl": "/docs/qgtunnel/legacy-tls/#who-is-affected"
  },"932": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "What changed",
    "content": "Version 2.8.0 refuses three things that version 2.7.7 accepted on encrypted tunnels: . | Your destination | What you see in the QGTunnel log | . | Supports only RSA key exchange (no ECDHE and no TLS 1.3) | TLS Handshake error: remote error: tls: handshake failure | . | Is a TLS 1.2 server that can only sign its handshake with SHA-1 | TLS Handshake error: remote error: tls: handshake failure | . | Presents a certificate with a negative serial number | TLS Handshake error: tls: failed to parse certificate from server: x509: negative serial number | . After any of these, QGTunnel also logs a line that names the setting below. All three are properties of older or non-standard servers. Nothing changed in how QGTunnel connects to the QuotaGuard proxy. ",
    "url": "/docs/qgtunnel/legacy-tls/#what-changed",
    "relUrl": "/docs/qgtunnel/legacy-tls/#what-changed"
  },"933": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "How to restore the previous behavior",
    "content": "Set this environment variable where QGTunnel runs, then restart your application: . Copy QGTUNNEL_LEGACY_TLS=true . On Heroku: . Copy heroku config:set QGTUNNEL_LEGACY_TLS=true . With the setting on, QGTunnel accepts all three cases above again. ",
    "url": "/docs/qgtunnel/legacy-tls/#how-to-restore-the-previous-behavior",
    "relUrl": "/docs/qgtunnel/legacy-tls/#how-to-restore-the-previous-behavior"
  },"934": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "What the setting does",
    "content": ". | It only widens what QGTunnel accepts. A destination that supports current TLS still negotiates current TLS. It is safe to turn on when you have a mix of old and new destinations. | It applies to encrypted tunnels only. | It does not change the connection between QGTunnel and the QuotaGuard proxy. | It does not change how your own application does TLS. Your application’s environment is passed through as it was. | It does not bring back TLS 1.0, TLS 1.1, 3DES, or certificates signed with SHA-1. Version 2.7.7 already refused those. | . ",
    "url": "/docs/qgtunnel/legacy-tls/#what-the-setting-does",
    "relUrl": "/docs/qgtunnel/legacy-tls/#what-the-setting-does"
  },"935": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "The better long-term fix",
    "content": "The setting keeps an older server working. It does not make that connection any stronger. If you control the destination, or can ask its operator, the lasting fix is on the server: . | Enable ECDHE cipher suites or TLS 1.3. | Allow SHA-256 signatures in the TLS handshake. | Reissue the certificate with a positive serial number. | . Once the server is updated you can remove the setting. ",
    "url": "/docs/qgtunnel/legacy-tls/#the-better-long-term-fix",
    "relUrl": "/docs/qgtunnel/legacy-tls/#the-better-long-term-fix"
  },"936": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "How to check a destination",
    "content": "From a machine that is allowed to reach the destination, this shows whether it accepts a modern key exchange: . Copy openssl s_client -connect HOST:PORT -servername HOST -tls1_2 -cipher 'ECDHE' &lt;/dev/null . If that fails with a handshake failure and the same command with -cipher 'kRSA' succeeds, the server supports RSA key exchange only. This prints the certificate serial number. A leading minus sign means it is negative: . Copy openssl s_client -connect HOST:PORT -servername HOST &lt;/dev/null 2&gt;/dev/null | openssl x509 -noout -serial . Many destinations only answer the static IP addresses of your QuotaGuard subscription. In that case run the commands from a host that is on the destination’s allowlist. ",
    "url": "/docs/qgtunnel/legacy-tls/#how-to-check-a-destination",
    "relUrl": "/docs/qgtunnel/legacy-tls/#how-to-check-a-destination"
  },"937": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "Staying on the previous version",
    "content": "Every QGTunnel release stays available under its own version number. If you would rather not change anything yet, pin version 2.7.7 as described under Pinning a version on the changelog page. ",
    "url": "/docs/qgtunnel/legacy-tls/#staying-on-the-previous-version",
    "relUrl": "/docs/qgtunnel/legacy-tls/#staying-on-the-previous-version"
  },"938": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "Other changes in 2.8.0 that may matter to you",
    "content": ". | The macOS downloads require macOS 13 or later. Version 2.7.7 ran on macOS 11. | The Linux downloads require Linux kernel 3.2 or later. | The wording of some log lines for failed proxy connections changed. Each line still begins with Unable to dial. | . ",
    "url": "/docs/qgtunnel/legacy-tls/#other-changes-in-280-that-may-matter-to-you",
    "relUrl": "/docs/qgtunnel/legacy-tls/#other-changes-in-280-that-may-matter-to-you"
  },"939": {
    "doc": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "title": "Why does an encrypted tunnel fail its TLS handshake after I upgrade QGTunnel?",
    "content": "Starting with version 2.8.0, QGTunnel is built with a current Go release and follows its TLS defaults. These are stricter than the defaults in version 2.7.7 and earlier. A small number of older destination servers that 2.7.7 connected to are refused by 2.8.0 unless you turn on one setting. This page explains who is affected, how to recognize it, and how to restore the previous behavior. ",
    "url": "/docs/qgtunnel/legacy-tls/",
    "relUrl": "/docs/qgtunnel/legacy-tls/"
  },"940": {
    "doc": "Log Viewer",
    "title": "Using the Log Viewer",
    "content": ". | Log into your QuotaGuard Dashboard | Click Logs in the top navigation | Select the subscription you want to inspect from the dropdown | . Logs are retained for a rolling window. If you need longer retention or more granular data, see What Analytics are Available? and What if I Need More Detailed Static IP Logging? . ",
    "url": "/docs/getting-started/log-viewer/#using-the-log-viewer",
    "relUrl": "/docs/getting-started/log-viewer/#using-the-log-viewer"
  },"941": {
    "doc": "Log Viewer",
    "title": "Troubleshooting with Logs",
    "content": "If requests aren’t reaching their destination, check: . | Is traffic appearing in the log at all? If not, the proxy isn’t being used. | Is the response code a 407? See QuotaGuard Error 407 for authentication issues. | Are you seeing unexpected IP addresses? Your proxy credentials may be misconfigured. | . ",
    "url": "/docs/getting-started/log-viewer/#troubleshooting-with-logs",
    "relUrl": "/docs/getting-started/log-viewer/#troubleshooting-with-logs"
  },"942": {
    "doc": "Log Viewer",
    "title": "Log Viewer",
    "content": "The QuotaGuard Log Viewer is accessible from your QuotaGuard Dashboard under the Logs section. It shows a real-time and historical view of your recent proxy requests, including: . | Timestamp: When the request was made | Method and URL: What was requested | Response code: Whether the request succeeded | Bytes transferred: Useful for SOCKS bandwidth tracking | . ",
    "url": "/docs/getting-started/log-viewer/",
    "relUrl": "/docs/getting-started/log-viewer/"
  },"943": {
    "doc": "QuotaGuard and Lovable Integration Guide",
    "title": "What Is Actually Making the Outbound Call",
    "content": "Lovable now provides a Cloud backend, server-side functions, and custom connectors in addition to the generated frontend. Identify the component making the protected request before choosing an egress route. The browser’s IP belongs to the end user and is not a stable application identity. Lovable’s custom-connector gateway publishes shared fixed IPv4 185.41.150.0/25 and IPv6 2a07:8241:fca::/48 ranges. Use that native route when the destination accepts the shared ranges and the connector supports the request and authentication model. Use QuotaGuard when the destination needs a much smaller portable allowlist, when selected server-side code must use a managed proxy route, or when Enterprise dedicated infrastructure is required for customer-only source addresses. QuotaGuard operates the proxy infrastructure, availability, failover, monitoring, capacity, maintenance, support, and incident response. ",
    "url": "/docs/platforms/lovable/lovable-integration/#what-is-actually-making-the-outbound-call",
    "relUrl": "/docs/platforms/lovable/lovable-integration/#what-is-actually-making-the-outbound-call"
  },"944": {
    "doc": "QuotaGuard and Lovable Integration Guide",
    "title": "The Confirmed Lovable and Supabase Path",
    "content": "Lovable’s Supabase integration is available on every Lovable plan. When a project is connected to Supabase, Lovable deploys its server-side code as Supabase Edge Functions. Supabase documents that Edge Functions do not have stable outbound addresses and recommends an outbound proxy when an external service requires IP allowlisting. Supabase Edge Functions run on a Deno-compatible runtime. QuotaGuard has verified Deno.createHttpClient() with authenticated Static HTTP, Static SOCKS5, and Shield HTTPS proxies on current Supabase Edge Runtime versions. That gives Lovable applications a direct selective route: . Lovable frontend -&gt; Supabase Edge Function generated by Lovable -&gt; QuotaGuard -&gt; IP-allowlisted API or service . Store QUOTAGUARDSTATIC_URL in Supabase Edge Function secrets, then configure the exact fetch() call that opens the protected connection with a proxy-aware Deno client. Only those selected calls use QuotaGuard; unrelated application traffic keeps its normal route. Storing the URL as a secret protects the credential, but does not route traffic by itself. Follow the complete code and production verification procedure in the QuotaGuard and Supabase Edge Functions Integration Guide. ",
    "url": "/docs/platforms/lovable/lovable-integration/#the-confirmed-lovable-and-supabase-path",
    "relUrl": "/docs/platforms/lovable/lovable-integration/#the-confirmed-lovable-and-supabase-path"
  },"945": {
    "doc": "QuotaGuard and Lovable Integration Guide",
    "title": "Choose the Right Address Model",
    "content": "Standard QuotaGuard subscriptions provide a stable pair of addresses on shared managed proxy infrastructure. Allowlist both addresses. When the firewall requires source addresses that are not shared with other customers, use an Enterprise dedicated configuration. For Lovable’s built-in Cloud backend, put the protected call in server-side Edge Function code, keep the connection URL in Lovable Secrets, and configure the request client explicitly. For a separately deployed backend, use the proxy support provided by that runtime’s HTTP client. The Lovable React frontend must call the server-side operation rather than receiving either the destination secret or QuotaGuard credentials. Keep destination authentication and authorization in place. A matching source address is an additional security layer, not proof of application or user identity. ",
    "url": "/docs/platforms/lovable/lovable-integration/#choose-the-right-address-model",
    "relUrl": "/docs/platforms/lovable/lovable-integration/#choose-the-right-address-model"
  },"946": {
    "doc": "QuotaGuard and Lovable Integration Guide",
    "title": "If You Exported and Self-Host",
    "content": "If you exported your Lovable project to GitHub and self-host the app, the static IP attaches to whatever host runs your server-side code. Follow that platform’s guide: . | Vercel | Netlify | . A QuotaGuard identity can remain portable when the backend moves between supported platforms, but each runtime and HTTP client must be configured explicitly. ",
    "url": "/docs/platforms/lovable/lovable-integration/#if-you-exported-and-self-host",
    "relUrl": "/docs/platforms/lovable/lovable-integration/#if-you-exported-and-self-host"
  },"947": {
    "doc": "QuotaGuard and Lovable Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/platforms/lovable/lovable-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/lovable/lovable-integration/#ready-to-get-started"
  },"948": {
    "doc": "QuotaGuard and Lovable Integration Guide",
    "title": "QuotaGuard and Lovable Integration Guide",
    "content": "A Lovable application’s outbound identity depends on which server-side component opens the connection. That may be a Lovable custom connector, a Lovable Cloud server-side function, a Supabase Edge Function, or a backend deployed on another platform. Never place proxy credentials in browser-delivered React code. ",
    "url": "/docs/platforms/lovable/lovable-integration/",
    "relUrl": "/docs/platforms/lovable/lovable-integration/"
  },"949": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Why Make Scenarios Get Blocked",
    "content": "Make uses shared AWS IP pools that rotate across each zone (US1, US2, EU1, EU2). Each zone has three egress IP addresses that Make rotates through. These IPs are shared with every other Make user in that zone, which creates problems: . | Enterprise firewalls and WAFs block cloud IP ranges by default | Corporate APIs require IP allowlisting for access | Financial services and healthcare APIs enforce strict access controls | Google Workspace Context-Aware Access policies reject unknown IPs | Database providers like MongoDB Atlas and Amazon RDS use IP-based security groups | . The result is 403 Forbidden, connection refused, or authentication failures that have nothing to do with your scenario logic. Your API keys are valid. Your configuration is correct. The target service is simply blocking the shared Make IP addresses. Even if you ask a partner to allowlist Make’s IPs, they would need to open their firewall to every Make user in your zone. Most security teams reject this request. QuotaGuard gives your Make scenarios a fixed IP identity that partners can add to their firewall allowlists instead of opening their firewall to Make’s shared ranges. ",
    "url": "/docs/automation/make-integration/#why-make-scenarios-get-blocked",
    "relUrl": "/docs/automation/make-integration/#why-make-scenarios-get-blocked"
  },"950": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Make’s Native IP Addresses",
    "content": "For reference, these are the egress IP addresses Make publishes per zone: . | Zone | IP Addresses | . | us2.make.com | 44.209.150.16, 44.210.162.163, 35.170.163.230 | . | us1.make.com | 54.209.79.175, 54.80.47.193, 54.161.178.114 | . | eu2.make.com | 34.254.1.9, 52.31.156.93, 52.50.32.186 | . | eu1.make.com | 54.75.157.176, 54.78.149.203, 52.18.144.195 | . | us1.make.celonis.com | 44.196.246.20, 3.94.51.90, 52.4.48.212 | . | eu1.make.celonis.com | 3.125.27.86, 3.68.125.41, 18.193.24.45 | . Make maintains this list in Allow connections to and from Make IP addresses, where it also notes that its ingress addresses are dynamic, so only the egress list above is usable for an outbound allowlist. These IPs are shared across all Make users in each zone. QuotaGuard provides an allowlistable static IP pair assigned to your subscription. ",
    "url": "/docs/automation/make-integration/#makes-native-ip-addresses",
    "relUrl": "/docs/automation/make-integration/#makes-native-ip-addresses"
  },"951": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Follow the connection details, HTTP-module Steps 1–4 and test scenario below. For the Shield relay alternative, use Using QuotaGuard Shield through an HTTPS relay. If a check fails, use Troubleshooting. ",
    "url": "/docs/automation/make-integration/#guided-setup-quickstart",
    "relUrl": "/docs/automation/make-integration/#guided-setup-quickstart"
  },"952": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Match your QuotaGuard region to your Make zone for optimal latency and data residency compliance. | Make Zone | QuotaGuard Region | . | us1.make.com | US-East | . | us2.make.com | US-East | . | eu1.make.com | EU (Ireland) | . | eu2.make.com | EU (Ireland) | . Finding Your Make Zone: Look at your Make dashboard URL. If it starts with eu1.make.com, you’re in the EU1 zone. If it starts with us2.make.com, you’re in US2. You can also check your organization settings. Finding Your Static IPs: Your two static IPs are displayed in the QuotaGuard dashboard. Both IPs are active simultaneously for high availability. Add both to any firewall allowlists you’re configuring on the target service side. Your QuotaGuard proxy URL looks like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . For Make, you will need to split this into components: . | Host: &lt;your-quotaguard-proxy-host&gt; | Port: 9293 | Username: Your subscription proxy username | Password: Your subscription proxy password, not your QuotaGuard account password | . ",
    "url": "/docs/automation/make-integration/#getting-started",
    "relUrl": "/docs/automation/make-integration/#getting-started"
  },"953": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Configuring Make Scenarios",
    "content": "Make’s HTTP module includes native proxy support in the Advanced Settings section. This works with all Make subscription tiers, including the free plan. ",
    "url": "/docs/automation/make-integration/#configuring-make-scenarios",
    "relUrl": "/docs/automation/make-integration/#configuring-make-scenarios"
  },"954": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 1: Add an HTTP Module to Your Scenario",
    "content": "In the Make scenario editor, add an HTTP module. The current HTTP app, version 4, ships three: . | Make a request for any HTTP call, which is the one you want here | Download a file for retrieving a file | Resolve URL for expanding a shortened or redirecting URL | . Authentication moved into the module in version 4. Rather than choosing a separate Basic Auth or API Key Auth module, set the Authentication type field on Make a request to No authentication, API key, Basic Auth or OAuth 2.0, then attach the matching Credentials: API key and Basic Auth store theirs in a keychain, OAuth 2.0 uses a connection. If your scenario still shows older module names such as Make a Basic Auth request, it is running HTTP (legacy), which you select as Version 3 in the app’s version drop-down. Proxy configuration works the same way in both versions. ",
    "url": "/docs/automation/make-integration/#step-1-add-an-http-module-to-your-scenario",
    "relUrl": "/docs/automation/make-integration/#step-1-add-an-http-module-to-your-scenario"
  },"955": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 2: Configure Your Request",
    "content": "Set up your HTTP request as you normally would: . | Enter the URL of the API endpoint you’re calling | Select the Method (GET, POST, PUT, etc.) | Add any required Headers and Body content | Configure Authentication if needed | . ",
    "url": "/docs/automation/make-integration/#step-2-configure-your-request",
    "relUrl": "/docs/automation/make-integration/#step-2-configure-your-request"
  },"956": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 3: Enable the Proxy in Advanced Settings",
    "content": "Scroll down to the Advanced settings section at the bottom of the HTTP module configuration panel. | Find the Proxy field | Click Create a keychain (or select an existing one if you’ve configured QuotaGuard before) | In the popup window, configure the following fields: | . | Field | Value | . | Host | &lt;your-quotaguard-proxy-host&gt; (your proxy host from the QuotaGuard dashboard) | . | Port | 9293 | . | Username | Your subscription proxy username from the dashboard connection details | . | Password | Your subscription proxy password from the dashboard connection details, not your account password | . | Save the keychain | The proxy is now active for this HTTP module | . The same Advanced settings panel holds a Transport layer security (TLS) option offering None, Mutual TLS and TLS, plus a separate CA certificate keychain. Both describe the connection to your target API rather than the hop to the proxy, so neither changes how the module reaches QuotaGuard. The proxy keychain’s four fields are exactly what QuotaGuard Static’s HTTP proxy endpoint takes: your proxy host, port 9293, and your subscription proxy credentials. QuotaGuard Shield’s outbound endpoint has a different shape, an https:// URL on port 9294. ",
    "url": "/docs/automation/make-integration/#step-3-enable-the-proxy-in-advanced-settings",
    "relUrl": "/docs/automation/make-integration/#step-3-enable-the-proxy-in-advanced-settings"
  },"957": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 4: Reuse the Keychain Across Modules",
    "content": "Once you’ve created a QuotaGuard keychain, you can reuse it in any other HTTP module within your scenario or across scenarios. Select the existing keychain from the Proxy dropdown instead of creating a new one. This is more secure than copying credentials into each module and makes key rotation easier. ",
    "url": "/docs/automation/make-integration/#step-4-reuse-the-keychain-across-modules",
    "relUrl": "/docs/automation/make-integration/#step-4-reuse-the-keychain-across-modules"
  },"958": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Create a simple test scenario to verify your proxy configuration is working: . ",
    "url": "/docs/automation/make-integration/#testing-your-implementation",
    "relUrl": "/docs/automation/make-integration/#testing-your-implementation"
  },"959": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 1: Create a Test Scenario",
    "content": ". | Create a new scenario in Make | Add a trigger you can fire on demand. Webhooks &gt; Custom webhook works well: Make gives you a URL you can call whenever you want to run the test | Add an HTTP &gt; Make a request module after it | . ",
    "url": "/docs/automation/make-integration/#step-1-create-a-test-scenario",
    "relUrl": "/docs/automation/make-integration/#step-1-create-a-test-scenario"
  },"960": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 2: Configure the Test Request",
    "content": ". | Set the URL to: https://ip.quotaguard.com | Set the Method to: GET | In Advanced settings, configure the Proxy with your QuotaGuard keychain | . ",
    "url": "/docs/automation/make-integration/#step-2-configure-the-test-request",
    "relUrl": "/docs/automation/make-integration/#step-2-configure-the-test-request"
  },"961": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 3: Run the Scenario",
    "content": "Click Run once in the scenario editor, then call the webhook URL to start the run. The HTTP module’s response body should return JSON with your static IP: . {\"ip\":\"&lt;one of your two assigned QuotaGuard IPs&gt;\"} . The returned IP must match one of the two IPs assigned to your subscription, as shown in the QuotaGuard dashboard. ",
    "url": "/docs/automation/make-integration/#step-3-run-the-scenario",
    "relUrl": "/docs/automation/make-integration/#step-3-run-the-scenario"
  },"962": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Step 4: Verify Load Balancing",
    "content": "You can run the test scenario multiple times. Each returned IP must match either assigned IP in your QuotaGuard dashboard; observing both addresses is not required for success. Allowlist both assigned IPs at the destination. If you see a different IP (one of Make’s native IPs), the proxy configuration is not active. Double-check that the keychain is correctly selected in Advanced Settings. ",
    "url": "/docs/automation/make-integration/#step-4-verify-load-balancing",
    "relUrl": "/docs/automation/make-integration/#step-4-verify-load-balancing"
  },"963": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Programmatic reference",
    "content": "Use the shared connection components, region selection and allowlist, HTTP-module authentication and proxy-keychain configuration, and test scenario and expected response above. The reference continues with regional endpoints, use cases, design patterns, limitations, troubleshooting, the Shield relay alternative and usage monitoring. ",
    "url": "/docs/automation/make-integration/#programmatic-reference",
    "relUrl": "/docs/automation/make-integration/#programmatic-reference"
  },"964": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Regional Proxy Endpoints",
    "content": "QuotaGuard offers multiple regional proxy endpoints across the US, Canada, the EU, Asia-Pacific, and South America. Use the one closest to your Make zone. Your specific endpoint hostname is shown in your QuotaGuard dashboard. The port is always 9293 for HTTP proxy connections. ",
    "url": "/docs/automation/make-integration/#regional-proxy-endpoints",
    "relUrl": "/docs/automation/make-integration/#regional-proxy-endpoints"
  },"965": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Common Use Cases",
    "content": " ",
    "url": "/docs/automation/make-integration/#common-use-cases",
    "relUrl": "/docs/automation/make-integration/#common-use-cases"
  },"966": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Connecting to Firewalled Enterprise APIs",
    "content": "Many enterprise APIs (Salesforce, SAP, Oracle, custom ERPs) require IP allowlisting. Configure the proxy in your HTTP module, then provide your QuotaGuard static IPs to the API provider for their allowlist. ",
    "url": "/docs/automation/make-integration/#connecting-to-firewalled-enterprise-apis",
    "relUrl": "/docs/automation/make-integration/#connecting-to-firewalled-enterprise-apis"
  },"967": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Banking and Payment Gateway Integrations",
    "content": "Financial services APIs often have strict IP-based access controls. A static IP from QuotaGuard satisfies these IP-allowlisting requirements while keeping your automation running on Make. ",
    "url": "/docs/automation/make-integration/#banking-and-payment-gateway-integrations",
    "relUrl": "/docs/automation/make-integration/#banking-and-payment-gateway-integrations"
  },"968": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Google Workspace Context-Aware Access",
    "content": "If your organization uses Google Workspace with Context-Aware Access policies, Make’s shared IPs may be blocked. Route your Google API requests through QuotaGuard, then add your static IPs to the Context-Aware Access policy. ",
    "url": "/docs/automation/make-integration/#google-workspace-context-aware-access",
    "relUrl": "/docs/automation/make-integration/#google-workspace-context-aware-access"
  },"969": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Database Connections via HTTP APIs",
    "content": "While Make’s built-in database modules don’t support proxy configuration, many databases offer HTTP/REST APIs: . | Airtable via REST API | Firebase via REST API | Supabase via PostgREST | Neon via its SQL-over-HTTP endpoint | . MongoDB’s Atlas Data API used to belong on that list; it reached end of life on 30 September 2025, so Atlas now needs a driver connection or a relay function rather than an HTTP call from Make. Taking Supabase as the example, a Make a request module pointed at https://your-project.supabase.co/rest/v1/users with the proxy keychain selected reads that table through your static IPs. Send the key in an apikey header: publishable and secret keys are short strings rather than JWTs, and an Authorization: Bearer header belongs there only when you are acting as a signed-in user and have that user’s own JWT. Both roles require SELECT grants for the queried data. With RLS enabled, anon and authenticated also need a matching SELECT policy; secret keys use service_role and bypass RLS. Use the HTTP module with QuotaGuard to access these APIs when direct database connections are blocked. ",
    "url": "/docs/automation/make-integration/#database-connections-via-http-apis",
    "relUrl": "/docs/automation/make-integration/#database-connections-via-http-apis"
  },"970": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Avoiding Rate Limiting from IP Reputation",
    "content": "Make’s shared IPs are sometimes rate-limited more aggressively because they’re associated with high-volume automated traffic. ",
    "url": "/docs/automation/make-integration/#avoiding-rate-limiting-from-ip-reputation",
    "relUrl": "/docs/automation/make-integration/#avoiding-rate-limiting-from-ip-reputation"
  },"971": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Legacy SOAP Services",
    "content": "QuotaGuard works transparently with SOAP endpoints. Set the Content-Type to text/xml or application/soap+xml, include your SOAP envelope in the body, and the proxy handles the connection. ",
    "url": "/docs/automation/make-integration/#legacy-soap-services",
    "relUrl": "/docs/automation/make-integration/#legacy-soap-services"
  },"972": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Scenario Design Patterns",
    "content": " ",
    "url": "/docs/automation/make-integration/#scenario-design-patterns",
    "relUrl": "/docs/automation/make-integration/#scenario-design-patterns"
  },"973": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Pattern 1: Selective Proxy Routing",
    "content": "Only route sensitive requests through QuotaGuard to minimize latency and quota usage: . | Module 1: Trigger (webhook, scheduler, etc.) | Module 2: HTTP request to public API (no proxy) | Module 3: HTTP request to firewalled API (QuotaGuard proxy enabled) | Module 4: Process and store results | . This approach is cost-effective when only some of your API calls require static IPs. ",
    "url": "/docs/automation/make-integration/#pattern-1-selective-proxy-routing",
    "relUrl": "/docs/automation/make-integration/#pattern-1-selective-proxy-routing"
  },"974": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Pattern 2: All-Proxy Scenarios",
    "content": "For scenarios where all endpoints require static IPs or consistent IP identity: . | Create a single QuotaGuard keychain | Apply it to every HTTP module in the scenario | All traffic routes through your static IPs | . ",
    "url": "/docs/automation/make-integration/#pattern-2-all-proxy-scenarios",
    "relUrl": "/docs/automation/make-integration/#pattern-2-all-proxy-scenarios"
  },"975": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Pattern 3: Error Handling with IP Verification",
    "content": "Add validation to your scenarios: . | Before making the sensitive API call, call https://ip.quotaguard.com with the proxy | Use a Filter module to verify the returned IP matches either of your two assigned QuotaGuard IPs | Only proceed if the IP check passes | This catches misconfigurations before they cause production failures | . ",
    "url": "/docs/automation/make-integration/#pattern-3-error-handling-with-ip-verification",
    "relUrl": "/docs/automation/make-integration/#pattern-3-error-handling-with-ip-verification"
  },"976": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds a network hop to your requests: . | Configuration | Added Latency | . | Same region (Make EU + QuotaGuard EU) | 10-30ms | . | Cross-region | 50-150ms | . For high-volume or latency-sensitive scenarios, match your QuotaGuard region to your Make zone. Timeout Settings: If you have strict timeouts configured on your HTTP modules (e.g., 5 seconds), consider increasing them slightly (e.g., 10-15 seconds) to account for the proxy routing. This is especially important for cross-region configurations. ",
    "url": "/docs/automation/make-integration/#latency-considerations",
    "relUrl": "/docs/automation/make-integration/#latency-considerations"
  },"977": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Limitations",
    "content": " ",
    "url": "/docs/automation/make-integration/#limitations",
    "relUrl": "/docs/automation/make-integration/#limitations"
  },"978": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "App-Specific Modules",
    "content": "Make’s built-in app modules (Slack, Gmail, Salesforce, etc.) make HTTP requests internally but do not expose proxy configuration. The proxy setting is only available in the HTTP module family. Workaround: Use the HTTP module with the service’s raw API instead of the app-specific module. For example, use Salesforce’s REST API via HTTP instead of the Salesforce module. ",
    "url": "/docs/automation/make-integration/#app-specific-modules",
    "relUrl": "/docs/automation/make-integration/#app-specific-modules"
  },"979": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Database Modules",
    "content": "Make’s native database modules (MySQL, PostgreSQL, MongoDB) connect directly to databases over TCP, not HTTP. These modules do not support proxy configuration. Workaround: If your database offers a REST/HTTP API, such as Supabase’s PostgREST front end, use the HTTP module with QuotaGuard. Otherwise, build a lightweight API wrapper on a platform that supports SOCKS5 (a small Express server on Heroku or Render with QuotaGuard’s QGTunnel, for example) and call that from Make. ",
    "url": "/docs/automation/make-integration/#database-modules",
    "relUrl": "/docs/automation/make-integration/#database-modules"
  },"980": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "SFTP/FTP Modules",
    "content": "SFTP and FTP modules use non-HTTP protocols and do not support the HTTP proxy setting. Workaround: For SFTP operations requiring static IPs, you would need an intermediary service. Contact QuotaGuard support for enterprise options. ",
    "url": "/docs/automation/make-integration/#sftpftp-modules",
    "relUrl": "/docs/automation/make-integration/#sftpftp-modules"
  },"981": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/automation/make-integration/#troubleshooting",
    "relUrl": "/docs/automation/make-integration/#troubleshooting"
  },"982": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "403 Forbidden Errors",
    "content": "If you’re still seeing 403 errors after configuring the proxy: . | Verify the proxy is active: Test with ip.quotaguard.com to confirm traffic routes through QuotaGuard | Check the destination allowlist: Ensure both of your QuotaGuard static IPs are added to the target service’s firewall | Confirm the keychain is selected: The proxy keychain must be explicitly selected in each HTTP module’s Advanced Settings | . ",
    "url": "/docs/automation/make-integration/#403-forbidden-errors",
    "relUrl": "/docs/automation/make-integration/#403-forbidden-errors"
  },"983": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your proxy credentials are incorrect: . | Verify the subscription proxy username and password in your keychain match the dashboard connection details, not your QuotaGuard account login | Check for extra spaces or special characters that may have been copied incorrectly | Ensure the host and port are exactly as shown in your dashboard | . ",
    "url": "/docs/automation/make-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/automation/make-integration/#407-proxy-authentication-required"
  },"984": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Connection Timeout",
    "content": ". | Verify the proxy hostname is correct (check your QuotaGuard dashboard) | Ensure port 9293 is used for HTTP proxy connections | Try increasing the timeout setting in the HTTP module’s Advanced Settings | Test from a different Make zone if possible | . ",
    "url": "/docs/automation/make-integration/#connection-timeout",
    "relUrl": "/docs/automation/make-integration/#connection-timeout"
  },"985": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Wrong IP Address Returned",
    "content": "The proxy may not be configured correctly: . | Verify the keychain is selected in Advanced Settings (not just created) | Check that you’re not testing a cached response | Try deleting and recreating the keychain | Ensure you’re testing with the HTTP module, not an app-specific module | . ",
    "url": "/docs/automation/make-integration/#wrong-ip-address-returned",
    "relUrl": "/docs/automation/make-integration/#wrong-ip-address-returned"
  },"986": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Scenario Execution Time Increased",
    "content": "This is expected when routing through a proxy. How much the extra hop adds depends on which QuotaGuard region you use relative to your Make zone and on the destination you are calling; see Latency Considerations above. If this is problematic: . | Ensure you’re using a QuotaGuard region that matches your Make zone | Only proxy requests that actually require static IPs | Consider batching API calls where possible to reduce the number of proxied requests | . ",
    "url": "/docs/automation/make-integration/#scenario-execution-time-increased",
    "relUrl": "/docs/automation/make-integration/#scenario-execution-time-increased"
  },"987": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "QuotaGuard offers two products for static IPs: . | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Encryption | Outbound payload never decrypted (both products) | Outbound payload never decrypted; Shield adds a TLS-encrypted app-to-proxy hop | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . For most Make scenarios, QuotaGuard Static provides everything you need. Choose Shield if you’re handling protected health information (PHI), payment card data, or have specific compliance requirements such as HIPAA or PCI. Neither product decrypts your payload; Shield encrypts the hop between your app and the proxy with TLS. ",
    "url": "/docs/automation/make-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/automation/make-integration/#quotaguard-static-vs-quotaguard-shield"
  },"988": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Using QuotaGuard Shield through an HTTPS relay",
    "content": "Route individual HTTP &gt; Make a request calls as Make → your HTTPS relay → QuotaGuard Shield → HTTPS API, using the shared relay pattern. | Follow the Shield Lambda relay setup. On the relay, set QUOTAGUARDSHIELD_URL to your exact Shield dashboard Connection URL (https://, port 9294) and RELAY_KEY to a long random secret. | In Make HTTP v4, set URL to the relay’s HTTPS Function URL, choose the destination’s method and body, and leave Advanced settings &gt; Proxy unset. Select API key authentication and configure API key credentials: Key = your RELAY_KEY value, API key placement = In the header, API key parameter name = X-Relay-Key. | Add X-Target-URL with the full HTTPS destination URL, including any query parameters. The relay forwards Content-Type, Accept, and Authorization; supply the destination’s Authorization header if required. Prefix other destination headers with X-Fwd-: X-Fwd-X-Api-Key reaches the target as X-Api-Key. Relay control headers stay at the relay. | Verify routing with GET, no body or destination credentials, and X-Target-URL: https://ip.quotaguard.com. The response’s ip must match either assigned IP in your Shield dashboard. Allowlist both IPs at the destination, then restore the destination URL, method, body, and authentication headers. | . The relay terminates Make’s HTTPS connection and can read request headers and bodies; treat it as a trusted processing component. Shield adds TLS between the relay and proxy. Only HTTP calls sent to the relay use this route. ",
    "url": "/docs/automation/make-integration/#using-quotaguard-shield-through-an-https-relay",
    "relUrl": "/docs/automation/make-integration/#using-quotaguard-shield-through-an-https-relay"
  },"989": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Monitoring and Usage",
    "content": " ",
    "url": "/docs/automation/make-integration/#monitoring-and-usage",
    "relUrl": "/docs/automation/make-integration/#monitoring-and-usage"
  },"990": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Checking Your Quota",
    "content": "Log in to the QuotaGuard dashboard to view: . | Current monthly usage (request count and bandwidth) | Remaining quota | Usage trends over time | . ",
    "url": "/docs/automation/make-integration/#checking-your-quota",
    "relUrl": "/docs/automation/make-integration/#checking-your-quota"
  },"991": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Operations Impact",
    "content": "Using a proxy in Make’s HTTP module does not consume extra Make operations. The proxy configuration is a setting within the existing HTTP module, not a separate step. ",
    "url": "/docs/automation/make-integration/#operations-impact",
    "relUrl": "/docs/automation/make-integration/#operations-impact"
  },"992": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Get QuotaGuard for Make . View Make Integration Features . Contact Support . ",
    "url": "/docs/automation/make-integration/#ready-to-get-started",
    "relUrl": "/docs/automation/make-integration/#ready-to-get-started"
  },"993": {
    "doc": "QuotaGuard and Make Integration Guide",
    "title": "QuotaGuard and Make Integration Guide",
    "content": "QuotaGuard Static IPs allow your Make scenarios to send outbound HTTP requests through a load-balanced pair of static IP addresses. Once configured, you can use QuotaGuard’s IPs to connect to firewalled APIs, enterprise databases, and services that require IP allowlisting. You do not need QuotaGuard for internal Make operations or connections to services that don’t require IP whitelisting. QuotaGuard is specifically for reaching external services that block requests from unknown IP addresses. ",
    "url": "/docs/automation/make-integration/",
    "relUrl": "/docs/automation/make-integration/"
  },"994": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Start Here: Blocking Mode or Monitoring Mode",
    "content": "The login IP allowlist is a standing security control in Marketing Cloud Engagement (MCE), and Salesforce requires every account to use it in blocking mode. The steps on this page are the same whatever mode your account is in today. What changes is the order in which you make each change safe. | Your account is already in blocking mode (Log Violations and Deny Access). Add both QuotaGuard IPs with the API login source before you switch an API client to the proxy. In blocking mode a request from an address that is not on the applicable list is denied, so moving a client first and allowlisting second causes an outage. After the switch, check the Access Log for denied attempts from that client. | Your account is in monitoring mode (Log Allowlist Violations). Add both QuotaGuard IPs, switch the client, and use the Access Log to confirm that its requests no longer appear as violations. Salesforce recommends at least two weeks of monitoring before you enable blocking. | The allowlist is disabled, or you are not sure. Open Security Settings and read Restrict Logins by IP Address (IP Allowlisting) first. Then follow the monitoring-mode path. | . Each business unit can use its own list, so check the mode and the list source for every business unit your integration uses (Step 1). ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#start-here-blocking-mode-or-monitoring-mode",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#start-here-blocking-mode-or-monitoring-mode"
  },"995": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "How the MCE Login IP Allowlist Works",
    "content": "This summary reflects Salesforce’s documentation for the Login IP Allowlist. | It covers UI and API access. When the allowlist is on, it applies to logins to the MCE web interface and through the API. | Each range has a login source. A range can allow API access, User Interface access, or Any (both). An API client’s address needs the API or Any source. An administrator’s browser network needs User Interface or Any. | Lists can be per business unit or inherited. In Enterprise 2.0 accounts, ranges can be defined at the business unit level or inherited from the Enterprise level. | Entries are ranges. Each entry has a beginning and an ending IP address. A single address uses the same value in both fields. | Existing sessions persist. When an administrator switches to blocking mode, users who are already logged in stay logged in. Enforcement applies at their next login. | The Access Log records out-of-list attempts in both monitoring and blocking mode. | . The Restrict Logins by IP Address (IP Allowlisting) setting has three values: . | Setting | Also called | Logins from addresses not on the list | Access Log | . | IP Allowlisting Disabled |   | Allowed | Not tracked | . | Log Allowlist Violations | Monitoring mode | Allowed | Recorded | . | Log Violations and Deny Access | Blocking mode | Denied | Recorded | . See Enable and Configure the Login IP Allowlist. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#how-the-mce-login-ip-allowlist-works",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#how-the-mce-login-ip-allowlist-works"
  },"996": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Blocking Mode Is Required for Every Account",
    "content": "Salesforce requires all MCE accounts to use the login IP allowlist in blocking mode, and its notice states that customers cannot opt out. Salesforce describes blocking mode as applying to both UI login and API access. Its guidance is to review the allowlist and its Access Log regularly, and add denied addresses that are legitimate. See Salesforce’s MCE enforcement notice. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#blocking-mode-is-required-for-every-account",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#blocking-mode-is-required-for-every-account"
  },"997": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Enforcement background",
    "content": "The dated facts below come from Salesforce’s enforcement notice. They explain how Salesforce introduced the requirement and the timeline it announced. They are not a deadline for your account: Salesforce sets each affected account’s enforcement date individually and notifies the customer by email. | June 2026: Salesforce published the enforcement notice (Knowledge Article 005387198). The notice describes two stages. | Stage 1, recommended IP ranges: Salesforce began offering recommended IP ranges for administrators to review and accept. The recommendations come from successful authentications over the past six months, excluding known malicious addresses. They are offered only when the total is under 100 unique IP ranges, and they don’t override ranges already on the allowlist. | Stage 2, phased blocking-mode enforcement: Salesforce’s notice describes phased blocking-mode enforcement by January 2027 for accounts where the login allowlist is disabled or in monitoring mode, including enterprise and business-unit configurations. Affected customers receive their specific enforcement date by email. There is no universal date that applies to every account. Accounts already using blocking mode keep their settings. | . Salesforce’s notice describes what enforcement does to each configuration: . | Level | Configuration before enforcement | What Salesforce does | . | Enterprise (EID) | Blocking mode | No change | . | Enterprise (EID) | Disabled, or no IP list | Enables blocking mode and applies Salesforce-recommended baseline ranges | . | Enterprise (EID) | Monitoring mode | Enables blocking mode, keeps your list, and appends Salesforce-recommended ranges | . | Business unit (MID) with its own configuration | Blocking mode | No change | . | Business unit (MID) with its own configuration | Monitoring mode | Enables blocking mode and appends Salesforce-recommended ranges to your list | . | Business unit (MID) with its own configuration | Disabled | Enables blocking mode with the Enterprise-level list source | . All other business units inherit the Enterprise-level configuration. Recommendations are provided at the Enterprise level, not for individual business units. If enforcement has already moved your account to blocking mode, review the ranges Salesforce appended. Recommendations are built from past successful logins, so they can include addresses a cloud workload used before and miss addresses it will use next. Replace broad or transient cloud ranges with the stable egress addresses your clients actually use. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#enforcement-background",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#enforcement-background"
  },"998": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Why MCE API Clients Need a Stable Egress IP",
    "content": "Blocking mode only works if your API traffic arrives from addresses you can list. Salesforce’s guidance for broad or dynamic IP ranges is to establish a stable egress path before you turn on blocking mode. Common MCE API clients whose default outbound address changes include: . | PaaS apps on Heroku, Render, Railway, Fly.io, or similar platforms, where the outbound address can change when the app is deployed, restarted, or scaled. | Serverless functions on AWS Lambda, Vercel, Netlify Functions, Google Cloud Run, or Azure Functions without a NAT gateway. | Containers and Kubernetes pods whose node pool egresses through ephemeral public IPs. | CI/CD jobs and scheduled automations, such as GitHub Actions hosted runners or n8n workflows. | Middleware and integration services that sync subscribers, data extensions, or journey events between MCE and a CRM, data warehouse, or e-commerce platform. | . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#why-mce-api-clients-need-a-stable-egress-ip",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#why-mce-api-clients-need-a-stable-egress-ip"
  },"999": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "QuotaGuard and the other stable-egress options",
    "content": "Salesforce lists several ways to give MCE traffic a stable source address. You can keep a suitable path you already run, use QuotaGuard instead of it, or use QuotaGuard alongside it for some clients. QuotaGuard fits Salesforce’s egress proxy option. It covers runtimes that have no practical native static egress, such as many PaaS and serverless platforms. Teams that do have native options also choose it for portability, because the same proxy URL and IP pair go with a client when it moves between hosts or clouds; for managed infrastructure, because you don’t build or operate NAT gateways, Elastic IPs, or proxy servers; and for redundancy, because the pair runs across two Availability Zones with automatic failover. | Approach (from Salesforce’s list) | Good fit when | What to account for | . | Static cloud egress, such as an Elastic IP | The client runs on one instance or network you control | Usually not available on PaaS or serverless runtimes | . | Centralized cloud NAT or egress gateway | Workloads already sit in a VPC you manage | You build and pay for the NAT path in each cloud and region | . | Corporate VPN | Administrators and on-premises jobs | Cloud workloads rarely egress through it | . | Enterprise gateway | API traffic already passes through a gateway or service bus | Configure the gateway’s outbound addresses | . | Egress proxy, such as QuotaGuard | PaaS, serverless, multi-cloud, or hosted clients that support an HTTP proxy, and teams that want one managed egress identity across hosts | Each client must be configured to use the proxy | . What QuotaGuard provides for an MCE API client: . | Two static IPs per subscription. Every subscription is assigned a load-balanced pair, and you allowlist both. An account can hold several subscriptions, and each has its own pair. | Failover without a new address. The two proxy nodes run in separate AWS Availability Zones. If one fails, new connections continue through the other in about 90 seconds and egress from your other allowlisted IP. You never see a third IP. | Addresses that stay put. The pair is reserved for the life of the subscription. Ordinary plan upgrades and downgrades don’t change it. QuotaGuard’s plan-change documentation lists two downgrade exceptions; contact support before either one. A subscription on a dedicated proxy that downgrades below Enterprise moves to a shared proxy and receives new IPs. On Heroku, AWS, and Azure marketplace subscriptions, downgrading below the Micro plan affects inbound proxies, because inbound is not included below that tier. Moving to dedicated IPs after an Enterprise upgrade is optional, and it also assigns a new pair. Switching between Static and Shield or changing region changes the pair too (see Troubleshooting). | One configuration across hosts. The same proxy URL works from any platform that lets the HTTP client set a proxy. | 12 AWS regions. Choose the region closest to your client. | . Shared and dedicated IPs: On Starter, Production, and Business plans, the static IP pair is shared with other QuotaGuard customers. Every session is authenticated by your subscription’s own proxy credentials and traffic is never mixed, but an allowlist entry for a shared address is not a single-tenant control. MCE’s own authentication still governs access. If your security policy requires source addresses used only by your organization, Enterprise plans include dedicated IPs. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#quotaguard-and-the-other-stable-egress-options",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#quotaguard-and-the-other-stable-egress-options"
  },"1000": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Guided setup (Quickstart)",
    "content": "This first setup connects a server-to-server Installed Package integration through QuotaGuard and checks that MCE accepts it. You need a Marketing Cloud Administrator to edit the allowlist, your package’s API credentials and Authorization Base URI, and access to the runtime where the application runs. For the command-line checks, have curl and jq available there. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#guided-setup-quickstart",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#guided-setup-quickstart"
  },"1001": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "1. Get your connection details",
    "content": "Open your QuotaGuard subscription’s dashboard, or create an account. Copy its two static IPv4 addresses and exact proxy connection URL. Choose Static or Shield before adding addresses, since they use different IP pairs. For Static, store the dashboard URL securely as QUOTAGUARDSTATIC_URL in the application’s runtime. Don’t put credentials in source control or share your account password. See connection details for region selection and the URL format. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#1-get-your-connection-details",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#1-get-your-connection-details"
  },"1002": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "2. Check the list before changing traffic",
    "content": "In MCE Security Settings &gt; Edit, inspect Restrict Logins by IP Address (IP Allowlisting) and IP Allowlisting List Source for each business unit the integration uses. Keep the administrator’s approved browser range. If blocking is already enabled, add the new entries before switching the client. If monitoring is enabled, leave it in monitoring while you verify. The blocking-versus-monitoring guidance explains the distinction. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#2-check-the-list-before-changing-traffic",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#2-check-the-list-before-changing-traffic"
  },"1003": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "3. Add both dashboard IPs",
    "content": "In MCE Setup, search for Login IP Allowlist, click Create, and enter the first IP as both the beginning and ending address. Choose API as the Login Source and save. Repeat for the second IP on every applicable business-unit list, or on the Enterprise list when inherited. Don’t use the address obtained by resolving the proxy hostname, and don’t replace existing approved ranges. See the full allowlist instructions. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#3-add-both-dashboard-ips",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#3-add-both-dashboard-ips"
  },"1004": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "4. Confirm the proxy route",
    "content": "From the application’s runtime, run: . curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . The JSON ip must match one of the two dashboard addresses. Repeated calls need not show both. This checks routing, not MCE access. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#4-confirm-the-proxy-route",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#4-confirm-the-proxy-route"
  },"1005": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "5. Verify authentication and a read-only API call",
    "content": "Securely supply MCE_AUTH_BASE_URI, MCE_CLIENT_ID and MCE_CLIENT_SECRET from your Installed Package to that runtime. Run the curl example, which requests a token through the proxy, then calls GET /platform/v1/tokenContext through the same proxy using the returned rest_instance_url. Confirm the token response includes an access_token and rest_instance_url, and the REST request succeeds with HTTP 200 and JSON token-context data. To inspect HTTP status with curl, add --write-out '\\nHTTP %{http_code}\\n' to the final REST command, not to the token request whose output is parsed as JSON. Keep tokens out of shared logs. Follow Exercise both IP addresses to repeat the token and API checks through each node; restore the normal proxy hostname afterward to retain failover. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#5-verify-authentication-and-a-read-only-api-call",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#5-verify-authentication-and-a-read-only-api-call"
  },"1006": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "6. Connect the application and check real work",
    "content": "Apply the matching language example to both its authentication and API clients, then run its actual workflow in each intended business unit. Open Login IP Allowlist &gt; View Access Log and investigate new violations before adding any address. In monitoring mode, follow the monitoring review, including Salesforce’s recommended two weeks, before enabling blocking. If already blocking, keep it enabled and validate each client after switching. Verify a fresh administrator login too; an existing session doesn’t test the new rules. If a check fails, use Troubleshooting rather than disabling the control. These checks must be run against your own tenant. The documented and untested behavior section explains what has and has not been validated against live MCE. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#6-connect-the-application-and-check-real-work",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#6-connect-the-application-and-check-real-work"
  },"1007": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Programmatic reference",
    "content": "The detailed steps below cover access-path inventory, business-unit list selection, tenant endpoints, token and API proxy configuration in multiple languages, and safe allowlist changes. Continue through Testing Your Integration and Troubleshooting to verify the actual workflow and diagnose failures. For SOAP clients, SDKs, and authorization-code integrations, use the additional integration guidance. The earlier allowlist behavior, blocking-versus-monitoring guidance, and stable-egress comparison apply to both reader paths. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#programmatic-reference",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#programmatic-reference"
  },"1008": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Step 1: Identify Both Access Paths and the Applicable List",
    "content": "| Access path | Source addresses to identify | . | Application, middleware or scheduled job to MCE APIs | The API client’s actual public egress. For requests routed through QuotaGuard, use both addresses shown for that subscription in the QuotaGuard dashboard. | . | Administrator’s browser to MCE | The browser network’s public egress, such as an approved office or corporate VPN range. Configuring an application proxy does not configure the browser’s network path. | . Inventory each API client and scheduled workload. Keep a suitable existing stable egress path; use a proxy only where the client supports and is configured for it. Salesforce lists static cloud egress, an egress proxy, corporate VPN and cloud NAT among the available approaches in its enforcement guidance. Include every way your organization reaches MCE APIs: . | Installed Package API integrations. Server-to-server integrations use the client credentials grant. Web app and public app integrations use the authorization code grant. | SOAP API users that authenticate with a username and password, where your tenant still has them. | Third-party tools that call MCE on your behalf, such as ETL connectors, reverse-ETL tools, and agency platforms. Their requests come from the vendor’s network, not yours, so ask the vendor which outbound addresses to allowlist. A QuotaGuard subscription can only cover a client that you configure to use it. | . For Enterprise 2.0 accounts, open Security Settings &gt; Edit and inspect IP Allowlisting List Source. Defined at Business Unit level uses separate business-unit ranges; Defined at Enterprise level inherits the parent account’s ranges. Confirm which list applies to each business unit your integration uses. See Define IP Allowlist Source. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-1-identify-both-access-paths-and-the-applicable-list",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-1-identify-both-access-paths-and-the-applicable-list"
  },"1009": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Step 2: Confirm the Application’s Egress and Tenant Endpoints",
    "content": "Use the exact proxy connection details for your QuotaGuard subscription and configure the HTTP client making the requests. Setting an environment variable alone does not configure every client. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-2-confirm-the-applications-egress-and-tenant-endpoints",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-2-confirm-the-applications-egress-and-tenant-endpoints"
  },"1010": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Get your QuotaGuard connection details",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your MCE API client runs to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. Choose Static or Shield before you allowlist: QuotaGuard Static and QuotaGuard Shield use separate IP pools. If you switch products later, you get new IPs and must update the MCE allowlist. See QuotaGuard Static vs QuotaGuard Shield. Store the connection URL as a secret in your runtime: . QUOTAGUARDSTATIC_URL=\"http://username:password@us-east-static-01.quotaguard.com:9293\" . Use the exact QUOTAGUARDSTATIC_URL value from your dashboard. The proxy host is specific to your region. Your QuotaGuard static IPs are individual IPv4 addresses. Allowlist each one as a single address, not as a CIDR block, and use the two addresses shown in the dashboard. Don’t look up the IP behind the proxy hostname: it is not one of your allowlist addresses. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#get-your-quotaguard-connection-details",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#get-your-quotaguard-connection-details"
  },"1011": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Verify the egress address",
    "content": "For an application already using QUOTAGUARDSTATIC_URL, run this diagnostic from the same runtime: . curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . The JSON response contains an ip value that should match one of the two dashboard addresses: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . Repeated requests can keep showing the same address. They do not prove that both addresses were exercised. Register both dashboard addresses, and validate the MCE authentication and API workflows separately. QuotaGuard picks one of the two IPs for each new connection, not for each request. A client that reuses a connection, or one machine making several connections within a minute, will usually show one address. To check each address on purpose, see Exercise both IP addresses. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#verify-the-egress-address",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#verify-the-egress-address"
  },"1012": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Use your tenant-specific endpoints",
    "content": "For an MCE server-to-server integration in Installed Packages, use its actual Authorization Base URI, appending v2/token as Salesforce documents. Use the returned rest_instance_url or soap_instance_url for resource requests. Configure the clients handling authentication and resource requests for the intended egress path. See MCE access-token instructions. The Authorization Base URI has the form https://&lt;your-subdomain&gt;.auth.marketingcloudapis.com/, and it is shown on the API Integration component of your package in Installed Packages. Salesforce requires tenant-specific marketingcloudapis.com endpoints. You can’t use legacy endpoints or the exacttargetapis.com and exacttarget.com domains. See Your Subdomain and Your Tenant’s Endpoints. Salesforce documents that the allowlist applies to API access. It does not say whether the address check runs on the v2/token request, on each REST or SOAP call, or on both. Route both through the same egress path so either check sees an allowlisted address. Access tokens are valid for 20 minutes, and expires_in reports 1,080 seconds so you refresh two minutes early. Reuse a token for many calls instead of requesting one per call. To target a specific business unit, add account_id with that business unit’s MID to the token request. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#use-your-tenant-specific-endpoints",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#use-your-tenant-specific-endpoints"
  },"1013": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Route token and API requests through QuotaGuard",
    "content": "Each example requests a server-to-server access token through the proxy, then makes a read-only REST call, GET /platform/v1/tokenContext, through the same proxy. That route needs no extra permission scope. The examples expect these environment variables: . | QUOTAGUARDSTATIC_URL: your QuotaGuard connection URL. | MCE_AUTH_BASE_URI: your package’s Authorization Base URI. | MCE_CLIENT_ID and MCE_CLIENT_SECRET: the API integration’s credentials. | . Attach the proxy to each client explicitly. Don’t rely on a global proxy setting unless your runtime guarantees it. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#route-token-and-api-requests-through-quotaguard",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#route-token-and-api-requests-through-quotaguard"
  },"1014": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "curl",
    "content": "TOKEN_JSON=$(curl -sS -x \"$QUOTAGUARDSTATIC_URL\" \\ -H \"Content-Type: application/json\" \\ --data @- \"${MCE_AUTH_BASE_URI%/}/v2/token\" &lt;&lt;EOF {\"grant_type\":\"client_credentials\",\"client_id\":\"$MCE_CLIENT_ID\",\"client_secret\":\"$MCE_CLIENT_SECRET\"} EOF ) ACCESS_TOKEN=$(echo \"$TOKEN_JSON\" | jq -r .access_token) REST_BASE=$(echo \"$TOKEN_JSON\" | jq -r .rest_instance_url) curl -sS -x \"$QUOTAGUARDSTATIC_URL\" \\ -H \"Authorization: Bearer $ACCESS_TOKEN\" \\ \"${REST_BASE%/}/platform/v1/tokenContext\" . The request body is read from standard input so the client secret does not appear in the process list. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#curl",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#curl"
  },"1015": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Python (requests)",
    "content": "import os import requests proxy = os.environ[\"QUOTAGUARDSTATIC_URL\"] proxies = {\"http\": proxy, \"https\": proxy} auth_base = os.environ[\"MCE_AUTH_BASE_URI\"].rstrip(\"/\") token_resp = requests.post( f\"{auth_base}/v2/token\", json={ \"grant_type\": \"client_credentials\", \"client_id\": os.environ[\"MCE_CLIENT_ID\"], \"client_secret\": os.environ[\"MCE_CLIENT_SECRET\"], # \"account_id\": 12345, # MID of the target business unit, if needed }, proxies=proxies, timeout=30, ) token_resp.raise_for_status() token = token_resp.json() rest_base = token[\"rest_instance_url\"].rstrip(\"/\") context = requests.get( f\"{rest_base}/platform/v1/tokenContext\", headers={\"Authorization\": f\"Bearer {token['access_token']}\"}, proxies=proxies, timeout=30, ) context.raise_for_status() print(context.json()) . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#python-requests",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#python-requests"
  },"1016": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Python (httpx)",
    "content": "import os import httpx auth_base = os.environ[\"MCE_AUTH_BASE_URI\"].rstrip(\"/\") with httpx.Client(proxy=os.environ[\"QUOTAGUARDSTATIC_URL\"], timeout=30) as client: token = client.post( f\"{auth_base}/v2/token\", json={ \"grant_type\": \"client_credentials\", \"client_id\": os.environ[\"MCE_CLIENT_ID\"], \"client_secret\": os.environ[\"MCE_CLIENT_SECRET\"], }, ).raise_for_status().json() rest_base = token[\"rest_instance_url\"].rstrip(\"/\") context = client.get( f\"{rest_base}/platform/v1/tokenContext\", headers={\"Authorization\": f\"Bearer {token['access_token']}\"}, ).raise_for_status() print(context.json()) . The proxy= argument needs httpx 0.26 or later. Older releases use proxies=. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#python-httpx",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#python-httpx"
  },"1017": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Node.js (fetch with undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const authBase = process.env.MCE_AUTH_BASE_URI.replace(/\\/$/, ''); const tokenRes = await fetch(`${authBase}/v2/token`, { method: 'POST', dispatcher, headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ grant_type: 'client_credentials', client_id: process.env.MCE_CLIENT_ID, client_secret: process.env.MCE_CLIENT_SECRET, }), }); if (!tokenRes.ok) throw new Error(`MCE token request failed: ${tokenRes.status}`); const token = await tokenRes.json(); const restBase = token.rest_instance_url.replace(/\\/$/, ''); const contextRes = await fetch(`${restBase}/platform/v1/tokenContext`, { dispatcher, headers: { Authorization: `Bearer ${token.access_token}` }, }); console.log(await contextRes.json()); . Pass the dispatcher on every call. Node’s built-in fetch and undici’s fetch ignore the HTTPS_PROXY environment variable unless Node 24 runs with NODE_USE_ENV_PROXY=1, so an environment-variable-only setup can succeed from your platform’s own address with no error. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#nodejs-fetch-with-undici",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#nodejs-fetch-with-undici"
  },"1018": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Node.js (axios with https-proxy-agent)",
    "content": "import axios from 'axios'; import { HttpsProxyAgent } from 'https-proxy-agent'; const mce = axios.create({ httpsAgent: new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL), proxy: false, // use the agent above, not axios's own env-var proxy handling timeout: 30000, }); const authBase = process.env.MCE_AUTH_BASE_URI.replace(/\\/$/, ''); const { data: token } = await mce.post(`${authBase}/v2/token`, { grant_type: 'client_credentials', client_id: process.env.MCE_CLIENT_ID, client_secret: process.env.MCE_CLIENT_SECRET, }); const restBase = token.rest_instance_url.replace(/\\/$/, ''); const { data: context } = await mce.get(`${restBase}/platform/v1/tokenContext`, { headers: { Authorization: `Bearer ${token.access_token}` }, }); console.log(context); . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#nodejs-axios-with-https-proxy-agent",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#nodejs-axios-with-https-proxy-agent"
  },"1019": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Go",
    "content": "package main import ( \"bytes\" \"encoding/json\" \"fmt\" \"io\" \"net/http\" \"net/url\" \"os\" \"strings\" \"time\" ) func main() { proxyURL, err := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) if err != nil { panic(err) } client := &amp;http.Client{ Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyURL)}, Timeout: 30 * time.Second, } body, _ := json.Marshal(map[string]string{ \"grant_type\": \"client_credentials\", \"client_id\": os.Getenv(\"MCE_CLIENT_ID\"), \"client_secret\": os.Getenv(\"MCE_CLIENT_SECRET\"), }) authBase := strings.TrimSuffix(os.Getenv(\"MCE_AUTH_BASE_URI\"), \"/\") resp, err := client.Post(authBase+\"/v2/token\", \"application/json\", bytes.NewReader(body)) if err != nil { panic(err) } defer resp.Body.Close() var token struct { AccessToken string `json:\"access_token\"` RestInstanceURL string `json:\"rest_instance_url\"` } if err := json.NewDecoder(resp.Body).Decode(&amp;token); err != nil { panic(err) } req, _ := http.NewRequest(\"GET\", strings.TrimSuffix(token.RestInstanceURL, \"/\")+\"/platform/v1/tokenContext\", nil) req.Header.Set(\"Authorization\", \"Bearer \"+token.AccessToken) ctxResp, err := client.Do(req) if err != nil { panic(err) } defer ctxResp.Body.Close() out, _ := io.ReadAll(ctxResp.Body) fmt.Println(string(out)) } . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#go",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#go"
  },"1020": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Ruby (Net::HTTP)",
    "content": "require \"json\" require \"net/http\" require \"uri\" proxy = URI(ENV.fetch(\"QUOTAGUARDSTATIC_URL\")) auth_base = ENV.fetch(\"MCE_AUTH_BASE_URI\").chomp(\"/\") def proxied_request(uri, proxy, request) Net::HTTP.start(uri.host, uri.port, proxy.host, proxy.port, proxy.user, proxy.password, use_ssl: true, open_timeout: 30, read_timeout: 30) do |http| http.request(request) end end token_uri = URI(\"#{auth_base}/v2/token\") token_req = Net::HTTP::Post.new(token_uri, \"Content-Type\" =&gt; \"application/json\") token_req.body = { grant_type: \"client_credentials\", client_id: ENV.fetch(\"MCE_CLIENT_ID\"), client_secret: ENV.fetch(\"MCE_CLIENT_SECRET\") }.to_json token = JSON.parse(proxied_request(token_uri, proxy, token_req).body) context_uri = URI(\"#{token.fetch('rest_instance_url').chomp('/')}/platform/v1/tokenContext\") context_req = Net::HTTP::Get.new(context_uri, \"Authorization\" =&gt; \"Bearer #{token.fetch('access_token')}\") puts proxied_request(context_uri, proxy, context_req).body . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#ruby-nethttp",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#ruby-nethttp"
  },"1021": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Java (HttpClient)",
    "content": "// Java disables Basic auth on HTTPS CONNECT tunnels by default. Run the JVM with: // -Djdk.http.auth.tunneling.disabledSchemes=\"\" // Uses Jackson (com.fasterxml.jackson.core:jackson-databind) for JSON. import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import java.net.*; import java.net.http.*; import java.nio.charset.StandardCharsets; import java.util.Base64; import java.util.Map; public class MceToken { public static void main(String[] args) throws Exception { URI proxyUri = URI.create(System.getenv(\"QUOTAGUARDSTATIC_URL\")); // Sent on the CONNECT request to QuotaGuard, not to MCE. String proxyAuth = \"Basic \" + Base64.getEncoder() .encodeToString(proxyUri.getUserInfo().getBytes(StandardCharsets.UTF_8)); HttpClient client = HttpClient.newBuilder() .proxy(ProxySelector.of(new InetSocketAddress(proxyUri.getHost(), proxyUri.getPort()))) .build(); ObjectMapper json = new ObjectMapper(); String authBase = System.getenv(\"MCE_AUTH_BASE_URI\").replaceAll(\"/$\", \"\"); String body = json.writeValueAsString(Map.of( \"grant_type\", \"client_credentials\", \"client_id\", System.getenv(\"MCE_CLIENT_ID\"), \"client_secret\", System.getenv(\"MCE_CLIENT_SECRET\"))); HttpRequest tokenRequest = HttpRequest.newBuilder(URI.create(authBase + \"/v2/token\")) .header(\"Proxy-Authorization\", proxyAuth) .header(\"Content-Type\", \"application/json\") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); HttpResponse&lt;String&gt; tokenResponse = client.send(tokenRequest, HttpResponse.BodyHandlers.ofString()); if (tokenResponse.statusCode() != 200) { throw new IllegalStateException(\"MCE token request failed: \" + tokenResponse.statusCode()); } JsonNode token = json.readTree(tokenResponse.body()); String restBase = token.get(\"rest_instance_url\").asText().replaceAll(\"/$\", \"\"); HttpRequest contextRequest = HttpRequest.newBuilder(URI.create(restBase + \"/platform/v1/tokenContext\")) .header(\"Proxy-Authorization\", proxyAuth) .header(\"Authorization\", \"Bearer \" + token.get(\"access_token\").asText()) .GET() .build(); HttpResponse&lt;String&gt; contextResponse = client.send(contextRequest, HttpResponse.BodyHandlers.ofString()); System.out.println(contextResponse.body()); } } . The JVM flag is required because Java disables proxy Basic authentication over HTTPS tunnels by default. The example sends Proxy-Authorization itself instead of registering an Authenticator on the client. In our tests on JDK 21, a client with an Authenticator dropped the request’s own Authorization header, so the Bearer token never reached the REST endpoint. Apache HttpClient 5 is an alternative that handles proxy auth without the flag. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#java-httpclient",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#java-httpclient"
  },"1022": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "C# (.NET HttpClient)",
    "content": "using System.Net; using System.Net.Http.Json; using System.Text; using System.Text.Json; var proxyUri = new Uri(Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\")!); var creds = proxyUri.UserInfo.Split(':', 2).Select(Uri.UnescapeDataString).ToArray(); var handler = new HttpClientHandler { Proxy = new WebProxy($\"{proxyUri.Scheme}://{proxyUri.Host}:{proxyUri.Port}\") { Credentials = new NetworkCredential(creds[0], creds[1]) }, UseProxy = true }; using var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(30) }; var authBase = Environment.GetEnvironmentVariable(\"MCE_AUTH_BASE_URI\")!.TrimEnd('/'); var tokenBody = JsonSerializer.Serialize(new { grant_type = \"client_credentials\", client_id = Environment.GetEnvironmentVariable(\"MCE_CLIENT_ID\"), client_secret = Environment.GetEnvironmentVariable(\"MCE_CLIENT_SECRET\") }); var tokenResponse = await client.PostAsync($\"{authBase}/v2/token\", new StringContent(tokenBody, Encoding.UTF8, \"application/json\")); tokenResponse.EnsureSuccessStatusCode(); var token = await tokenResponse.Content.ReadFromJsonAsync&lt;JsonElement&gt;(); var restBase = token.GetProperty(\"rest_instance_url\").GetString()!.TrimEnd('/'); using var request = new HttpRequestMessage(HttpMethod.Get, $\"{restBase}/platform/v1/tokenContext\"); request.Headers.Authorization = new(\"Bearer\", token.GetProperty(\"access_token\").GetString()); var context = await client.SendAsync(request); Console.WriteLine(await context.Content.ReadAsStringAsync()); . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#c-net-httpclient",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#c-net-httpclient"
  },"1023": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "PHP (cURL)",
    "content": "&lt;?php $proxy = getenv('QUOTAGUARDSTATIC_URL'); $authBase = rtrim(getenv('MCE_AUTH_BASE_URI'), '/'); function mce_request(string $url, string $proxy, array $headers, ?string $body = null): array { $ch = curl_init($url); curl_setopt_array($ch, [ CURLOPT_PROXY =&gt; $proxy, CURLOPT_HTTPHEADER =&gt; $headers, CURLOPT_RETURNTRANSFER =&gt; true, CURLOPT_TIMEOUT =&gt; 30, ]); if ($body !== null) { curl_setopt($ch, CURLOPT_POSTFIELDS, $body); } $response = curl_exec($ch); if ($response === false) { throw new RuntimeException(curl_error($ch)); } return json_decode($response, true); } $token = mce_request(\"$authBase/v2/token\", $proxy, ['Content-Type: application/json'], json_encode([ 'grant_type' =&gt; 'client_credentials', 'client_id' =&gt; getenv('MCE_CLIENT_ID'), 'client_secret' =&gt; getenv('MCE_CLIENT_SECRET'), ])); $restBase = rtrim($token['rest_instance_url'], '/'); print_r(mce_request(\"$restBase/platform/v1/tokenContext\", $proxy, [ 'Authorization: Bearer ' . $token['access_token'], ])); . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#php-curl",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#php-curl"
  },"1024": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "SOAP clients, SDKs, and web app integrations",
    "content": ". | SOAP API calls go to the soap_instance_url returned with the token. Configure your SOAP library’s HTTP transport to use the same proxy as the token request. | SDKs and integration tools often ship their own HTTP client. Confirm that the SDK or tool exposes a proxy setting and that the setting covers both authentication and API calls. If it does not, the client keeps egressing from your platform’s own address. | Web app and public app integrations use the authorization code grant. The end user authorizes your app by logging in to MCE in their own browser, and your server then exchanges the authorization code at v2/token. Route your server’s token and API requests through QuotaGuard. Salesforce does not document which login source each step of this flow is evaluated against, and we have not tested it. Allowlist the users’ browser networks for User Interface access and your server’s QuotaGuard IPs for API access, then confirm in monitoring mode before you rely on blocking mode. | . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#soap-clients-sdks-and-web-app-integrations",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#soap-clients-sdks-and-web-app-integrations"
  },"1025": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Step 3: Add Addresses for the Intended Login Source",
    "content": "A Marketing Cloud Administrator can add entries in MCE Setup: . | Search for allowlist and select Login IP Allowlist. | Click Create. | Enter the beginning and ending addresses. For one address, enter the same value in both fields. | Choose Login Source: API for API access, User Interface for browser access, or Any for both. | Save. Repeat for the second QuotaGuard address and any other approved ranges required for the relevant access paths. | . Preserve the administrator’s approved browser range. See Add IP Addresses to the Login IP Allowlist. For QuotaGuard, create two single-address entries, one per IP in your dashboard, each with the API login source. Use Any only if browsers on your network also egress through the same addresses, which an application proxy does not do. If business units define their own lists, add both entries to the list of every business unit the client accesses, or to the Enterprise list when business units inherit it. To change an existing entry, use Edit an IP Range. Review Salesforce’s recommended ranges with the network owner. Accept recommendations from the top-level Enterprise business unit; child business units can view them but cannot accept them. See Add Recommended IP Ranges. Accepted recommendations move to the Login IP Allowlist table with the description “Recommendation accepted based on tenant traffic patterns”, so you can tell them apart from the entries you created. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-3-add-addresses-for-the-intended-login-source",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-3-add-addresses-for-the-intended-login-source"
  },"1026": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Step 4: Review Monitoring Results Before Enabling Blocking",
    "content": "Salesforce recommends at least two weeks of monitoring before switching to blocking. In Security Settings &gt; Edit &gt; Restrict Logins by IP Address (IP Allowlisting): . | Log Allowlist Violations permits logins and records attempts from outside the allowlist. | Log Violations and Deny Access restricts logins to listed addresses and records out-of-list attempts. | . See Configure the Login IP Allowlist and the preparation recommendation. Open Login IP Allowlist &gt; View Access Log to investigate violations. A monitoring-mode violation is a logged out-of-list attempt, not evidence that monitoring denied access. Confirm an address belongs to an authorized client or user before adding it. See View the Access Log. Exercise scheduled workloads during preparation. Before enabling blocking, ensure the administrator’s current address is included. After enabling it, validate a fresh administrator login and each intended API workflow in its business-unit context. Do not use an existing browser session or an IP-check result as the sole evidence of successful MCE access. If browser access succeeds while an API workflow fails, compare the API client’s egress, the entry’s Login Source and the applicable business-unit list. Browser success does not validate a separate API path. If your account is already in blocking mode, the same checks apply after each change. Add the QuotaGuard entries first, then move one client at a time to the proxy and run its workflow. A denied attempt in the Access Log that shows your platform’s own address means that client is not using the proxy yet. One that shows a QuotaGuard address means the entry or its login source is missing from the list that business unit uses. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-4-review-monitoring-results-before-enabling-blocking",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#step-4-review-monitoring-results-before-enabling-blocking"
  },"1027": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Testing Your Integration",
    "content": "Test in this order. Each check proves something the previous one does not. | The client uses the proxy. From the same runtime as your client, request https://ip.quotaguard.com through the proxy and confirm the ip value is one of your two dashboard addresses. Then request it without the proxy and confirm the result changes. This proves routing only. It does not prove MCE accepts the address. | MCE accepts each QuotaGuard address. Request an access token and make a read-only API call, such as GET /platform/v1/tokenContext, through each IP address (see below). | The real workflow succeeds. Run each scheduled job, sync, or journey integration in the business-unit context it uses, and check the Access Log for new violations from the client. | . The QuotaGuard dashboard’s Log Viewer shows each proxied connection. A call that is missing from the log did not pass through the proxy. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#testing-your-integration",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#testing-your-integration"
  },"1028": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Exercise both IP addresses",
    "content": "Register both IPs, and test both. Normal traffic reaches either address, so a missing entry causes intermittent failures that look random. To test one address on purpose, add -a or -b to your proxy hostname. For example, us-east-static-01.quotaguard.com becomes us-east-static-01-a.quotaguard.com. Each node hostname always egresses from the same one of your two static IPs. PROXY_A=$(echo \"$QUOTAGUARDSTATIC_URL\" | sed -E 's/(@[^.:]+)/\\1-a/') PROXY_B=$(echo \"$QUOTAGUARDSTATIC_URL\" | sed -E 's/(@[^.:]+)/\\1-b/') curl -x \"$PROXY_A\" https://ip.quotaguard.com curl -x \"$PROXY_B\" https://ip.quotaguard.com . Run your token request through each URL in turn. Use the node hostnames for diagnostics only. They bypass the load balancer, so production traffic sent to one node loses failover. See What if I only want one QG Static IP Address?. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#exercise-both-ip-addresses",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#exercise-both-ip-addresses"
  },"1029": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#troubleshooting",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#troubleshooting"
  },"1030": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "API requests fail right after you enable blocking mode",
    "content": "The address MCE sees is not on the applicable list with an API or Any login source. Open View Access Log and find the denied attempt. If it shows your platform’s own address, the client is not using the proxy. If it shows a QuotaGuard address, add that address to the list for the business unit the client uses. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#api-requests-fail-right-after-you-enable-blocking-mode",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#api-requests-fail-right-after-you-enable-blocking-mode"
  },"1031": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Intermittent, random-looking failures",
    "content": "Only one of the two QuotaGuard IPs is on the list, or it is on one business unit’s list and not another’s. Add both IPs everywhere the client authenticates, then test each node as shown in Exercise both IP addresses. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#intermittent-random-looking-failures",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#intermittent-random-looking-failures"
  },"1032": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Browser login works but the API fails",
    "content": "Browser success does not validate the API path. Compare the API client’s egress address, the entry’s login source (User Interface does not cover API access), and the list source for that business unit. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#browser-login-works-but-the-api-fails",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#browser-login-works-but-the-api-fails"
  },"1033": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "The API works but administrators are locked out",
    "content": "The administrator’s browser network is not on the list with a User Interface or Any login source. Salesforce warns that if you log out before your own address is on the list, you can’t log back in. Ask another administrator whose network is allowlisted to add the range. Don’t give administrators an application’s proxy credentials to work around this. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#the-api-works-but-administrators-are-locked-out",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#the-api-works-but-administrators-are-locked-out"
  },"1034": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "The Access Log shows a cloud provider address instead of a QuotaGuard IP",
    "content": "The request bypassed the proxy. Common causes are an HTTP client that ignores proxy environment variables (for example Node’s fetch), an SDK with its own HTTP client, or a code path that only proxies the token request. Attach the proxy to every client that calls the auth, REST, or SOAP endpoints. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#the-access-log-shows-a-cloud-provider-address-instead-of-a-quotaguard-ip",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#the-access-log-shows-a-cloud-provider-address-instead-of-a-quotaguard-ip"
  },"1035": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Requests were allowed in monitoring mode but denied after the switch",
    "content": "That is expected for any address recorded as a violation. Monitoring mode logs out-of-list attempts without denying them. Review the Access Log entries from the monitoring period, add the addresses that belong to authorized clients, and remove broad ranges you no longer need. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#requests-were-allowed-in-monitoring-mode-but-denied-after-the-switch",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#requests-were-allowed-in-monitoring-mode-but-denied-after-the-switch"
  },"1036": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Access stopped after a QuotaGuard product or region change",
    "content": "Switching between Static and Shield assigns new IPs. Downgrading a subscription on a dedicated proxy below Enterprise moves it to a shared proxy with new IPs. A region move also changes the IP pair, and it moves all egress through that subscription to the new IPs. Add the new pair to the MCE allowlist before you cut over. During a QuotaGuard proxy change, old credentials stay active for a configurable overlap window, by default 7 days, so you can register and test the new IPs first. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#access-stopped-after-a-quotaguard-product-or-region-change",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#access-stopped-after-a-quotaguard-product-or-region-change"
  },"1037": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "407 Proxy Authentication Required",
    "content": "This is the QuotaGuard proxy, not MCE. Your QUOTAGUARDSTATIC_URL credentials are wrong or incomplete. Confirm them against your dashboard. If the password contains special characters, make sure your client decodes the URL-encoded credentials. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#407-proxy-authentication-required",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#407-proxy-authentication-required"
  },"1038": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Token requests fail on an exacttarget.com or legacy endpoint",
    "content": "Salesforce requires tenant-specific marketingcloudapis.com endpoints. Use the Authorization Base URI from Installed Packages and the rest_instance_url or soap_instance_url returned with the token. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#token-requests-fail-on-an-exacttargetcom-or-legacy-endpoint",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#token-requests-fail-on-an-exacttargetcom-or-legacy-endpoint"
  },"1039": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "IPv6 entries",
    "content": "QuotaGuard egress is IPv4 only. The address MCE sees from a QuotaGuard-routed request is always one of your two IPv4 static IPs, so add those IPv4 addresses. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#ipv6-entries",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#ipv6-entries"
  },"1040": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Keep Address Classification, Authentication and Allowlisting Separate",
    "content": "Salesforce has reviewed and whitelisted QuotaGuard’s current static IP addresses, resolving the anonymizing-proxy classification issue documented for AppExchange integrations. See Salesforce Now Recognizes QuotaGuard Static IPs. That resolution concerns address classification; you still configure the MCE account’s login allowlist. The External Client App Refresh Token IP Allowlist uses another UI and protects different OAuth flows. MCE server-to-server Installed Packages use the client credentials grant and do not issue refresh tokens. Their API access still falls within MCE’s login-allowlist scope. See MCE server-to-server authentication. MCE web app and public app integrations do receive refresh tokens. MCE’s own authorization server issues them through Installed Packages, not through an External Client App, so the External Client App allowlist is not where you register addresses for them. For outbound HTTPS, both QuotaGuard Static and Shield tunnel the destination TLS session without decrypting its payload. Shield additionally encrypts the application-to-proxy hop. Choose the connection model according to your application’s security requirements, separately from configuring permitted source addresses. See How QuotaGuard Proxies HTTPS. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#keep-address-classification-authentication-and-allowlisting-separate",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#keep-address-classification-authentication-and-allowlisting-separate"
  },"1041": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "What Is Documented and What We Have Not Tested",
    "content": "Documented by Salesforce (linked throughout this page): the allowlist covers UI and API access; ranges carry an API, User Interface, or Any login source; lists can be defined per business unit or inherited from the Enterprise level; monitoring mode logs violations without denying access; blocking mode denies out-of-list logins and applies at each user’s next login; recommended ranges come from six months of successful authentications; the enforcement behavior described in the enforcement table above. QuotaGuard product behavior: two static IPv4 addresses per subscription, the per-connection choice between them, failover behavior, the -a and -b node hostnames, and separate Static and Shield IP pools. Not tested by QuotaGuard against a live MCE tenant: . | Whether MCE evaluates the address on the v2/token request, on each REST or SOAP call, or on both. | The exact error response MCE returns to an API client from a non-allowlisted address. | Which login source applies to each step of the web app authorization code flow. | How quickly a newly added or edited range takes effect. | . The code examples on this page follow Salesforce’s documented token request and QuotaGuard’s documented proxy configuration. They have not been run against a live MCE account. Validate each workflow in monitoring mode, or with the steps in Testing Your Integration, before you depend on blocking mode. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#what-is-documented-and-what-we-have-not-tested",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#what-is-documented-and-what-we-have-not-tested"
  },"1042": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext (proxy credential sent in the clear) | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static is right for most MCE API clients, because the allowlist is a network-layer requirement. Choose Shield if the workload handles regulated data, such as healthcare records or payment information in subscriber data, or if your environment requires TLS between the app and the proxy itself. Prices are for direct plans on quotaguard.com. Decide before you register IPs with MCE, because the two products use different IP pairs. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#quotaguard-static-vs-quotaguard-shield"
  },"1043": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: QuotaGuard and Salesforce Integration Guide . Contact Support . ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#ready-to-get-started",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/#ready-to-get-started"
  },"1044": {
    "doc": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "title": "Salesforce Marketing Cloud Engagement Login IP Allowlist",
    "content": "Salesforce Marketing Cloud Engagement can restrict access by IP address. That’s useful for security, but it can be frustrating when your application runs somewhere that doesn’t have a predictable outbound IP. QuotaGuard gives your application two static outbound IP addresses you can add to your Salesforce allowlist. This guide walks you through setting it up, testing the connection, and avoiding disruptions for existing users and integrations. Scope: This page covers the MCE login IP allowlist for UI login and API access. The Salesforce AppExchange integration guide covers the separate External Client App Refresh Token IP Allowlist. ",
    "url": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/",
    "relUrl": "/docs/apis/salesforce/marketing-cloud-engagement-login-ip-allowlist/"
  },"1045": {
    "doc": "How QuotaGuard Measures SOCKS Bandwidth in the Log Files?",
    "title": "How QuotaGuard Measures SOCKS Bandwidth in the Log Files?",
    "content": "How QuotaGuard measures SOCKS bandwidth is a question we get from time to time. The answer is pretty simple: . QuotaGuard logs both your requests and passed-through bandwidth. For the SOCKS bandwidth, we’re simply measuring the bandwidth going through the SOCKS proxy. Since most SOCKS connections are long lived, we log every time 1MB is reached, then any remaining balance that is left when the connection is closed gets attached to the RESPONSE log entry. For example, if you consume 3.5MB in a single connection you should see: .    REQUEST - 0 bytes .    BANDWIDTH - 1MB .    BANDWIDTH - 1MB .    BANDWIDTH - 1MB .    RESPONSE - 0.5MB . Hopefully that helps clear up the question, but if not, send us more questions at Support so we can answer them for you. ",
    "url": "/docs/account/billing/measuring-socks-bandwidth/",
    "relUrl": "/docs/account/billing/measuring-socks-bandwidth/"
  },"1046": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Mercury Requires an IP Whitelist on Read and Write Tokens",
    "content": "Mercury requires you to whitelist the IP addresses you expect to use a Read and Write token from. Read Only tokens do not require a whitelist. For Custom tokens, a whitelist is required when any selected scope has an asterisk next to it; Custom tokens containing only scopes without an asterisk do not require one. Mercury identifies request-send-money as an example that can be used without IP allowlisting. Mercury’s own documentation states this and names QuotaGuard for Heroku-hosted apps. See Mercury’s API Token Security Policies. An app on a cloud platform egresses from an address that changes on deploys and scaling, so a token configured with a whitelist rejects requests from the rotating address. The fix is two static IPs you add once. ",
    "url": "/docs/apis/mercury/mercury-integration/#mercury-requires-an-ip-whitelist-on-read-and-write-tokens",
    "relUrl": "/docs/apis/mercury/mercury-integration/#mercury-requires-an-ip-whitelist-on-read-and-write-tokens"
  },"1047": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your app runs. The region is set at sign-up. Changes after sign-up require contacting support. QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" MERCURY_API_TOKEN=\"secret-token:mercury_production_...\" . ",
    "url": "/docs/apis/mercury/mercury-integration/#getting-started",
    "relUrl": "/docs/apis/mercury/mercury-integration/#getting-started"
  },"1048": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Add Your QuotaGuard IPs to Your Mercury Token",
    "content": "Open the Mercury token management page, edit the Read and Write token your integration uses, and enter both QuotaGuard IP addresses in the token’s IP whitelist. Mercury supports individual IPs and CIDR ranges; enter your two QuotaGuard addresses as individual IPs. Once the whitelist is set, only requests from those addresses can use the token. ",
    "url": "/docs/apis/mercury/mercury-integration/#add-your-quotaguard-ips-to-your-mercury-token",
    "relUrl": "/docs/apis/mercury/mercury-integration/#add-your-quotaguard-ips-to-your-mercury-token"
  },"1049": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Authenticate and Route Calls Through the Proxy",
    "content": "The Mercury API is at https://api.mercury.com/api/v1. It uses HTTP basic authentication with your API token as the username and an empty password; a bearer header is also supported. Route your calls through the proxy so each request exits from your static IPs. ",
    "url": "/docs/apis/mercury/mercury-integration/#authenticate-and-route-calls-through-the-proxy",
    "relUrl": "/docs/apis/mercury/mercury-integration/#authenticate-and-route-calls-through-the-proxy"
  },"1050": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Python (requests)",
    "content": "import os, requests proxies = { \"http\": os.environ[\"QUOTAGUARDSTATIC_URL\"], \"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"], } token = os.environ[\"MERCURY_API_TOKEN\"] resp = requests.get( \"https://api.mercury.com/api/v1/accounts\", auth=(token, \"\"), proxies=proxies, ) print(resp.status_code) . ",
    "url": "/docs/apis/mercury/mercury-integration/#python-requests",
    "relUrl": "/docs/apis/mercury/mercury-integration/#python-requests"
  },"1051": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Node.js (undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const token = process.env.MERCURY_API_TOKEN; const res = await fetch('https://api.mercury.com/api/v1/accounts', { dispatcher, headers: { Authorization: `Bearer ${token}`, Accept: 'application/json' }, }); console.log(res.status); . ",
    "url": "/docs/apis/mercury/mercury-integration/#nodejs-undici",
    "relUrl": "/docs/apis/mercury/mercury-integration/#nodejs-undici"
  },"1052": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Ruby (Net::HTTP)",
    "content": "require 'net/http' require 'uri' proxy = URI.parse(ENV['QUOTAGUARDSTATIC_URL']) http = Net::HTTP.new('api.mercury.com', 443, proxy.host, proxy.port, proxy.user, proxy.password) http.use_ssl = true req = Net::HTTP::Get.new('/api/v1/accounts') req.basic_auth(ENV['MERCURY_API_TOKEN'], '') puts http.request(req).code . ",
    "url": "/docs/apis/mercury/mercury-integration/#ruby-nethttp",
    "relUrl": "/docs/apis/mercury/mercury-integration/#ruby-nethttp"
  },"1053": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Testing Your Integration Is Using the Static IP",
    "content": "curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your QuotaGuard dashboard, and both must be on your Mercury token’s whitelist. Run it more than once to confirm both (load-balanced). ",
    "url": "/docs/apis/mercury/mercury-integration/#testing-your-integration-is-using-the-static-ip",
    "relUrl": "/docs/apis/mercury/mercury-integration/#testing-your-integration-is-using-the-static-ip"
  },"1054": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/apis/mercury/mercury-integration/#troubleshooting",
    "relUrl": "/docs/apis/mercury/mercury-integration/#troubleshooting"
  },"1055": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "401 or 403 after enabling the whitelist",
    "content": "A generic 401 or 403 does not by itself prove an IP-allowlist failure. Treat the response as IP-related only when Mercury explicitly identifies the source IP or an IP restriction. If it does, confirm that both QuotaGuard IPs are on the token’s whitelist and that the request is routing through the proxy using the verification step above. Otherwise, also check the token, authentication method, and required permissions. ",
    "url": "/docs/apis/mercury/mercury-integration/#401-or-403-after-enabling-the-whitelist",
    "relUrl": "/docs/apis/mercury/mercury-integration/#401-or-403-after-enabling-the-whitelist"
  },"1056": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "It works with a Read Only token but fails with the Read and Write token",
    "content": "That is expected. Read Only tokens are exempt from the whitelist; Read and Write tokens are not. The whitelist must contain your two static IPs for the write-capable token. ",
    "url": "/docs/apis/mercury/mercury-integration/#it-works-with-a-read-only-token-but-fails-with-the-read-and-write-token",
    "relUrl": "/docs/apis/mercury/mercury-integration/#it-works-with-a-read-only-token-but-fails-with-the-read-and-write-token"
  },"1057": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "This is the QuotaGuard proxy, not Mercury. Your QUOTAGUARDSTATIC_URL credentials are wrong. Confirm them against your dashboard. ",
    "url": "/docs/apis/mercury/mercury-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/apis/mercury/mercury-integration/#407-proxy-authentication-required"
  },"1058": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Wrong IP returned",
    "content": "The proxy is not attached to the request. Confirm you applied it to the specific Mercury call. ",
    "url": "/docs/apis/mercury/mercury-integration/#wrong-ip-returned",
    "relUrl": "/docs/apis/mercury/mercury-integration/#wrong-ip-returned"
  },"1059": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext (proxy credential sent in the clear) | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . The whitelist requirement is a network-layer fix, so Static is the correct product. Your Mercury calls are outbound HTTPS tunneled through the proxy, so your payload and token stay encrypted end to end to Mercury. Choose QuotaGuard Shield when your security review additionally requires the first hop to the proxy encrypted, so the proxy credential is never sent in the clear. ",
    "url": "/docs/apis/mercury/mercury-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/mercury/mercury-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1060": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Mercury Integration Features . Mercury API Token Security Policies . Contact Support . ",
    "url": "/docs/apis/mercury/mercury-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/mercury/mercury-integration/#ready-to-get-started"
  },"1061": {
    "doc": "QuotaGuard and Mercury Integration Guide",
    "title": "QuotaGuard and Mercury Integration Guide",
    "content": "QuotaGuard Static IPs let your app call the Mercury API from two fixed addresses you add to the IP whitelist on your Mercury token. Route your Mercury calls through QuotaGuard Static, set QUOTAGUARDSTATIC_URL, and add your two fixed IPs to the token’s whitelist on the Mercury token management page. Scope: Mercury requires an IP whitelist on Read and Write tokens. Read Only tokens do not require a whitelist. Custom tokens require a whitelist when they include any scope marked with an asterisk in Mercury’s token interface; Custom tokens containing only scopes without an asterisk do not. This guide is for integrations that use a token requiring an IP whitelist. ",
    "url": "/docs/apis/mercury/mercury-integration/",
    "relUrl": "/docs/apis/mercury/mercury-integration/"
  },"1062": {
    "doc": "How to Migrate Your Static IP's Off Heroku",
    "title": "Prepare to Migrate Heroku Static IP’s",
    "content": "Important: Use a different email address. Your Heroku-linked QuotaGuard account uses Heroku single sign-on (SSO). When creating your direct QuotaGuard account, you must use a different email address from the one used for your Heroku-linked account. For example, if your email provider supports plus addressing, you could use dev+qg@company.com instead of dev@company.com. Step 1. Sign up with QuotaGuard directly at our site. Choose the same subscription plan and service (QG Static vs. QG Shield). If you have multiple apps using different IP’s on Heroku, you’ll need multiple subscriptions on QuotaGuard too. Please follow our article on how to add additional subscriptions. When you sign up directly, you’ll receive a brand-new connection URL with temporary credentials. Don’t worry about those, your app will continue using the URL it already has on Heroku. We’ll explain what happens to those credentials below. Step 1a (optional - good for multiple subscription accounts). Label each direct QuotaGuard subscription with its corresponding Heroku app name. Do this before contacting Support so we can map each direct subscription to the correct Heroku app. Step 2. Send an email to our Support team and let us know that you’ve signed up with QuotaGuard.com and that you’re going to migrate off Heroku. We will exchange the subscriptions that you just signed for on QuotaGuard with the subscriptions that you have in Heroku. | This will allow you to keep your current IPs, configuration, and connection information. | If you are already on a Dedicated Proxy on Heroku, the process is the same. You will maintain your IPs, configuration, and connection information. | This is effectively a ‘hot swap’. Your current Heroku data will not be affected, there will be no downtime, and no interruptions will occur with your current or future requests processing through your Static IP’s. | . ",
    "url": "/docs/platforms/heroku/migrate-off-heroku/#prepare-to-migrate-heroku-static-ips",
    "relUrl": "/docs/platforms/heroku/migrate-off-heroku/#prepare-to-migrate-heroku-static-ips"
  },"1063": {
    "doc": "How to Migrate Your Static IP's Off Heroku",
    "title": "What Happens During the Swap Window",
    "content": "The swap is entirely backend on our side. It runs whenever you tell us you’re ready, and from that go-ahead it takes about 2 minutes, has no downtime, and requires no action from your team during the window. Your existing Heroku QUOTAGUARDSTATIC_URL environment variable keeps routing the same traffic to the same IPs throughout, so the swap itself cannot cause a production issue. Under the hood, the swap moves the ownership of your original subscription (with your real IPs and connection URL) onto your new direct QuotaGuard account. The temporary credentials from your direct sign-up move the other way and end up on the Heroku side of our backend, where they sit unused until you remove the add-on. The only steps with any visible impact on your side (removing the Heroku add-on, restoring the env var) happen later, on your schedule, potentially days or weeks after we complete the swap. Step 3. We will email you back on Support once the swap is completed on our side. Step 4. Backup the Connection URL . (You can skip this step if you are only using our Inbound Proxy. Not sure? Go ahead and confirm it with us on your Support ticket). Copy and save the contents of the QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL. You’ll use it in Step 7. Via the Heroku CLI: . Copy QG_URL=`heroku config:get -a APPNAME QUOTAGUARDSTATIC_URL` # or QG_URL=`heroku config:get -a APPNAME QUOTAGUARDSHIELD_URL` echo $QG_URL . This is a precaution, not strictly required. The same URL is also visible in your direct QuotaGuard dashboard at quotaguard.com after the swap, so you can retrieve it from there if needed. Heroku will delete this environment variable when you eventually remove the add-on, so having it pre-saved keeps Step 7 quick and easy. Step 5. Verify the Swap . After the swap completes, log into your direct QuotaGuard dashboard at quotaguard.com. You’ll see your subscription listed there, with the same connection URL your Heroku app has been using all along. That confirms the swap is done and your original credentials are now under your direct account. If you instead open QuotaGuard from the Heroku Resources tab after the swap, you’ll see a different URL. That’s expected. The Heroku side of our backend now holds the temporary credentials from your direct sign-up. They’re not in use by your app, and they’ll be cleaned up automatically when you remove the Heroku add-on. You can safely ignore them. ",
    "url": "/docs/platforms/heroku/migrate-off-heroku/#what-happens-during-the-swap-window",
    "relUrl": "/docs/platforms/heroku/migrate-off-heroku/#what-happens-during-the-swap-window"
  },"1064": {
    "doc": "How to Migrate Your Static IP's Off Heroku",
    "title": "Take Your Time Before Removing the Add-On",
    "content": "There is no rush to remove the Heroku add-on after the swap. We recommend confirming that normal traffic continues flowing through your same IPs, and watching that hold for an hour or two before you remove the add-on. When you remove it, Heroku will delete the QUOTAGUARDSTATIC_URL environment variable, so you’ll need to set it back manually in Step 7. Use the value you backed up in Step 4, or copy it from your direct QuotaGuard dashboard (which is where your subscription now lives). Step 6. Remove the Add-On on Heroku . When you are ready to formalize the changeover from Heroku to QuotaGuard, go ahead and remove the Add-On in Heroku. Via the Heroku CLI: . Copy heroku addons:destroy -a APPNAME quotaguardstatic # or heroku addons:destroy -a APPNAME quotaguardshield . Step 7. Reset the Configuration Variable (If you are only using the inbound proxy service, you can skip this step). If you are using the outbound proxy, add the Configuration Variable back using the URL you saved from Step 4 (or copied from your direct dashboard). Via the Heroku CLI: . Copy heroku config:set -a APPNAME QUOTAGUARDSTATIC_URL=$QG_URL # or heroku config:set -a APPNAME QUOTAGUARDSHIELD_URL=$QG_URL . If you want us to be online when you make the change, reach out to Support so we can set up a time/date to be in contact with you. ",
    "url": "/docs/platforms/heroku/migrate-off-heroku/#take-your-time-before-removing-the-add-on",
    "relUrl": "/docs/platforms/heroku/migrate-off-heroku/#take-your-time-before-removing-the-add-on"
  },"1065": {
    "doc": "How to Migrate Your Static IP's Off Heroku",
    "title": "If You Need to Roll Back",
    "content": "For the super cautious, or for when your manager wants a backup plan in writing, even though these migrations are routine and reliable. Rollback is straightforward and depends on where you are in the process: . | Before you’ve removed the Heroku add-on: Email Support and we’ll swap back. No change required on your side. | After you’ve removed the Heroku add-on: Re-provision the add-on in Heroku (Heroku will issue a new URL). Email Support and we swap back. Then restore your QUOTAGUARDSTATIC_URL env var to the original URL so your app stays on the original IPs. | . In either case, the same IPs you started with remain assigned to your account throughout, so there is no risk of losing the addresses your downstream partners have whitelisted. More questions we didn’t cover? Write us any time at Support. ",
    "url": "/docs/platforms/heroku/migrate-off-heroku/#if-you-need-to-roll-back",
    "relUrl": "/docs/platforms/heroku/migrate-off-heroku/#if-you-need-to-roll-back"
  },"1066": {
    "doc": "How to Migrate Your Static IP's Off Heroku",
    "title": "How to Migrate Your Static IP's Off Heroku",
    "content": "We routinely receive questions about how to migrate your Static IP service off Heroku, yet maintain the same static IP’s and migrate with no downtime. Moving to AWS instead of direct billing? This page covers the direct-billing path. If you are moving your Heroku app to AWS and want to bill through AWS Marketplace, follow our Heroku-to-AWS migration guide instead. The backend swap works the same way, but the account model is different: one AWS account can hold one active QuotaGuard Shield contract and one active QuotaGuard Static contract. Additional subscriptions of the same product require separate AWS accounts or direct QuotaGuard billing. Fortunately, it’s a very simple process, as our IP’s work with all cloud providers or with stand alone applications. You can keep the same IP’s, same user/pass configuration, etc. We just need to do a little magic on the QuotaGuard side to make this work for each of your Heroku subscriptions. As a preliminary step, go ahead and reach out to us to let us know that you’re planning on migrating, so we can start to do our magic in the background. How long will this take you? About 15 to 20 minutes of active work on your end, and you can spread it over a day or two if you want to monitor traffic in between steps. The backend swap on our side runs whenever you tell us you’re ready, and from that go-ahead it takes about 2 minutes. Below are the steps to make this work for your current Heroku Static IP’s. ",
    "url": "/docs/platforms/heroku/migrate-off-heroku/",
    "relUrl": "/docs/platforms/heroku/migrate-off-heroku/"
  },"1067": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "What’s Different About AWS Marketplace",
    "content": "AWS Marketplace plans bill on a monthly cycle with no annual commitment. A few things follow from that: . | You are billed monthly, starting when AWS confirms your subscription. | Plan upgrades take effect immediately. | Plan downgrades require you to cancel your current plan, wait until the end of your billing period, then subscribe at the lower tier. AWS does not allow direct downgrades. | Cancellation takes effect at the end of your current billing period. AWS does not issue partial-month refunds. | . For details on plan changes and cancellation through AWS, see How to Change or Cancel Your AWS Plan. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#whats-different-about-aws-marketplace",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#whats-different-about-aws-marketplace"
  },"1068": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "Important: Multiple Subscriptions Require Multiple AWS Accounts",
    "content": "An AWS buyer account can have only one active contract for each QuotaGuard Marketplace listing. Each contract provisions one QuotaGuard subscription on one plan. That means: . | One QuotaGuard Shield subscription can be billed through an AWS account. | One QuotaGuard Static subscription can be billed through an AWS account. | One Shield subscription and one Static subscription can share the same AWS account because they are separate Marketplace listings. | A second Shield subscription requires a different AWS account. | A second Static subscription requires a different AWS account. | . If you are migrating several subscriptions of the same product, the usual approach is to use separate member accounts under your AWS Organization. Each member account subscribes to the appropriate Marketplace listing, selects the matching plan, and registers its own QuotaGuard login. If you do not want to operate multiple AWS accounts, you can move some or all of the subscriptions to direct QuotaGuard billing instead. Direct billing supports multiple QuotaGuard subscriptions under one account while preserving the existing IPs, credentials, and connection URLs through the same backend migration process. Before starting a multi-subscription migration, map each existing Heroku add-on to its destination AWS account, Marketplace listing, and plan. If you are unsure how many AWS accounts you need, email Support before subscribing. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#important-multiple-subscriptions-require-multiple-aws-accounts",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#important-multiple-subscriptions-require-multiple-aws-accounts"
  },"1069": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "Prepare to Migrate from Heroku to AWS",
    "content": "Step 1. Sign up on AWS Marketplace. QuotaGuard is available as two AWS Marketplace listings. Pick the one that matches your current Heroku add-on: . | QuotaGuard Static for the traditional static IP proxy. | QuotaGuard Shield for the SSL passthrough product (often required for financial, healthcare, or other regulated traffic). | . If you are migrating one subscription, open the matching listing in the AWS account that will own it. If you are migrating several subscriptions, first use the account mapping described above. Do not try to create a second subscription for the same QuotaGuard product in one AWS account. On the listing page, click View purchase options, pick the plan that matches your usage (typically the same tier you are on with Heroku, but you can pick any tier), and complete the AWS-side subscription. Once AWS confirms the contract, the page will show a Set up your account button. Click that. You will be redirected to our site for a short registration form where you set the email address, password, and AWS region for your new QuotaGuard account. After you submit the form, your new AWS-linked subscription appears in our system and we can take it from there. For a multi-subscription migration, complete this setup separately in every AWS account and register a separate QuotaGuard login for each contract. For a step-by-step walkthrough of the AWS-side signup with screenshots, see How to Sign Up for QuotaGuard on AWS. Step 2. Back up your existing Heroku connection URL. (You can skip this step if you are only using our Inbound Proxy. Not sure? Confirm with us in your Support ticket.) . Copy and save the contents of the QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL environment variable on your Heroku app. You will use it in Step 8 if needed. Via the Heroku CLI: . Copy QG_URL=`heroku config:get -a APPNAME QUOTAGUARDSTATIC_URL` # or QG_URL=`heroku config:get -a APPNAME QUOTAGUARDSHIELD_URL` echo $QG_URL . This is a precaution, not strictly required. The same URL is also visible in your QuotaGuard dashboard at dash.quotaguard.com after the swap, so you can retrieve it from there if needed. Heroku will delete this environment variable when you eventually remove the add-on, so having it pre-saved keeps Step 8 quick. Step 3. Email Support to initiate the swap. Send an email to our Support team with: . | Your Heroku app name. | The email address you used when setting up the QuotaGuard account through AWS in Step 1. | Your current QuotaGuard subscription username (visible in your Heroku-side QuotaGuard dashboard) or the connection URL you backed up in Step 2. | A note that you are ready to migrate your static IPs from Heroku to AWS. | . If you are moving more than one subscription, provide this information for each subscription and identify which AWS-linked QuotaGuard login should receive which Heroku subscription. We can migrate them one at a time. We queue these up during normal business hours and run the backend swap once we have your go-ahead. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#prepare-to-migrate-from-heroku-to-aws",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#prepare-to-migrate-from-heroku-to-aws"
  },"1070": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "What Happens During the Swap Window",
    "content": "The swap is entirely backend on our side. It runs whenever you tell us you are ready, and from that go-ahead it takes about 2 minutes, has no downtime, and requires no action from your team during the window. Your existing Heroku QUOTAGUARDSTATIC_URL (or QUOTAGUARDSHIELD_URL) environment variable keeps routing the same traffic to the same IPs throughout, so the swap itself cannot cause a production issue. Under the hood, the swap moves the ownership of your original subscription (with your real IPs and connection URL) onto your new AWS Marketplace account. The temporary credentials from your AWS sign-up move the other way and end up on the Heroku side of our backend, where they sit unused until you remove the add-on. The only steps with any visible impact on your side (removing the Heroku add-on, restoring the env var) happen later, on your schedule, potentially days or weeks after we complete the swap. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#what-happens-during-the-swap-window",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#what-happens-during-the-swap-window"
  },"1071": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "Verify and Cut Over",
    "content": "Step 4. Wait for confirmation. Support will email you when the swap is complete on our side. Step 5. Verify the swap. After the swap completes, log into your QuotaGuard dashboard at dash.quotaguard.com using the email and password you set in Step 1. You will see your subscription listed there, with the same connection URL your Heroku app has been using all along. That confirms the swap is done and your original credentials are now under your AWS Marketplace account. If you open QuotaGuard from the Heroku Resources tab after the swap, you will see a different URL. That is expected. The Heroku side of our backend now holds the temporary credentials from your AWS sign-up. They are not in use by your app, and they will be cleaned up automatically when you remove the Heroku add-on. You can safely ignore them. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#verify-and-cut-over",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#verify-and-cut-over"
  },"1072": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "Take Your Time Before Removing the Add-On",
    "content": "There is no rush to remove the Heroku add-on after the swap. We recommend confirming that normal traffic continues flowing through your same IPs, and watching that hold for an hour or two before you remove the add-on. Step 6. Monitor traffic for an hour or two. Check your application logs and confirm that traffic continues to flow through the same static IPs. Behavior should be identical to before the swap. If anything looks off, contact Support before going further. Rolling back at this point is fast (see the rollback section below). Step 7. Remove the Heroku add-on. When you are confident the swap succeeded, remove the QuotaGuard add-on from Heroku. Via the Heroku CLI: . Copy heroku addons:destroy -a APPNAME quotaguardstatic # or heroku addons:destroy -a APPNAME quotaguardshield . When you remove the add-on, Heroku will delete the QUOTAGUARDSTATIC_URL (or QUOTAGUARDSHIELD_URL) environment variable from your app. You will restore it in the next step. Step 8. Restore the connection URL environment variable. (If you are only using our Inbound Proxy, you can skip this step.) . Set the connection URL environment variable using the value you saved in Step 2 or copied from your QuotaGuard dashboard. If your application is still running on Heroku, restore it there. If you are moving the application to Render, Fly.io, Kubernetes, or another platform, set the same value in that platform’s environment configuration instead. Via the Heroku CLI: . Copy heroku config:set -a APPNAME QUOTAGUARDSTATIC_URL=$QG_URL # or heroku config:set -a APPNAME QUOTAGUARDSHIELD_URL=$QG_URL . If you would like us online when you make this change, let Support know ahead of time and we will arrange a window. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#take-your-time-before-removing-the-add-on",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#take-your-time-before-removing-the-add-on"
  },"1073": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "If You Need to Roll Back",
    "content": "Rollback is straightforward and depends on where you are in the process. | Before you have removed the Heroku add-on: Email Support and we swap back. No action on your side. The AWS Marketplace subscription you created stays on your AWS account, you can cancel it through AWS Marketplace whenever you are ready (see Change or Cancel Your AWS Plan). | After you have removed the Heroku add-on: Re-provision the QuotaGuard add-on on Heroku. Heroku will issue a new connection URL. Email Support and we swap back. Then restore your QUOTAGUARDSTATIC_URL (or QUOTAGUARDSHIELD_URL) env var to the original URL you used before so your app continues using the same IPs. | . In either case, the same IPs you started with stay assigned to your subscription throughout, so there is no risk of losing the addresses your downstream partners have allowlisted. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#if-you-need-to-roll-back",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#if-you-need-to-roll-back"
  },"1074": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "Common Questions",
    "content": "Will traffic be interrupted during the swap? No. Your existing connection URL keeps working the entire time. The swap is a backend ownership change, your traffic path does not shift. Do my static IP addresses change? No. Your IPs are tied to your subscription, not to the billing platform. They stay with you when ownership moves to AWS. Can I move several QuotaGuard subscriptions into one AWS account? Only if they are different products. One AWS account can hold one QuotaGuard Shield contract and one QuotaGuard Static contract because they are separate Marketplace listings. It cannot hold two Shield contracts or two Static contracts. Each additional subscription of the same product requires another AWS account, such as a member account in your AWS Organization, or it can use direct QuotaGuard billing instead. What if I picked the wrong plan when subscribing on AWS Marketplace? Upgrades happen immediately through AWS Marketplace. Downgrades require cancelling your current plan and subscribing at the lower tier after your current billing period ends. See How to Change or Cancel Your AWS Plan for the AWS-side mechanics. What if I want to cancel my AWS subscription later? AWS Marketplace cancellation takes effect at the end of your current billing period and AWS does not issue partial-month refunds. The cancellation flow is documented at How to Change or Cancel Your AWS Plan. If you also want to keep your static IPs across the cancellation (for example, to move back to direct billing), contact Support before cancelling so we can plan the IP-preserving swap in advance. Are there any code changes I need to make in my Heroku app? No, with one small bookkeeping step. The connection URL and credentials your app uses do not change. Once Heroku deletes the addon-managed env var (when you remove the add-on in Step 7), you set it back manually in Step 8 using the value you backed up or copied from your dashboard. No application code changes. More questions we did not cover? Write us any time at Support. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/#common-questions",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/#common-questions"
  },"1075": {
    "doc": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "title": "How to Migrate Your Static IP's from Heroku to AWS Marketplace",
    "content": "If you are leaving Heroku for AWS but want to keep using QuotaGuard, the process is straightforward and you keep the same static IPs, the same connection URL, and the same credentials throughout. Most of the work happens on our side. You sign up through AWS Marketplace, tell us you are ready, and we move the ownership of your existing subscription onto your new AWS account. This page is the AWS-specific version of our direct migration guide. The backend swap works the same way, but AWS Marketplace has an important account limitation for customers with multiple subscriptions. Read the multiple-subscription section below before purchasing any AWS contracts. How long will this take you? About 15 to 20 minutes of active work on your end, and you can spread it over a day or two if you want to monitor traffic in between steps. The backend swap on our side runs whenever you tell us you are ready, and from that go-ahead it takes about 2 minutes. ",
    "url": "/docs/platforms/heroku/migrate-to-aws/",
    "relUrl": "/docs/platforms/heroku/migrate-to-aws/"
  },"1076": {
    "doc": "Is There a Minimum Commitment for Using QuotaGuard?",
    "title": "Is There a Minimum Commitment for Using QuotaGuard?",
    "content": "No. And Not Ever. Our goal is to be your long-term service provider if and only if we solve a true use case problem for you company. We never want to force anyone into a plan longer than they need us. First off, every new account has a three or seven day free trial. After the free trial, you will be billed for your first month of usage only if you don’t cancel. If you cancel, your account will be removed and you will not be billed in the future. If you have any questions about a committment or cancellation, reach out to us at Support any time. ",
    "url": "/docs/account/billing/minimum-commitment/",
    "relUrl": "/docs/account/billing/minimum-commitment/"
  },"1077": {
    "doc": "Accessing a MySQL Database via a Static IP from Node.js",
    "title": "Accessing a MySQL Database via a Static IP from Node.js",
    "content": "You can route all database traffic via a Static IP in Node.js using QuotaGuard. Currently there is a limitation in that you can’t use the built in connection pooling, so this is not recommended for high traffic applications. Copy var mysql = require('mysql2'); var url = require(\"url\"); var SocksConnection = require('socksjs'); var remote_options = { host:'your-database.eu-west-1.rds.amazonaws.com', port: 3306 }; var proxy = url.parse(process.env.QUOTAGUARDSTATIC_URL); var auth = proxy.auth; var username = auth.split(\":\")[0] var pass = auth.split(\":\")[1] var sock_options = { host: proxy.hostname, port: 1080, user: username, pass: pass } var sockConn = new SocksConnection(remote_options, sock_options) var dbConnection = mysql.createConnection({ user: 'dbuser', database: 'dbname', password: 'dbpassword', stream: sockConn }); dbConnection.query('SELECT 1+1 as test1;', function(err, rows, fields) { if (err) throw err; console.log('Result: ', rows); sockConn.dispose(); }); dbConnection.end(); . Any issues? Reach out at Support so we can help. ",
    "url": "/docs/outbound-proxy/node-js/mysql-connection/",
    "relUrl": "/docs/outbound-proxy/node-js/mysql-connection/"
  },"1078": {
    "doc": "How to Setup a Static IP with PythonAnywhere and MySQL",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/outbound-proxy/python/mysql-connection/#getting-help",
    "relUrl": "/docs/outbound-proxy/python/mysql-connection/#getting-help"
  },"1079": {
    "doc": "How to Setup a Static IP with PythonAnywhere and MySQL",
    "title": "How to Setup a Static IP with PythonAnywhere and MySQL",
    "content": "Unfortunately, Python’s MSSQL implementations are extrapolations of C libraries and there is no clean way to insert a proxy directly into the implementation. But never fear, we can use the QGTunnel solution to get around this limitation. The setup is very similar to setting up QuotaGuard with MySQL, just with different ports involved. We’re going to use the SOCKS proxy using the QGTunnel software. To get started: . 1) Download QGTunnel . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . 2) Setup the Tunnel . If you are using the Heroku CLI, you can log into our dashboard with the following command: . heroku addons:open quotaguardstatic . Or, if you prefer, you can login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. Copy Remote Destination: tcp://hostname.for.your.server.com:1433 Local Port: 1433 Transparent: true Encrypted: false . This setup assumes that the remote MYSQL: server is located at “hostname.for.your.server.com” and is listening on port 1433 (This is usually the default port.). The Local Port is the port number that QGTunnel will listen on. In this example, we set it to 1433, but if you have another process using 1433, you may have to change it (ie: 1434).     Transparent Mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions.     Encrypted Mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We believe MSSQL is already encrypted, but you should always double check. Creating the tunnels in the dashboard is for convenience. Please see the last step (Harden Your Setup) for how to remove this dependency from your system. 3) Change Your Code to Connect Through the Tunnel (maybe) . You may have to change your code to connect through QGTunnel. With transparent mode and matching Local and Remote ports you should not need to change your code. You can also connect to 127.0.0.1:1433. Without transparent mode, you will want to connect to 127.0.0.1:1433. 4) Change your Procfile . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . 5) Setup the Environment Variable QUOTAGUARDSTATIC_URL to be Equal to your Connection URL in the Setup Page of our Dashboard . If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc.) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. 6) Deploy . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. 7) (Optional) If problems arise… . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. 8) IMPORTANT: Harden Your Setup . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/outbound-proxy/python/mysql-connection/",
    "relUrl": "/docs/outbound-proxy/python/mysql-connection/"
  },"1080": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Why n8n Workflows Get Blocked",
    "content": "When you run a workflow on n8n Cloud or a self-hosted instance on a cloud provider, your outbound traffic comes from shared, rotating IP addresses. These IPs are often flagged by: . | Enterprise firewalls and WAFs (Cloudflare, Akamai) | Corporate APIs with IP allowlisting requirements | Google Workspace Context-Aware Access policies | Financial services and healthcare APIs with strict access controls | Database providers like MongoDB Atlas or Amazon RDS | . The result is 403 Forbidden or ECONNREFUSED errors that have nothing to do with your workflow logic. Your API keys are valid. Your code is correct. The target service is simply blocking cloud IP ranges. QuotaGuard gives your n8n workflows a fixed, verifiable identity that partners can add to their firewall allowlists once. ",
    "url": "/docs/automation/n8n-integration/#why-n8n-workflows-get-blocked",
    "relUrl": "/docs/automation/n8n-integration/#why-n8n-workflows-get-blocked"
  },"1081": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Start with your connection details, follow the five steps in Option 1, then run the test workflow below. The other configuration options remain in the Programmatic reference. If a check fails, use Troubleshooting. ",
    "url": "/docs/automation/n8n-integration/#guided-setup-quickstart",
    "relUrl": "/docs/automation/n8n-integration/#guided-setup-quickstart"
  },"1082": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Select a QuotaGuard region close to your n8n deployment to minimize latency: . | n8n Hosting Location | Recommended QuotaGuard Region | . | US (AWS, DigitalOcean) | US-East | . | Europe | EU | . | Asia-Pacific | AP-Southeast or AP-Northeast | . Your proxy URL will look like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . This URL contains your credentials and the proxy hostname. You’ll use this to route n8n requests through your static IPs. Finding Your Static IPs: Your two static IPs are displayed in the QuotaGuard dashboard. Both IPs are active simultaneously for high availability. Add both to any firewall allowlists you’re configuring on the target service side. ",
    "url": "/docs/automation/n8n-integration/#getting-started",
    "relUrl": "/docs/automation/n8n-integration/#getting-started"
  },"1083": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Configuring n8n",
    "content": "n8n supports proxy configuration at multiple levels depending on your deployment type and needs. Choose your starting point: On n8n Cloud, start with Option 1: HTTP Request node. On self-hosted n8n, you can also start with Option 1; see Option 3 for process environment settings. For database/TCP connections on a self-hosted runtime, use the QGTunnel section below. ",
    "url": "/docs/automation/n8n-integration/#configuring-n8n",
    "relUrl": "/docs/automation/n8n-integration/#configuring-n8n"
  },"1084": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Option 1: HTTP Request Node (Recommended for Most Users)",
    "content": "The simplest approach is configuring the proxy directly in individual HTTP Request nodes. This works for both n8n Cloud and self-hosted instances. Step 1: Open your HTTP Request node in the n8n workflow editor. Step 2: Click Add Option at the bottom of the node configuration panel. Step 3: Select Proxy from the options list. Step 4: Enter your QuotaGuard proxy URL: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Step 5: Execute your workflow. All requests from this node will now route through your static IP. The node-level Proxy option takes precedence over the HTTP_PROXY, HTTPS_PROXY, and ALL_PROXY environment variables, so a single node can use QuotaGuard even on an instance configured differently. This method is ideal when: . | You’re using n8n Cloud | You only need static IPs for specific API calls | Different nodes need different proxy configurations | . ",
    "url": "/docs/automation/n8n-integration/#option-1-http-request-node-recommended-for-most-users",
    "relUrl": "/docs/automation/n8n-integration/#option-1-http-request-node-recommended-for-most-users"
  },"1085": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Create a simple workflow to verify your proxy configuration: . Step 1: Add an HTTP Request node. Step 2: Set the URL to: . https://ip.quotaguard.com . Step 3: Configure the proxy option with your QuotaGuard URL. Step 4: Execute the workflow. Expected response: . {\"ip\":\"&lt;one of your two assigned QuotaGuard IPs&gt;\"} . The returned IP must match either of your two assigned IPs shown in the QuotaGuard dashboard. You can repeat the workflow, but observing both addresses is not required for success. Allowlist both assigned IPs at the destination. ",
    "url": "/docs/automation/n8n-integration/#testing-your-implementation",
    "relUrl": "/docs/automation/n8n-integration/#testing-your-implementation"
  },"1086": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Workflow Testing Example",
    "content": "Here’s a complete test workflow structure: . | Manual Trigger - Start the workflow manually | HTTP Request - Call https://ip.quotaguard.com with proxy configured | Set - Extract the IP from the response | IF - Check if the IP matches your expected QuotaGuard IPs | . This gives you a reusable workflow to verify proxy configuration is working. ",
    "url": "/docs/automation/n8n-integration/#workflow-testing-example",
    "relUrl": "/docs/automation/n8n-integration/#workflow-testing-example"
  },"1087": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Programmatic reference",
    "content": "Use the shared connection URL and allowlist, node-level configuration and precedence, and verification workflow and expected result above. The remaining options cover reusable configuration, self-hosted process variables and local instances, followed by database/TCP setup, use cases, troubleshooting and product distinctions. ",
    "url": "/docs/automation/n8n-integration/#programmatic-reference",
    "relUrl": "/docs/automation/n8n-integration/#programmatic-reference"
  },"1088": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Option 2: Reusing One Proxy Value Across Nodes",
    "content": "n8n credentials carry authentication, not transport settings. The generic HTTP Request credential types (Basic auth, Header auth, Digest auth, Query auth, Custom auth, OAuth1 and OAuth2) have no proxy field, so the proxy itself lives in the node’s Proxy option from Option 1. To stop retyping the connection string in every node, take one of these two routes. Self-hosted: set it once on the instance. Configure HTTP_PROXY and HTTPS_PROXY as shown in Option 3. Every node then sends its HTTP and HTTPS requests through QuotaGuard with no node-level setting at all, and no workflow stores your proxy password. Prefer this route whenever you control the process. n8n Cloud: put the one configured node in a sub-workflow. Cloud gives you no process environment variables, so centralise the proxy in a workflow the others call: . | Create a workflow whose trigger is When Executed by Another Workflow. | Set that trigger’s Input data mode to Define using fields below and define the fields you want to pass in, for example url, method and body. | Add one HTTP Request node, map those fields into it, and set its Proxy option to your QuotaGuard URL. | Open Options &gt; Settings and set This workflow can be called by so that only the workflows you intend can invoke it. | In each calling workflow, add an Execute Sub-workflow node, select this workflow, and fill in the fields you defined. | . One node now holds the connection string, which is the point, but be clear about who can see it: the proxy URL is stored as a node parameter, so anyone able to open or export that sub-workflow can read it, password included, and it appears in the workflow’s JSON export. Limit edit access to that workflow, and rotate the proxy password in the QuotaGuard dashboard if it is exposed. ",
    "url": "/docs/automation/n8n-integration/#option-2-reusing-one-proxy-value-across-nodes",
    "relUrl": "/docs/automation/n8n-integration/#option-2-reusing-one-proxy-value-across-nodes"
  },"1089": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Option 3: Global Environment Variables (Self-Hosted Only)",
    "content": "For self-hosted n8n instances, you can configure the proxy globally so all outbound HTTP requests route through QuotaGuard automatically. Docker Compose: . Add these environment variables to your docker-compose.yml: . services: n8n: image: n8nio/n8n environment: - HTTP_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 - HTTPS_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 - NO_PROXY=localhost,127.0.0.1 # ... rest of your configuration . npm/Node.js Installation: . Set the environment variables before starting n8n: . export HTTP_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" export HTTPS_PROXY=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" export NO_PROXY=\"localhost,127.0.0.1\" n8n start . Important: The NO_PROXY variable prevents internal n8n traffic from routing through the proxy. Without it, internal health checks and local connections may fail. Four details about how n8n reads these variables are worth knowing before you debug one: . | HTTP_PROXY covers unencrypted HTTP requests and HTTPS_PROXY covers HTTPS requests. Setting both to the same QuotaGuard URL, as above, covers the HTTP and HTTPS requests your nodes make. | ALL_PROXY is a per-protocol fallback, not a global one: for each request n8n looks for the variable matching that request’s protocol and falls back to ALL_PROXY only for that protocol. Set HTTPS_PROXY alone and plain HTTP requests still fall through to ALL_PROXY if it is set. | Lowercase wins. When both http_proxy and HTTP_PROXY are present, n8n uses the lowercase one, so pick one form and stick to it. | NO_PROXY takes a comma-separated list of bare hostnames, each optionally with a port, as in localhost,127.0.0.1,db.internal:5432. The matching is done by the proxy-from-env library: an entry has to match the host name exactly unless it starts with a dot or an asterisk, in which case it matches any host ending with the entry, and NO_PROXY=* disables all proxies. Full URLs are not parsed, so an entry like https://db.internal never matches anything. | . A node’s own Proxy option overrides all of them, which is the cleanest way to send one node somewhere different without touching instance configuration. ",
    "url": "/docs/automation/n8n-integration/#option-3-global-environment-variables-self-hosted-only",
    "relUrl": "/docs/automation/n8n-integration/#option-3-global-environment-variables-self-hosted-only"
  },"1090": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Option 4: Local Development Instances",
    "content": "n8n Desktop is no longer part of the product; its repository has been archived and marked as no longer maintained. Local use now means an npm or Docker install, which behaves like any other self-hosted instance, so everything above applies unchanged. For a local instance: . | Configure the proxy in your HTTP Request node as described in Option 1, or | Export HTTP_PROXY and HTTPS_PROXY in the shell before starting n8n, as in Option 3 | For database and other TCP connections, wrap the start command with QGTunnel as described below | . ",
    "url": "/docs/automation/n8n-integration/#option-4-local-development-instances",
    "relUrl": "/docs/automation/n8n-integration/#option-4-local-development-instances"
  },"1091": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Database Connections (SOCKS5)",
    "content": "For non-HTTP protocols like PostgreSQL, MySQL, or MongoDB connections from n8n, use QuotaGuard’s SOCKS5 proxy with QGTunnel. ",
    "url": "/docs/automation/n8n-integration/#database-connections-socks5",
    "relUrl": "/docs/automation/n8n-integration/#database-connections-socks5"
  },"1092": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "When to Use SOCKS5",
    "content": "Standard HTTP proxies only handle HTTP/HTTPS traffic. If your n8n workflow uses: . | PostgreSQL node | MySQL node | MongoDB node | SSH node | FTP node | Any raw TCP connection | . You’ll need SOCKS5 proxying. ",
    "url": "/docs/automation/n8n-integration/#when-to-use-socks5",
    "relUrl": "/docs/automation/n8n-integration/#when-to-use-socks5"
  },"1093": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Setting Up QGTunnel for Self-Hosted n8n",
    "content": "Step 1: Download QGTunnel to the root of your n8n project: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . The archive extracts two things you need to keep together: bin/qgtunnel and vendor/nss_wrapper/libnss_wrapper.so. QGTunnel resolves that vendor path relative to the directory it starts in, and transparent mode depends on the library, so wherever you place bin/, place vendor/ beside it. Step 2: Configure your tunnel in the QuotaGuard dashboard, then download it as a .qgtunnel file into the same project root: . Navigate to Settings &gt; Setup &gt; Tunnel &gt; Create Tunnel. Example PostgreSQL configuration: . | Setting | Value | . | Remote Destination | tcp://your-database.example.com:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Step 3: Start n8n with QGTunnel. QGTunnel reads your connection URL from the environment, so export it before the start command: . export QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" bin/qgtunnel n8n start . On Shield, export your assigned Shield URL as QUOTAGUARDSHIELD_URL instead. QGTunnel needs one of the two and stops immediately without them, so this export is not optional. The HTTP_PROXY variables from Option 3 do not satisfy it: they configure n8n’s HTTP clients, not the tunnel. Or in Docker Compose: . services: n8n: image: n8nio/n8n entrypoint: [\"tini\", \"--\", \"/home/node/bin/qgtunnel\", \"/docker-entrypoint.sh\"] environment: - QUOTAGUARDSTATIC_URL=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 volumes: - ./bin:/home/node/bin:ro - ./vendor:/home/node/vendor:ro - ./.qgtunnel:/home/node/.qgtunnel:ro . Three details in that example are deliberate: . | The entrypoint chain. The official image starts as tini -- /docker-entrypoint.sh, and that script is what trusts certificates mounted at /opt/custom-certificates before launching n8n, so keeping both in the chain means you give up neither signal handling nor your custom CA bundle. | The mount location. /home/node is the image’s working directory, so QGTunnel finds vendor/nss_wrapper/libnss_wrapper.so on the relative path it expects. The container runs as the node user, so the files you mount must be readable by it and bin/qgtunnel must be executable: chmod +x bin/qgtunnel before starting. | The .qgtunnel mount. The tunnel configuration you downloaded in Step 2 has to be inside the container, not just on the host, which is what the third volume does. Without it, QGTunnel falls back to fetching the configuration from QuotaGuard’s API at every start. | . The published archive is a Linux x86-64 build, so use it on x86-64 hosts; an arm64 machine needs a build for that architecture. Two more QGTunnel settings make the rest of the setup easier to live with: . | If you are not using transparent mode, set QGTUNNEL_DNSMODE=DISABLED to keep a harmless DNS error out of your logs. | QGTUNNEL_DEBUG=true turns on verbose logging while you are getting set up. | . With transparent mode enabled, your n8n database nodes can connect to the original hostname while traffic routes through the tunnel transparently. ",
    "url": "/docs/automation/n8n-integration/#setting-up-qgtunnel-for-self-hosted-n8n",
    "relUrl": "/docs/automation/n8n-integration/#setting-up-qgtunnel-for-self-hosted-n8n"
  },"1094": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "n8n Cloud Database Limitations",
    "content": "n8n Cloud does not support QGTunnel or SOCKS5 proxy configuration. If you need static IPs for database connections on n8n Cloud, consider: . | Using a self-hosted n8n instance with QGTunnel | Creating an API wrapper service that proxies database queries through HTTP | Using cloud database providers that support VPC peering instead of IP allowlisting | . ",
    "url": "/docs/automation/n8n-integration/#n8n-cloud-database-limitations",
    "relUrl": "/docs/automation/n8n-integration/#n8n-cloud-database-limitations"
  },"1095": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Common Use Cases",
    "content": " ",
    "url": "/docs/automation/n8n-integration/#common-use-cases",
    "relUrl": "/docs/automation/n8n-integration/#common-use-cases"
  },"1096": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Connecting to Firewalled APIs",
    "content": "Many enterprise APIs require IP allowlisting. Configure the proxy in your HTTP Request node, then provide your QuotaGuard static IPs to the API provider for their allowlist. ",
    "url": "/docs/automation/n8n-integration/#connecting-to-firewalled-apis",
    "relUrl": "/docs/automation/n8n-integration/#connecting-to-firewalled-apis"
  },"1097": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Google Workspace Context-Aware Access",
    "content": "If your organization uses Google Workspace with Context-Aware Access policies, n8n Cloud requests may be blocked because they come from unauthorized IPs. Route your Google API requests through QuotaGuard, then add your static IPs to the Context-Aware Access policy. ",
    "url": "/docs/automation/n8n-integration/#google-workspace-context-aware-access",
    "relUrl": "/docs/automation/n8n-integration/#google-workspace-context-aware-access"
  },"1098": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Webhook Receivers with IP Restrictions",
    "content": "Some services only accept webhooks from known IP addresses. Configure your outbound webhook calls through QuotaGuard, then add your static IPs to the destination service’s allowlist. ",
    "url": "/docs/automation/n8n-integration/#webhook-receivers-with-ip-restrictions",
    "relUrl": "/docs/automation/n8n-integration/#webhook-receivers-with-ip-restrictions"
  },"1099": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Avoiding Rate Limiting by Cloud IP Reputation",
    "content": "Cloud provider IP ranges are sometimes rate-limited more aggressively because they’re associated with automated traffic. ",
    "url": "/docs/automation/n8n-integration/#avoiding-rate-limiting-by-cloud-ip-reputation",
    "relUrl": "/docs/automation/n8n-integration/#avoiding-rate-limiting-by-cloud-ip-reputation"
  },"1100": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds a network hop to your requests: . | Configuration | Added Latency | . | Same region (n8n US + QuotaGuard US-East) | 10-20ms | . | Cross-region | 50-100ms | . For high-volume or latency-sensitive workflows, select a QuotaGuard region that matches your n8n hosting location. ",
    "url": "/docs/automation/n8n-integration/#latency-considerations",
    "relUrl": "/docs/automation/n8n-integration/#latency-considerations"
  },"1101": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/automation/n8n-integration/#troubleshooting",
    "relUrl": "/docs/automation/n8n-integration/#troubleshooting"
  },"1102": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "403 Forbidden Errors",
    "content": "If you’re still seeing 403 errors after configuring the proxy: . | Verify the proxy is active: Test with ip.quotaguard.com to confirm traffic routes through QuotaGuard | Check the destination allowlist: Ensure both of your QuotaGuard static IPs are added to the target service’s firewall | Confirm authentication: Double-check your proxy URL credentials are correct | . See our detailed guide: How to Fix 403 Forbidden Errors in n8n HTTP Request Nodes . ",
    "url": "/docs/automation/n8n-integration/#403-forbidden-errors",
    "relUrl": "/docs/automation/n8n-integration/#403-forbidden-errors"
  },"1103": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your proxy credentials are incorrect. Verify your username:password in the proxy URL matches your QuotaGuard dashboard credentials. ",
    "url": "/docs/automation/n8n-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/automation/n8n-integration/#407-proxy-authentication-required"
  },"1104": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Connection Timeout",
    "content": ". | Check that your n8n instance can reach external networks | Verify the QuotaGuard proxy hostname is correct | Ensure no firewall rules are blocking outbound connections to port 9293 | . ",
    "url": "/docs/automation/n8n-integration/#connection-timeout",
    "relUrl": "/docs/automation/n8n-integration/#connection-timeout"
  },"1105": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Wrong IP Address in Response",
    "content": "The proxy URL may not be configured correctly in your HTTP Request node: . | Check that you entered the full URL including the protocol (http://) | Verify the proxy option is enabled in the node | Try creating a new HTTP Request node with fresh configuration | On self-hosted instances, check for a competing lowercase http_proxy or https_proxy variable, which takes precedence over the uppercase form, and remember that a node’s own Proxy option overrides both | . ",
    "url": "/docs/automation/n8n-integration/#wrong-ip-address-in-response",
    "relUrl": "/docs/automation/n8n-integration/#wrong-ip-address-in-response"
  },"1106": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Container Exits Immediately After Adding QGTunnel",
    "content": "If the container stops as soon as it starts and the log reads: . [QGTUNNEL] Missing QUOTAGUARDSTATIC_URL and QUOTAGUARDSHIELD_URL environment variables. Exiting. QGTunnel found no connection URL, so it exited without ever launching n8n. Set QUOTAGUARDSTATIC_URL (or QUOTAGUARDSHIELD_URL if you are on Shield) on the container and restart. QGTunnel converts the HTTP URL and port to their SOCKS5 equivalents itself, so either connection URL from the dashboard is fine. ",
    "url": "/docs/automation/n8n-integration/#container-exits-immediately-after-adding-qgtunnel",
    "relUrl": "/docs/automation/n8n-integration/#container-exits-immediately-after-adding-qgtunnel"
  },"1107": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "n8n Cloud Proxy Not Working",
    "content": "n8n Cloud supports proxy configuration only at the HTTP Request node level (Option 1). Global environment variables are not available on n8n Cloud. If the node-level proxy isn’t working: . | Ensure you’re configuring the Proxy option, not Headers | Double-check the URL format includes credentials | Test with a simple ip.quotaguard.com call first | . ",
    "url": "/docs/automation/n8n-integration/#n8n-cloud-proxy-not-working",
    "relUrl": "/docs/automation/n8n-integration/#n8n-cloud-proxy-not-working"
  },"1108": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Nodes Other Than HTTP Request",
    "content": "Most n8n app nodes (Slack, Gmail, Salesforce, etc.) make HTTP requests internally but don’t expose proxy configuration. For these nodes: . | Self-hosted: Use global environment variables (Option 3) to proxy all traffic | n8n Cloud: These nodes cannot be proxied. Contact the service provider to discuss IP allowlisting options or consider using the HTTP Request node with the service’s raw API instead | . ",
    "url": "/docs/automation/n8n-integration/#nodes-other-than-http-request",
    "relUrl": "/docs/automation/n8n-integration/#nodes-other-than-http-request"
  },"1109": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "QuotaGuard offers two products for static IPs: . | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Outbound proxy URL | http://username:password@&lt;host&gt;:9293 | https://username:password@&lt;host&gt;:9294 | . | Encryption | Outbound HTTPS travels in a blind CONNECT tunnel; payload never decrypted. The app-to-proxy hop uses the plain HTTP proxy protocol | Outbound HTTPS travels in a blind CONNECT tunnel; payload never decrypted. The app-to-proxy hop is encrypted with TLS | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . For most n8n workflows, QuotaGuard Static provides everything you need. Choose Shield if you’re handling protected health information (PHI), payment card data, or have specific compliance requirements. ",
    "url": "/docs/automation/n8n-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/automation/n8n-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1110": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Get QuotaGuard for n8n . Read: How to Fix 403 Forbidden Errors in n8n . View n8n Integration Features . ",
    "url": "/docs/automation/n8n-integration/#ready-to-get-started",
    "relUrl": "/docs/automation/n8n-integration/#ready-to-get-started"
  },"1111": {
    "doc": "QuotaGuard and n8n Integration Guide",
    "title": "QuotaGuard and n8n Integration Guide",
    "content": "QuotaGuard Static IPs allow your n8n workflows to send outbound HTTP requests through a load-balanced pair of static IP addresses. Once configured, you can use QuotaGuard’s IPs to connect to firewalled APIs, enterprise databases, and services that require IP allowlisting. You do not need QuotaGuard for internal n8n operations or connections to services that don’t require IP whitelisting. QuotaGuard is specifically for reaching external services that block requests from unknown IP addresses. ",
    "url": "/docs/automation/n8n-integration/",
    "relUrl": "/docs/automation/n8n-integration/"
  },"1112": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "The Problem: IP Allow Needs an Address Serverless Does Not Give You",
    "content": "Neon’s IP Allow feature limits which addresses can connect to your project. Neon’s documentation describes it as ensuring that only trusted IP addresses can reach the project where your database resides. That is the control a security review asks for. It also collides directly with Neon’s own audience, because Neon is built for serverless and its users run on exactly the platforms that have no stable egress address. When you connect from an address that is not on the list, Neon tells you plainly: . This IP address is not allowed to connect to this endpoint . That message is more helpful than most. It arrives from the Neon Proxy, which sits in front of your database and evaluates connections before they reach Postgres, so you get a clear rejection rather than a silent timeout. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#the-problem-ip-allow-needs-an-address-serverless-does-not-give-you",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#the-problem-ip-allow-needs-an-address-serverless-does-not-give-you"
  },"1113": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "The Common Workaround",
    "content": "The usual response is to leave IP Allow off entirely, or to enter a range wide enough to cover whatever your platform might use, which in practice means most of the internet. Neon endpoints are publicly addressable, and a Postgres connection string is the entire credential. Without a network restriction, a leaked connection string is unrestricted access from anywhere. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#the-common-workaround",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#the-common-workaround"
  },"1114": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "The QuotaGuard Solution",
    "content": "Route your Neon connections through QuotaGuard’s SOCKS5 proxy. Traffic exits from one of the two static IP addresses assigned to your subscription. Add those two addresses to IP Allow. | Network-level protection that actually works on a serverless platform | The same two IPs cover every platform in your stack | Adding a worker on Fly.io or moving off Vercel changes nothing on the Neon side | A leaked connection string is no longer sufficient on its own | . ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#the-quotaguard-solution",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#the-quotaguard-solution"
  },"1115": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Native Neon Options (What They Cover)",
    "content": "| Option | Requirements | Best for | . | IP Allow | Neon Scale plan | Any application that can present a stable source address | . | Protected branches | Neon paid plans | Scoping restrictions to production while dev branches stay open | . | Private Networking | AWS, via PrivateLink | Teams already inside AWS who want to bypass the public internet entirely | . Two constraints are worth knowing before you start. IP Allow is gated to the Neon Scale plan. If you are on Free or Launch, the feature is not available to you regardless of how you configure the connection. Protected branches are available on paid plans, with the Launch plan supporting up to 2 and the Scale plan up to 5. This matters because of how IP Allow can be scoped, covered below. Use QuotaGuard when: . | Your application runs on a platform with dynamic egress IPs you cannot enumerate | You are on Vercel, Netlify, or a serverless runtime where no VPC option exists | Your stack spans several platforms and you want one pair of entries for all of them | You want IP Allow on today without an infrastructure project | You need the same static identity for other destinations too, not just Neon | . ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#native-neon-options-what-they-cover",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#native-neon-options-what-they-cover"
  },"1116": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard, where you can find your proxy credentials and the two static IP addresses assigned to your subscription. Choose the right proxy region. Match your QuotaGuard region to the region hosting your Neon project. Postgres pays the latency cost on connection setup and on every round trip. QuotaGuard proxies run in 12 AWS regions: . | Region | Location | . | US-East-1 | N. Virginia | . | US-East-2 | Ohio | . | US-West-2 | Oregon | . | CA-Central-1 | Montreal | . | EU-West-1 | Ireland | . | EU-West-2 | London | . | EU-Central-1 | Frankfurt | . | AP-Northeast-1 | Tokyo | . | AP-Southeast-1 | Singapore | . | AP-Southeast-2 | Sydney | . | AP-South-1 | Mumbai | . | SA-East-1 | Sao Paulo | . Your Neon project’s region is shown on the project dashboard and is encoded in the endpoint hostname. Pick the matching QuotaGuard region, or the nearest available one, from the region list in your dashboard. Your QuotaGuard SOCKS5 credentials look like this: . Host: &lt;region&gt;-static-01.quotaguard.com Port: 1080 Username: your-username Password: your-password . For example, us-east-static-01.quotaguard.com. Use the exact host and credentials shown in your QuotaGuard dashboard rather than assembling a hostname by hand. Finding your static IPs: both addresses are shown in the QuotaGuard dashboard. Add both. The dashboard pair is the single source of truth. Do not resolve the proxy hostname to obtain an address, and do not add only one of the two. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#getting-started",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#getting-started"
  },"1117": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Understand Neon’s Endpoint Routing Before You Tunnel",
    "content": "This is the section that saves you an afternoon, and it is where Neon differs most from other managed Postgres providers. Neon puts a proxy in front of your database, and that proxy uses the hostname you connect to in order to work out which compute endpoint you mean. The hostname is not incidental. It is the routing information. Neon documents a fallback for client libraries that cannot send SNI, using an options=endpoint%3D&lt;endpoint-id&gt; parameter on the connection string. Check Neon’s current connection documentation for the exact syntax before relying on it, because the workaround has changed over time. The practical consequence: do not point a Neon connection at localhost. A QGTunnel mapping in non-transparent mode rewrites the host, which strips the routing information Neon needs and breaks TLS certificate verification at the same time. Use transparent mode, which preserves the original hostname and overrides DNS instead. See how QGTunnel works for what transparent mode does. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#understand-neons-endpoint-routing-before-you-tunnel",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#understand-neons-endpoint-routing-before-you-tunnel"
  },"1118": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Pooled and Direct Endpoints",
    "content": "Neon offers a pooled endpoint backed by PgBouncer and a direct endpoint that bypasses it. The pooled hostname carries a -pooler suffix. Serverless applications should use the pooled endpoint, because direct connections from short-lived functions exhaust connection limits quickly. IP Allow applies to the project, so both endpoints are covered. Your choice between them is about connection management, not about the allowlist. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#pooled-and-direct-endpoints",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#pooled-and-direct-endpoints"
  },"1119": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Branches Multiply Hostnames",
    "content": "Each Neon branch gets its own endpoint and hostname. If you tunnel to a specific host, every branch you actually connect to needs its own mapping, and preview branches created per pull request will not have one. Two ways to handle this. Scope IP Allow to protected branches only, so production is restricted and ephemeral branches stay open. Or use a wildcard host in your tunnel configuration; see wildcard host support. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#branches-multiply-hostnames",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#branches-multiply-hostnames"
  },"1120": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Configuring Neon IP Allow",
    "content": " ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#configuring-neon-ip-allow",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#configuring-neon-ip-allow"
  },"1121": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 1: Open Network Security",
    "content": ". | Select your project in the Neon Console | On the Project Dashboard, select Settings | Select Network Security | . ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-1-open-network-security",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-1-open-network-security"
  },"1122": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 2: Add Your QuotaGuard IPs",
    "content": "Under IP Allow, enter the addresses you want to permit. Neon accepts individual IP addresses, ranges, and CIDR notation, with multiple entries separated by commas. Add both static IPs from your QuotaGuard dashboard: . 203.0.113.10, 203.0.113.11 . Substitute the actual addresses shown in your dashboard. Click Save changes. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-2-add-your-quotaguard-ips",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-2-add-your-quotaguard-ips"
  },"1123": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 3: Decide Whether to Scope to Protected Branches",
    "content": "Neon offers a Restrict IP access to protected branches only option. With it enabled, your allowlist applies only to branches you have marked protected, and other branches carry no IP restriction. This is usually the right setting for a team using Neon’s branching workflow. Production is locked to your QuotaGuard pair, while preview and development branches stay reachable from developer laptops and CI without anyone maintaining a list of home IP addresses. If you want the restriction to apply everywhere, leave the option off. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-3-decide-whether-to-scope-to-protected-branches",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-3-decide-whether-to-scope-to-protected-branches"
  },"1124": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 4: Verify Before You Rely on It",
    "content": "Confirm a successful connection through the proxy before you treat the restriction as your access control. Add the pair, deploy the proxy configuration, confirm the application connects, then finish locking down. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-4-verify-before-you-rely-on-it",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-4-verify-before-you-rely-on-it"
  },"1125": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Configuring with the CLI",
    "content": "The Neon CLI manages the allowlist with the ip-allow command, which supports list, add, remove, and reset. List what is currently configured: . neon ip-allow list . Add your QuotaGuard addresses: . neon ip-allow add 203.0.113.10 203.0.113.11 . add appends to the existing list. reset replaces it entirely, and running reset with no addresses removes everything currently defined. Check Neon’s CLI reference for the current flags on your installed version before scripting this. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#configuring-with-the-cli",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#configuring-with-the-cli"
  },"1126": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Configuring Your Application",
    "content": "Postgres uses its own wire protocol over TCP, so this needs a SOCKS5 proxy, not an HTTP proxy. QuotaGuard’s SOCKS5 service runs on port 1080. If you want the background on the difference, see HTTP vs SOCKS5. Most Postgres drivers have no proxy option, because they wrap libpq or open a raw socket directly. Patching Python’s socket module with PySocks does not reach psycopg2, since libpq opens its socket in C and never passes through Python’s socket layer. | Language or stack | Recommended approach | . | Go (pgx, lib/pq) | Direct SOCKS5 with a custom dialer | . | Node.js (pg, Prisma, Drizzle, Sequelize) | QGTunnel in transparent mode, or a custom stream on pg | . | Python (psycopg2, psycopg, SQLAlchemy, Django) | QGTunnel in transparent mode | . | Ruby (ActiveRecord, Sequel) | QGTunnel in transparent mode | . | Java (JDBC) | QGTunnel in transparent mode | . | PHP (PDO) | QGTunnel in transparent mode | . | Elixir (Ecto, Postgrex) | QGTunnel in transparent mode | . Go is the cleanest integration here, because a custom dialer leaves the hostname untouched, which is exactly what Neon’s routing needs. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#configuring-your-application",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#configuring-your-application"
  },"1127": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Go with pgx",
    "content": "go get golang.org/x/net/proxy . package main import ( \"context\" \"fmt\" \"log\" \"net\" \"os\" \"github.com/jackc/pgx/v5\" \"golang.org/x/net/proxy\" ) func main() { auth := &amp;proxy.Auth{ User: os.Getenv(\"QUOTAGUARD_SOCKS_USER\"), Password: os.Getenv(\"QUOTAGUARD_SOCKS_PASS\"), } socksAddr := fmt.Sprintf(\"%s:%s\", os.Getenv(\"QUOTAGUARD_SOCKS_HOST\"), os.Getenv(\"QUOTAGUARD_SOCKS_PORT\"), ) socksDialer, err := proxy.SOCKS5(\"tcp\", socksAddr, auth, proxy.Direct) if err != nil { log.Fatal(\"socks5 dialer:\", err) } config, err := pgx.ParseConfig(os.Getenv(\"DATABASE_URL\")) if err != nil { log.Fatal(\"parse config:\", err) } config.DialFunc = func(ctx context.Context, network, addr string) (net.Conn, error) { return socksDialer.Dial(network, addr) } conn, err := pgx.ConnectConfig(context.Background(), config) if err != nil { log.Fatal(\"connect:\", err) } defer conn.Close(context.Background()) var now string if err := conn.QueryRow(context.Background(), \"select now()::text\").Scan(&amp;now); err != nil { log.Fatal(\"query:\", err) } fmt.Println(\"Connected to Neon through QuotaGuard at\", now) } . The connection string keeps the real Neon hostname, so SNI routing and TLS verification both behave normally. Only the transport underneath changes. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#go-with-pgx",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#go-with-pgx"
  },"1128": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Node.js with a custom stream on pg",
    "content": "The pg client accepts a stream factory, which lets you supply a socket opened through SOCKS5 while leaving the connection string intact. npm install pg socks . const { Client } = require('pg'); const { SocksClient } = require('socks'); const { URL } = require('url'); const dbUrl = new URL(process.env.DATABASE_URL); const client = new Client({ connectionString: process.env.DATABASE_URL, ssl: { rejectUnauthorized: true }, stream: () =&gt; { // socks returns a promise, so this requires a pg version that // accepts an async stream factory. Verify against your pinned version. return SocksClient.createConnection({ proxy: { host: process.env.QUOTAGUARD_SOCKS_HOST, port: Number(process.env.QUOTAGUARD_SOCKS_PORT), type: 5, userId: process.env.QUOTAGUARD_SOCKS_USER, password: process.env.QUOTAGUARD_SOCKS_PASS, }, command: 'connect', destination: { host: dbUrl.hostname, port: Number(dbUrl.port || 5432), }, }).then((info) =&gt; info.socket); }, }); client.connect() .then(() =&gt; client.query('select now()')) .then((res) =&gt; console.log('Connected to Neon through QuotaGuard', res.rows[0])) .catch((err) =&gt; console.error('Connection failed:', err)); . Support for an asynchronous stream factory varies across pg releases. Confirm the behavior on the version you have pinned before relying on it in production. Note that Neon’s serverless driver, which speaks HTTP rather than the Postgres wire protocol, does not use this path at all. If you use it, route it through the HTTP proxy on port 9293 instead of SOCKS5. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#nodejs-with-a-custom-stream-on-pg",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#nodejs-with-a-custom-stream-on-pg"
  },"1129": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Using QGTunnel",
    "content": "QGTunnel maps traffic through the QuotaGuard proxy without any driver support. For Neon, use transparent mode, which overrides DNS for the Neon hostname and keeps your connection string unchanged. Non-transparent mode points your client at localhost, which breaks Neon’s endpoint routing and TLS verification together. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#using-qgtunnel",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#using-qgtunnel"
  },"1130": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 1: Download QGTunnel",
    "content": "curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . This creates bin/qgtunnel and supporting files under vendor/nss_wrapper/. The binary targets Linux. If you develop on macOS or Windows, test tunnel configuration inside a Linux container or VM so your local environment matches production. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-1-download-qgtunnel",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-1-download-qgtunnel"
  },"1131": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 2: Create the Tunnel in Your Dashboard",
    "content": "In your QuotaGuard dashboard, go to Setup (the gear icon, top-right) &gt; QGTunnel Configuration &gt; Create a Tunnel. | Setting | Value | . | Remote Destination | tcp://&lt;your-neon-endpoint-host&gt;:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Take the host from your Neon connection string. Neon connections carry their own TLS, so the tunnel’s encryption option is not needed. Set transparent to true. This is the difference between a working Neon setup and an afternoon of certificate errors. If you connect to several branches, consider a wildcard host rather than one mapping per branch. See wildcard host support. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-2-create-the-tunnel-in-your-dashboard",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-2-create-the-tunnel-in-your-dashboard"
  },"1132": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 3: Download the Configuration File",
    "content": "Download the configuration file from the dashboard and save it as .qgtunnel in your project root, then commit it. With the file present, your application does not depend on reaching the QuotaGuard API at startup. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-3-download-the-configuration-file",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-3-download-the-configuration-file"
  },"1133": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 4: Leave Your Connection String Alone",
    "content": "In transparent mode, no change is needed: . postgresql://&lt;user&gt;:&lt;password&gt;@&lt;endpoint&gt;.&lt;region&gt;.aws.neon.tech/neondb?sslmode=require . That is the point of transparent mode, and for Neon it is not a convenience but a requirement. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-4-leave-your-connection-string-alone",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-4-leave-your-connection-string-alone"
  },"1134": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Step 5: Run Your Application Under QGTunnel",
    "content": "Local or generic: . bin/qgtunnel node server.js . Heroku (Procfile): . web: bin/qgtunnel node server.js . Render (start command): . bin/qgtunnel npm start . Railway (start command): . bin/qgtunnel npm start . Fly.io (fly.toml): . [processes] app = \"bin/qgtunnel npm start\" . Docker: . ENTRYPOINT [\"/app/bin/qgtunnel\"] CMD [\"node\", \"server.js\"] . Kubernetes (container spec): . command: [\"/app/bin/qgtunnel\"] args: [\"node\", \"server.js\"] . QGTunnel must be the entrypoint so it is listening before your application opens its first connection. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#step-5-run-your-application-under-qgtunnel",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#step-5-run-your-application-under-qgtunnel"
  },"1135": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Testing Your Implementation",
    "content": " ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#testing-your-implementation",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#testing-your-implementation"
  },"1136": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Confirm the Source Address Neon Sees",
    "content": "select inet_client_addr(); . Node.js: . client.query('select inet_client_addr() as source_ip') .then((res) =&gt; console.log('Neon sees this source IP:', res.rows[0].source_ip)); . Python: . cur.execute(\"select inet_client_addr()\") print(\"Neon sees this source IP:\", cur.fetchone()[0]) . The value should match one of the two addresses in your QuotaGuard dashboard. Which one you get is decided per connection and can be either, so allowlist both. Repeated tests may show the same address or different ones, and both are normal. If the service you are allowlisting can only accept a single address, you can connect to one node of the pair directly and always use that IP, at the cost of the pair’s failover. See How to use one static IP address. If Neon’s proxy layer masks the client address on your plan, use the independent check below instead. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#confirm-the-source-address-neon-sees",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#confirm-the-source-address-neon-sees"
  },"1137": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Confirm the Outbound IP Separately",
    "content": "import os import requests proxy_url = os.environ[\"QUOTAGUARDSTATIC_URL\"] proxies = {\"http\": proxy_url, \"https\": proxy_url} response = requests.get(\"https://ip.quotaguard.com\", proxies=proxies) print(\"Outbound IP:\", response.json()[\"ip\"]) . A connection that succeeds while reporting an address not in your dashboard means the proxy configuration was not applied to that connection. A successful query is not by itself proof that traffic went through the proxy. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#confirm-the-outbound-ip-separately",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#confirm-the-outbound-ip-separately"
  },"1138": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Latency Considerations",
    "content": "Routing through a proxy adds a hop to every database connection. Neon has one characteristic that interacts with this specifically. Neon suspends compute when a project is idle and resumes it on the next connection. That resume already costs time on the first request after a quiet period, and a proxied connection setup sits on top of it. If your workload is bursty, the combined cold path is what your users feel. To keep the impact small: . | Match all three regions. Application, QuotaGuard proxy, and Neon project in the same region wherever possible. | Use the pooled endpoint. Serverless runtimes open and discard connections aggressively, which is the worst case for per-connection overhead through a proxy. | Consider your compute suspend settings. If cold starts already matter to you, a longer idle timeout reduces how often you pay both costs together. | Use connection pooling in your application too, so the driver holds connections rather than reconnecting per request. | . Measure against your own workload and region pairing rather than assuming a fixed figure. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#latency-considerations",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#latency-considerations"
  },"1139": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#troubleshooting",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#troubleshooting"
  },"1140": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "This IP address is not allowed to connect to this endpoint",
    "content": "Neon is telling you exactly what happened. In order: . | Confirm both QuotaGuard IPs are in the IP Allow list, not just one | Confirm the addresses match your dashboard exactly | Confirm Save changes was clicked in the Neon Console | Confirm the connection is going through the proxy using the checks above | Confirm you are using SOCKS5 on port 1080, not the HTTP proxy on 9293 | . ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#this-ip-address-is-not-allowed-to-connect-to-this-endpoint",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#this-ip-address-is-not-allowed-to-connect-to-this-endpoint"
  },"1141": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "It works on one branch and fails on another",
    "content": "Check whether Restrict IP access to protected branches only is enabled and which branches are marked protected. If it is enabled, unprotected branches carry no restriction, so a working dev branch tells you nothing about production. If it is disabled, every branch is restricted and every branch you tunnel to needs a mapping. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#it-works-on-one-branch-and-fails-on-another",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#it-works-on-one-branch-and-fails-on-another"
  },"1142": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "TLS or certificate errors after adding the tunnel",
    "content": "You are almost certainly in non-transparent mode, connecting to localhost while the certificate is issued for the Neon hostname. Switch to transparent mode. Do not disable certificate verification to work around it. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#tls-or-certificate-errors-after-adding-the-tunnel",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#tls-or-certificate-errors-after-adding-the-tunnel"
  },"1143": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "endpoint ID not specified or a routing error",
    "content": "Neon uses the connection hostname to route to the correct compute endpoint. Anything that rewrites the host, including a non-transparent tunnel, removes that information. Use transparent mode, or check Neon’s documentation for the current options=endpoint%3D connection parameter. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#endpoint-id-not-specified-or-a-routing-error",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#endpoint-id-not-specified-or-a-routing-error"
  },"1144": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "The IP Allow section is not available",
    "content": "Neon’s documentation states IP Allow is offered on the Scale plan. It is not available on lower plans. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#the-ip-allow-section-is-not-available",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#the-ip-allow-section-is-not-available"
  },"1145": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "password authentication failed",
    "content": "A Postgres credential error, not a proxy or allowlist problem. You reached the database. Check the role and password, and confirm you are using the credentials for the branch you are actually connecting to, since Neon can generate distinct role passwords per branch. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#password-authentication-failed",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#password-authentication-failed"
  },"1146": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "SOCKS authentication failed",
    "content": ". | Check the SOCKS username and password against your dashboard | Check for characters in the password that need URL encoding when embedded in a URL | Confirm SOCKS5, not SOCKS4 | . ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#socks-authentication-failed",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#socks-authentication-failed"
  },"1147": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "ECONNREFUSED 127.0.0.1",
    "content": "QGTunnel is not listening. It either did not start, started after your application, or has no mapping for that host. Make QGTunnel the process entrypoint so it initializes first. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#econnrefused-127001",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#econnrefused-127001"
  },"1148": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Environment Variables Reference",
    "content": "# SOCKS5 proxy (port 1080) - used for Postgres and other TCP connections QUOTAGUARD_SOCKS_HOST=&lt;region&gt;-static-01.quotaguard.com QUOTAGUARD_SOCKS_PORT=1080 QUOTAGUARD_SOCKS_USER=your-username QUOTAGUARD_SOCKS_PASS=your-password # HTTP proxy (port 9293) - used for HTTP and HTTPS requests, # including Neon's HTTP serverless driver QUOTAGUARDSTATIC_URL=http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 # Your Neon connection string, copied from the Neon Console DATABASE_URL=postgresql://&lt;user&gt;:&lt;password&gt;@&lt;endpoint&gt;.&lt;region&gt;.aws.neon.tech/neondb?sslmode=require . Use the exact values from your QuotaGuard dashboard and your Neon Console. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#environment-variables-reference",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#environment-variables-reference"
  },"1149": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Security Best Practices",
    "content": ". | Turn IP Allow on and keep the list to your two addresses. A list wide enough to cover a whole cloud provider is not a restriction. | Add both static IPs. Adding one produces intermittent failures that are hard to diagnose. | Use protected branches to scope the restriction. Lock production, leave ephemeral preview branches open, and avoid maintaining a list of developer home addresses. | Use per-branch roles. A connection string copied between branches means a leaked dev credential can reach production data. | Never commit credentials. Use your platform’s secret storage for both the database URL and the proxy credentials. | Rotate credentials periodically, on both the Neon and QuotaGuard sides. | . ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#security-best-practices",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#security-best-practices"
  },"1150": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price (direct) | $19/month | $29/month | . Neon connections carry their own TLS, so the payload is protected in both cases. Static is right for most applications connecting to Neon. Choose Shield if the workload handles regulated data under HIPAA, PCI-DSS, or SOC 2, or if your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#quotaguard-static-vs-quotaguard-shield"
  },"1151": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Turn on IP Allow without locking your own application out. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/databases/postgresql/neon-ip-allow/#ready-to-get-started",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/#ready-to-get-started"
  },"1152": {
    "doc": "QuotaGuard and Neon IP Allow Integration Guide",
    "title": "QuotaGuard and Neon IP Allow Integration Guide",
    "content": "QuotaGuard Static IPs let your cloud application connect to a Neon Postgres project that has IP Allow enabled. You add the two static IPs assigned to your subscription, and every connection arrives from a known address no matter which platform your app runs on. You do not need QuotaGuard for local development or for infrastructure with stable IPs. This guide is for applications on Vercel, AWS Lambda, Render, Railway, Fly.io, Heroku, Google Cloud Run, Kubernetes, and other platforms where outbound IPs are dynamic. ",
    "url": "/docs/databases/postgresql/neon-ip-allow/",
    "relUrl": "/docs/databases/postgresql/neon-ip-allow/"
  },"1153": {
    "doc": "Getting Started with the Net::HTTP - QuotaGuard Static",
    "title": "Getting Started with the Net::HTTP - QuotaGuard Static",
    "content": "Net::HTTP is Ruby’s native HTTP library. For any complex web service interactions we recommend rest-client, but for simple cases net/http will work well. Copy require 'uri' require 'net/http' proxy = URI(ENV['QUOTAGUARDSTATIC_URL']) client = Net::HTTP.new('ip.jsontest.com', 80, proxy.host, proxy.port, proxy.user, proxy.password) response = client.get('/') p response.body . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get the right one sent to you. ",
    "url": "/docs/outbound-proxy/ruby/net-http-guide/",
    "relUrl": "/docs/outbound-proxy/ruby/net-http-guide/"
  },"1154": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Why Netlify Functions Need Static IPs",
    "content": "Netlify’s default outbound addresses can change as its infrastructure scales. A destination that restricts requests by source IP needs a stable egress path. This applies to the destination’s specific API and security policy; a successful HTTP response alone does not prove which route was used. The path configured here is: . Netlify Node.js Function -&gt; QuotaGuard proxy -&gt; HTTPS destination . Only calls using the configured client follow this path. Setting QUOTAGUARDSTATIC_URL alone does not change routing for native fetch, other libraries, or vendor SDKs. ",
    "url": "/docs/platforms/netlify/netlify-integration/#why-netlify-functions-need-static-ips",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#why-netlify-functions-need-static-ips"
  },"1155": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Native Private Connectivity vs QuotaGuard",
    "content": "Netlify Private Connectivity is an Enterprise add-on requiring High-Performance Edge or High-Performance Build. It supplies static addresses for builds and serverless functions. Function support is limited to cmh (Ohio), fra (Frankfurt), and lhr (London), and does not include Edge Functions. Allowlist all addresses Netlify supplies for your chosen regions when using that feature. QuotaGuard supplies a pair of static IPs per subscription for requests explicitly routed through its proxy. Choose between the native feature and a proxy according to your plan, function region, and the clients you need to route. This guide does not establish QuotaGuard proxy support in Netlify Edge Functions. ",
    "url": "/docs/platforms/netlify/netlify-integration/#native-private-connectivity-vs-quotaguard",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#native-private-connectivity-vs-quotaguard"
  },"1156": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Follow the connection, function configuration and verification steps below. Both native-fetch and Axios examples are included. If a check fails, use Troubleshooting. ",
    "url": "/docs/platforms/netlify/netlify-integration/#guided-setup-quickstart",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#guided-setup-quickstart"
  },"1157": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "1. Getting Started",
    "content": "Find your proxy URL and two static IPs in your QuotaGuard dashboard. Choose a proxy region near your function and destination. Check the function region under Cloud compute &gt; Functions &gt; Region rather than assuming it is Virginia. New Netlify sites default to Ohio (cmh); older sites can differ. See Netlify function configuration. For QuotaGuard Static, the URL has this shape: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Use the exact QUOTAGUARDSTATIC_URL value from your dashboard. Allowlist both dashboard IPs at the destination. Do not obtain allowlist addresses by resolving the proxy hostname. ",
    "url": "/docs/platforms/netlify/netlify-integration/#getting-started",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#getting-started"
  },"1158": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "2. Configuring Netlify Functions (Node.js)",
    "content": " ",
    "url": "/docs/platforms/netlify/netlify-integration/#configuring-netlify-functions-nodejs",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#configuring-netlify-functions-nodejs"
  },"1159": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Step 1: Set the Runtime and Environment Variables",
    "content": "Use Node.js 24 locally and select nodejs24.x through Netlify’s AWS_LAMBDA_JS_RUNTIME environment variable in the UI, CLI, or API. Netlify manages the deployed patch version, which can differ from your local version. In Netlify’s environment variable settings, add: . | Variable | Value | . | QUOTAGUARDSTATIC_URL | Exact Static HTTP proxy URL from your dashboard | . | QUOTAGUARD_EXPECTED_IPS | Both dashboard IPv4 addresses, separated by a comma; used by the verification function below | . Where scope selection is available, include Functions. Select the intended deploy context. These are server-side values; keep the credential-bearing proxy URL out of browser code and logs. Values declared in netlify.toml are not available as function runtime variables. Updated values require a new deploy. See Netlify function environment variables. ",
    "url": "/docs/platforms/netlify/netlify-integration/#step-1-set-the-runtime-and-environment-variables",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#step-1-set-the-runtime-and-environment-variables"
  },"1160": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Step 2: Install a Compatible Undici Version",
    "content": "npm install --save-exact undici@7.30.1 . Keep package.json and the generated lockfile with your application. This guide’s native-fetch path was tested locally on Node.js 24.14.1, with bundled Undici 7.24.4 and npm Undici 7.30.1, on Linux x86-64. The version matters: npm Undici 8.12.3 failed with this Node runtime’s native fetch (UND_ERR_INVALID_ARG, invalid onRequestStart method). Do not substitute a new major version without testing that runtime and dispatcher together. ",
    "url": "/docs/platforms/netlify/netlify-integration/#step-2-install-a-compatible-undici-version",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#step-2-install-a-compatible-undici-version"
  },"1161": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Step 3: Add a Shared Request Helper",
    "content": "Create netlify/lib/quotaguard.mjs, outside the functions entry directory: . // netlify/lib/quotaguard.mjs import { ProxyAgent } from 'undici'; export async function proxyJson(url, options = {}) { const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; if (!proxyUrl) throw new Error('Proxy configuration missing'); const parsed = new URL(proxyUrl); if (!['http:', 'https:'].includes(parsed.protocol)) { throw new Error('Use an HTTP or HTTPS proxy URL'); } const dispatcher = new ProxyAgent(proxyUrl); try { const response = await fetch(url, { ...options, dispatcher, signal: options.signal ?? AbortSignal.timeout(10_000), redirect: 'error' }); if (!response.ok) { await response.body?.cancel(); throw new Error(`Upstream HTTP ${response.status}`); } return await response.json(); } finally { await dispatcher.close(); } } . This helper reads JSON, checks HTTP status, bounds each call, and closes its dispatcher after consuming or cancelling the body. It creates one dispatcher per helper call for straightforward cleanup. A pooled application can instead reuse a module-scoped dispatcher, but must manage its lifecycle and keep passing it to each relevant call. Do not close a shared dispatcher while other requests use it. The default timeout is a request budget, not a change to Netlify’s function duration. Redirects are rejected so this example does not forward an operation to an unexpected destination. Replace example destinations below with fixed, trusted HTTPS endpoints and their required authentication. Add your application’s own caller authentication and input validation before exposing these functions. Node.js documents the custom dispatcher option. The Undici 7 ProxyAgent API documents proxy routing and credentials. HttpsProxyAgent is an http.Agent for compatible clients; it is not a native-fetch dispatcher. ",
    "url": "/docs/platforms/netlify/netlify-integration/#step-3-add-a-shared-request-helper",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#step-3-add-a-shared-request-helper"
  },"1162": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Basic GET Request",
    "content": "// netlify/functions/api-call.mjs import { proxyJson } from '../lib/quotaguard.mjs'; export default async () =&gt; { try { const data = await proxyJson('https://api.example.com/data'); return Response.json(data); } catch { return Response.json({ error: 'Outbound request failed' }, { status: 502 }); } }; . ",
    "url": "/docs/platforms/netlify/netlify-integration/#basic-get-request",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#basic-get-request"
  },"1163": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "POST Request with JSON Body",
    "content": "This is a generic JSON example, not a payment or transaction implementation. Test against a controlled endpoint first. It does not automatically retry writes. // netlify/functions/submit-data.mjs import { proxyJson } from '../lib/quotaguard.mjs'; export default async (req) =&gt; { if (req.method !== 'POST') { return new Response('Method not allowed', { status: 405, headers: { Allow: 'POST' } }); } let payload; try { payload = await req.json(); } catch { return Response.json({ error: 'Invalid JSON' }, { status: 400 }); } try { const result = await proxyJson('https://api.example.com/submit', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(payload) }); return Response.json(result); } catch { return Response.json({ error: 'Outbound request failed' }, { status: 502 }); } }; . ",
    "url": "/docs/platforms/netlify/netlify-integration/#post-request-with-json-body",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#post-request-with-json-body"
  },"1164": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Error Handling and Background Functions",
    "content": "Native fetch resolves normally for destination HTTP errors, so check response.ok. Connection failures, TLS failures, timeouts, and failed proxy CONNECT requests can reject the promise instead. The helper covers both paths and the handlers return a generic error without exposing credentials, raw errors, or upstream response bodies. A proxy’s CONNECT rejection may surface only as TypeError: fetch failed. Do not classify proxy authentication by searching error.message for 407. Use protected server-side diagnostics and proxy logs, with secrets removed, to distinguish proxy authentication from destination authentication or transport failures. Background functions use the same dispatcher approach. Netlify supports up to 15 minutes and can retry failed invocations; its initial HTTP 202 acknowledges invocation, not successful delivery. Use idempotency controls for repeatable work and check each outbound result. See Netlify background functions. ",
    "url": "/docs/platforms/netlify/netlify-integration/#error-handling-and-background-functions",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#error-handling-and-background-functions"
  },"1165": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Using Axios Instead of Fetch",
    "content": "Axios uses a different configuration. For an HTTPS target, use httpsAgent and proxy: false so Axios does not apply a separate proxy configuration. The local routing comparison used Axios 1.20.0 and https-proxy-agent 9.1.0. npm install --save-exact axios@1.20.0 https-proxy-agent@9.1.0 . // netlify/functions/axios-example.mjs import axios from 'axios'; import { HttpsProxyAgent } from 'https-proxy-agent'; export default async () =&gt; { const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; if (!proxyUrl) { return Response.json({ error: 'Proxy configuration missing' }, { status: 500 }); } let agent; try { agent = new HttpsProxyAgent(proxyUrl); const response = await axios.get('https://api.example.com/data', { httpsAgent: agent, proxy: false, timeout: 10_000, maxRedirects: 0 }); return Response.json(response.data); } catch { return Response.json({ error: 'Outbound request failed' }, { status: 502 }); } finally { agent?.destroy(); } }; . The Axios example and native-fetch helper do not configure SDKs that use another HTTP client. Verify each client’s egress independently. ",
    "url": "/docs/platforms/netlify/netlify-integration/#using-axios-instead-of-fetch",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#using-axios-instead-of-fetch"
  },"1166": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "3. Testing Your Implementation",
    "content": " ",
    "url": "/docs/platforms/netlify/netlify-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#testing-your-implementation"
  },"1167": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Local Testing with Netlify Dev",
    "content": "Run netlify dev in your application’s existing development environment with the required local variables set securely. Invoke the function through the local URL reported by the CLI. Use a controlled target for JSON POST tests. Netlify Dev runs on your machine. A local success does not prove routing from a hosted function. For each environment, verify the IP through the same client configuration used by the real API call. ",
    "url": "/docs/platforms/netlify/netlify-integration/#local-testing-with-netlify-dev",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#local-testing-with-netlify-dev"
  },"1168": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Test Function to Verify Proxy",
    "content": "This diagnostic checks the returned address against both configured dashboard IPs. It does not infer proxy success from HTTP 200 alone. // netlify/functions/test-proxy.mjs import { isIP } from 'node:net'; import { proxyJson } from '../lib/quotaguard.mjs'; export default async () =&gt; { const expected = (process.env.QUOTAGUARD_EXPECTED_IPS ?? '') .split(',').map(ip =&gt; ip.trim()).filter(Boolean); if (expected.length !== 2 || new Set(expected).size !== 2 || !expected.every(ip =&gt; isIP(ip) === 4)) { return Response.json({ error: 'Configure both dashboard IPv4 addresses' }, { status: 500 }); } try { const data = await proxyJson('https://ip.quotaguard.com'); const matches = typeof data.ip === 'string' &amp;&amp; expected.includes(data.ip); return Response.json({ your_static_ip: data.ip, proxy_working: matches }, { status: matches ? 200 : 502 }); } catch { return Response.json({ error: 'Proxy verification failed', proxy_working: false }, { status: 502 }); } }; . Expected response, with a member of your actual dashboard pair: . { \"your_static_ip\": \"&lt;one of the two dashboard IPv4 addresses&gt;\", \"proxy_working\": true } . The IP endpoint returns JSON of the form {\"ip\":\"...\"}. Seeing the same valid address repeatedly is normal: assignment is per connection, and DNS caching or a reused connection can keep a client on one node. Repeated requests do not guarantee that both addresses will appear. Allowlist both regardless. Protect or remove diagnostic endpoints after use. An IP match checks this request’s observed egress. Cross-check the proxy’s Log Viewer and verify the real API call’s client as well. ",
    "url": "/docs/platforms/netlify/netlify-integration/#test-function-to-verify-proxy",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#test-function-to-verify-proxy"
  },"1169": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Programmatic reference",
    "content": "The shared implementation above contains the connection URL and allowlist, runtime, secrets and deploy requirements, Undici version requirements, request helper and GET/POST examples, Axios alternative, and verification function and expected response. Use those sections together with the runtime limitations, protocol distinctions and troubleshooting below. ",
    "url": "/docs/platforms/netlify/netlify-integration/#programmatic-reference",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#programmatic-reference"
  },"1170": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Configuring Netlify Edge Functions (Deno)",
    "content": "The Node.js ProxyAgent setup above does not apply to Netlify Edge Functions. A Deno API’s availability outside Netlify does not establish support in Netlify’s hosted Edge runtime. For this implementation, put the outbound call in a Node.js Function; if an Edge Function calls it, secure that internal application route as well. ",
    "url": "/docs/platforms/netlify/netlify-integration/#configuring-netlify-edge-functions-deno",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#configuring-netlify-edge-functions-deno"
  },"1171": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Database Connections",
    "content": "The examples here cover HTTPS requests. A database HTTP API can use this pattern only if its actual HTTP client accepts the dispatcher and its destination supports that API. Native database protocols and WebSocket transports need their own supported proxy configuration; a dispatcher passed to fetch does not configure them. Function lifetime alone does not establish whether a particular driver supports SOCKS or a tunnel. ",
    "url": "/docs/platforms/netlify/netlify-integration/#database-connections",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#database-connections"
  },"1172": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Latency Considerations",
    "content": "The proxy adds a network hop. Measure latency from your function region to the target rather than assuming a fixed overhead. Route only calls requiring the static source IP, while configuring every relevant authentication and resource call made by that integration. A vendor SDK may make additional calls through its own client. ",
    "url": "/docs/platforms/netlify/netlify-integration/#latency-considerations",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#latency-considerations"
  },"1173": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Troubleshooting",
    "content": "| Symptom | What to check | . | HTTP 200, but the wrong IP | Native fetch needs dispatcher, not agent. Require dashboard IP membership. Check the deployed code, client, deploy context, and proxy logs. | . | Only one dashboard IP appears | This is valid. Connections can stay on one address; both IPs must remain allowlisted. | . | fetch failed with a proxy CONNECT rejection | Check the dashboard proxy URL, URL-encoded credentials, product scheme and port, and proxy logs. A CONNECT 407 may not appear in the top-level error message. Never print the credential URL. | . | Destination HTTP 401 or 403 | Check destination credentials, permissions, and source-IP rules separately. The helper rejects non-2xx responses; a 403 alone does not establish an IP rejection. | . | Timeout or connection refusal | Confirm the exact dashboard host and port, target reachability, and request budget. Do not retry directly if the proxy fails. Netlify function limits and HTTP request timeouts are separate. | . | TLS certificate failure | Check the host, trust chain, and system clock. Keep TLS verification enabled; do not use NODE_TLS_REJECT_UNAUTHORIZED=0. | . | UND_ERR_INVALID_ARG / invalid onRequestStart method | Check Node and npm Undici versions. The tested native-fetch combination uses Undici 7.30.1; Undici 8.12.3 was incompatible with native fetch on Node 24.14.1. | . | Module not found | Install undici as a production dependency, include the lockfile, and confirm the helper’s import path is included in the function bundle. | . | Variable missing | Use Netlify UI, CLI, or API; include Functions scope where available, select the right context, and create a new deploy after changes. Do not rely on netlify.toml runtime variables. | . | Invalid upstream JSON | Confirm the endpoint returns JSON. A proxy connection does not guarantee the destination’s response format. | . | Netlify Edge or an SDK still bypasses | The Node-fetch dispatcher does not configure Edge runtimes or other clients. Use the tested Node Function path and verify each client independently. | . The helper uses a ten-second per-call budget. Netlify currently documents a 60-second synchronous execution limit and a 15-minute background limit, with different limits for other function types. Consult function configuration; adding an arbitrary timeout value to netlify.toml does not extend those fixed limits. ",
    "url": "/docs/platforms/netlify/netlify-integration/#troubleshooting",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#troubleshooting"
  },"1174": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Common Use Cases",
    "content": "Use the GET pattern for partner API reads and the POST pattern for a controlled JSON endpoint. For webhook delivery, compute the signature over the exact bytes sent and apply the destination’s retry and idempotency policy. Financial APIs need their own reviewed authentication, authorization, and transaction controls; the generic POST example does not implement those controls. ",
    "url": "/docs/platforms/netlify/netlify-integration/#common-use-cases",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#common-use-cases"
  },"1175": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Proxy URL | Dashboard http:// URL, port 9293 | Dashboard https:// URL, port 9294 | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments requiring TLS on every hop | . | Starting direct price | $19/month | $29/month | . Static is appropriate for most apps. Choose Shield when the workload handles regulated data or requires TLS between the app and the proxy. For Shield, supply the dashboard HTTPS proxy URL on port 9294 to ProxyAgent; do not combine Shield’s port with Static’s http:// scheme. ",
    "url": "/docs/platforms/netlify/netlify-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1176": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "Ready to Get Started?",
    "content": "View QuotaGuard plans . Contact Support . ",
    "url": "/docs/platforms/netlify/netlify-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/netlify/netlify-integration/#ready-to-get-started"
  },"1177": {
    "doc": "QuotaGuard and Netlify Integration Guide",
    "title": "QuotaGuard and Netlify Integration Guide",
    "content": "QuotaGuard gives each subscription two load-balanced static outbound IPv4 addresses. Route the HTTPS calls from your Netlify Node.js Functions through an Undici ProxyAgent, then allowlist both addresses shown in your QuotaGuard dashboard. This guide covers Netlify Functions running Node.js 24. Native Node.js fetch uses Undici and takes a dispatcher option. Passing agent: new HttpsProxyAgent(...) does not configure native fetch and can silently send the request directly. ",
    "url": "/docs/platforms/netlify/netlify-integration/",
    "relUrl": "/docs/platforms/netlify/netlify-integration/"
  },"1178": {
    "doc": "How to Fix Loading Error from Missing .so File?",
    "title": "How to Fix Loading Error from Missing .so File?",
    "content": "Question: When starting my app on Heroku, I get the following error repeated mulitple times: .       ERROR: ld.so: object ‘/app/vendor/nss_wrapper/libnss_wrapper.so’ from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. What does it mean and how do I fix it? . Answer: This error is due to a missing .so file. If you aren’t using transparent mode, then your application will work without the file and the error is just informational. You can either add the missing .so file (directions below) or you can turn off transparent mode in your configuration. Transparent mode allows us to override the DNS setting for your destination hostname to be localhost, which is where the qgtunnel is listening. To add the missing .so file, redownload qgtunnel into the root of your project: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . Commit and push your code: . Be sure that vendor/nss_wrapper/libnss_wrapper.so is also added to your repository. Git skips .so files by default, you will likely have to add it with: . git add -f vendor/nss_wrapper/libnss_wrapper.so . ",
    "url": "/docs/troubleshooting/nss-wrapper-missing-so-file/",
    "relUrl": "/docs/troubleshooting/nss-wrapper-missing-so-file/"
  },"1179": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Guided setup (Quickstart): configure the route and check its client",
    "content": "Use an existing OpenClaw installation and QuotaGuard subscription. Managed routing below is pinned to OpenClaw v2026.10.7, which requires Node.js &gt;=24.22.1 &lt;25 || &gt;=26.12.1 (release package requirements). The explicit checker needs Python 3 and curl. No new account, provider key or destination token is needed for the public IP check. Static uses its assigned http:// proxy URL on 9293; Shield uses its assigned https:// URL on 9294 and requires HTTPS-proxy support in the actual client. Ruby’s reference remains Static-only. ",
    "url": "/docs/automation/openclaw-integration/#quickstart-configure-the-route-and-check-its-client",
    "relUrl": "/docs/automation/openclaw-integration/#quickstart-configure-the-route-and-check-its-client"
  },"1180": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "1. Supply the connection and both assigned IPs",
    "content": "Open your subscription’s connection information. Have the trusted runtime secret mechanism supply QUOTAGUARDSTATIC_URL with the complete selected Static or Shield URL; this guide uses that variable name for either product. Supply QG_IP_1 and QG_IP_2 with its two dashboard IPv4 addresses for the checker. Do not change the URL’s scheme, use account-login credentials, or expose the URL in prompts, arguments, history or logs. ",
    "url": "/docs/automation/openclaw-integration/#supply-the-connection-and-both-assigned-ips",
    "relUrl": "/docs/automation/openclaw-integration/#supply-the-connection-and-both-assigned-ips"
  },"1181": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "2. Configure the requesting process and policy before testing",
    "content": "For a foreground Gateway, save and review launch-openclaw.sh and run bash launch-openclaw.sh from the trusted parent shell after secret injection. Do not start a second Gateway over an installed/running service. An installed Gateway needs its own durable environment: merge openclaw-managed.json into existing configuration, ensure that service can resolve QUOTAGUARDSTATIC_URL securely, and run openclaw gateway restart. Merge the existing proxy object; do not replace the full config. Config proxy.proxyUrl overrides OPENCLAW_PROXY_URL; resolve any stale proxy.enabled: false through your approved settings process. Keep loopbackMode: \"gateway-only\". The alternative environment-only installed-service path needs regeneration; see the durable setup. For a tool on a sandbox, container or paired node, inject the secret and comparison IPs into that execution host, not just the Gateway. The checker below selects QuotaGuard directly and requires permitted DNS/access to the proxy hostname/port and public HTTPS endpoint. Do not replace another runtime’s policy-injected proxy or bypass a denial to make it run. If testing managed web_fetch, first use the fetch-policy fragment to disable cache/redirects for the check, merging its nested tools.web.fetch keys into existing settings. Keep the tool’s permissions and SSRF restrictions. Start or restart the affected Gateway with these check settings before testing. Managed routing delegates destination DNS to the proxy in this pinned version; retaining the fragment’s private-network setting does not restore local DNS pinning. Use only an operator-selected public URL here; a static IP is not a destination-policy firewall. The fetch reference explains the boundary. ",
    "url": "/docs/automation/openclaw-integration/#configure-the-requesting-process-and-policy-before-testing",
    "relUrl": "/docs/automation/openclaw-integration/#configure-the-requesting-process-and-policy-before-testing"
  },"1182": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "3. Run the check for the route you selected",
    "content": "For an explicit curl tool/client, save qg-curl.py on that execution host and run: . env -u DESTINATION_API_TOKEN QG_TARGET_URL=https://ip.quotaguard.com python3 qg-curl.py . For the managed web_fetch route, ask OpenClaw to make its own IP-only request after the step 2 setup: . await web_fetch({ url: \"https://ip.quotaguard.com\", extractMode: \"text\" }); . These are different client paths. A host-shell curl pass does not verify managed web_fetch, a remote browser or a provider fallback. ",
    "url": "/docs/automation/openclaw-integration/#run-the-check-for-the-route-you-selected",
    "relUrl": "/docs/automation/openclaw-integration/#run-the-check-for-the-route-you-selected"
  },"1183": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "4. Confirm a fresh result from that client",
    "content": "The explicit checker must exit 0 and report PASS: HTTP 200; egress matches a dashboard IP. For web_fetch, confirm a fresh successful network result containing either dashboard IP, checking HTTP 200 in the request/status evidence where available. A cached or hosted-provider result does not establish Gateway egress. Repeated requests need not alternate between the two IPs. Direct comparisons are optional only where permitted. Keep destination authentication separate and allowlist both IPs when you later use a protected endpoint. ",
    "url": "/docs/automation/openclaw-integration/#confirm-a-fresh-result-from-that-client",
    "relUrl": "/docs/automation/openclaw-integration/#confirm-a-fresh-result-from-that-client"
  },"1184": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "QuotaGuard Shield: managed Gateway or explicit client",
    "content": "Select the Shield subscription’s complete assigned https:// proxy URL on port 9294 and both dashboard IPs. OpenClaw v2026.10.7 supports HTTPS proxy endpoints in its managed proxy configuration; proxy-endpoint TLS and destination TLS are separate and both remain verified. | Have the trusted runtime secret mechanism supply the Shield URL as QUOTAGUARDSTATIC_URL (the existing examples use this input name for either product), plus QG_IP_1 and QG_IP_2 for the explicit checker. Do not change the URL’s scheme or expose its credentials in arguments. | For managed Gateway routing, merge openclaw-managed.json into the existing service configuration, preserving loopbackMode: \"gateway-only\". Make the Shield value available to that service and restart the affected Gateway. For a foreground process, use launch-openclaw.sh from the configured trusted parent shell instead; do not start a duplicate Gateway. Follow the durable setup for service/environment precedence. | To check managed web_fetch, first merge the fetch-policy fragment and follow the quickstart client check. Require a fresh HTTP 200 response containing either Shield dashboard IP; retain destination policy and SSRF restrictions. | To check an explicit tool/client instead, put qg-curl.py on its execution host with Python 3 and HTTPS-proxy-capable curl. Run env -u DESTINATION_API_TOKEN QG_TARGET_URL=https://ip.quotaguard.com python3 qg-curl.py. Require exit 0 and PASS: HTTP 200; egress matches a dashboard IP. | . The explicit checker requires permitted DNS/access to Shield from its own execution host; it does not verify managed Gateway, remote browser or provider-fallback traffic. Keep policy-injected proxy controls intact. The Ruby reference remains Static-only. ",
    "url": "/docs/automation/openclaw-integration/#quotaguard-shield-managed-gateway-or-explicit-client",
    "relUrl": "/docs/automation/openclaw-integration/#quotaguard-shield-managed-gateway-or-explicit-client"
  },"1185": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Programmatic setup and reference: process routing and client examples",
    "content": "The quickstart above gives the ordered first check. The complete setup, four illustrations, dashboard captures and language/protocol reference remain below. ",
    "url": "/docs/automation/openclaw-integration/#reference-process-routing-and-client-examples",
    "relUrl": "/docs/automation/openclaw-integration/#reference-process-routing-and-client-examples"
  },"1186": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Reference requirements",
    "content": ". | An existing QuotaGuard Static or Shield subscription, its complete connection URL, and both assigned IPs. | An installed OpenClaw CLI and curl on the host that will make the requests. The managed-routing behavior in this guide is pinned to OpenClaw v2026.10.7. | A trusted secret manager or runtime environment for the connection URL, and network access to the selected proxy hostname and port. | Permission to add both IPs to the protected destination’s allowlist. Its API authentication remains separate. | For optional tool examples, the matching language runtime and dependencies listed in that section. The sanitized curl wrapper needs Python 3 and curl. | . You need an already configured QuotaGuard subscription and OpenClaw installed. A human supplies the complete proxy connection URL through the runtime’s trusted secret or environment mechanism. Agents cannot register a QuotaGuard account yet. Use the proxy username and password inside that connection URL, not your QuotaGuard account login password. ",
    "url": "/docs/automation/openclaw-integration/#reference-requirements",
    "relUrl": "/docs/automation/openclaw-integration/#reference-requirements"
  },"1187": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Connection and process setup",
    "content": " ",
    "url": "/docs/automation/openclaw-integration/#connection-and-process-setup",
    "relUrl": "/docs/automation/openclaw-integration/#connection-and-process-setup"
  },"1188": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Supply the existing subscription connection",
    "content": "In your QuotaGuard dashboard, open the subscription you intend to use and copy its complete connection URL and two assigned static IPs. Have your secret manager or trusted launcher supply QUOTAGUARDSTATIC_URL to the same shell, service, or container that will run OpenClaw. Use the exact dashboard value, including its scheme, region-specific hostname, port, and encoded credentials. The variable name QUOTAGUARDSTATIC_URL is used throughout this guide for either product’s complete HTTP(S) connection URL. Static uses an HTTP proxy URL on 9293. Shield uses an HTTPS proxy URL on 9294. An HTTPS destination does not mean that a Static proxy URL should be changed to https://. Do not put the connection URL in a prompt, source file, shell history, screenshots, or logs. Turn off shell tracing before expanding secret variables: . set +x : \"${QUOTAGUARDSTATIC_URL:?Supply the complete connection URL from your dashboard}\" . 1. Read your existing subscriptionILLUSTRATION · not a dashboard screenshotConnection URL[masked proxy credentials]Dashboard IP 1&lt;assigned IPv4 address&gt;Dashboard IP 2&lt;assigned IPv4 address&gt;Use the selected subscription, not your account login.Figure 1. Find the connection URL and both IPs on the same subscription. Illustrated field map with masked placeholders; not a dashboard screenshot. Dashboard reference ",
    "url": "/docs/automation/openclaw-integration/#supply-the-existing-subscription-connection",
    "relUrl": "/docs/automation/openclaw-integration/#supply-the-existing-subscription-connection"
  },"1189": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Find your connection and both IPs",
    "content": "In your subscription, open Setup → Outbound Proxy → Connection Information. Copy the assigned connection URL and note both IPs. Official connection-details guide · Why both IPs matter . Real dashboard captures, redacted and annotated. Use your own subscription’s current details, not the values shown here. Static uses its HTTP proxy URL; Shield uses its HTTPS proxy URL and requires HTTPS-proxy support in the actual client. QuotaGuard Static · Redacted, annotated capture. 1: connection information. 2: both assigned IP addresses. 3: connection test. Tap the image for full size.QuotaGuard Shield · Redacted, annotated capture. 1: connection information. 2: both assigned IP addresses. 3: connection test. Tap the image for full size. ",
    "url": "/docs/automation/openclaw-integration/#dashboard-reference",
    "relUrl": "/docs/automation/openclaw-integration/#dashboard-reference"
  },"1190": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Compare permitted direct and proxied egress",
    "content": "https://ip.quotaguard.com returns the outgoing IPv4 address as JSON and needs no additional account. An optional direct baseline is useful only where your runtime policy permits it. Do not bypass a sandbox or required gateway for this comparison: . curl -q --globoff --noproxy '*' --connect-timeout 10 --max-time 30 \\ --silent --fail https://ip.quotaguard.com . For an explicit client path permitted to reach QuotaGuard directly, make one request through the subscription. This sends the proxy configuration over standard input so the credential-bearing URL is not a curl command-line argument. Keep the dashboard URL percent-encoded as supplied; do not replace encoded characters with literal quotes or newlines. printf 'proxy = \"%s\"\\nnoproxy = \"\"\\nurl = \"https://ip.quotaguard.com\"\\ngloboff\\nconnect-timeout = 10\\nmax-time = 30\\nsilent\\nfail\\n' \\ \"$QUOTAGUARDSTATIC_URL\" | curl -q --config - . Expected response shape: . {\"ip\":\"&lt;one of the two IPs in this subscription's dashboard&gt;\"} . The proxied result must match either dashboard IP. Do not require a different address on each call: selection is per connection, DNS can be cached, and a reused connection stays on its node. The direct result might coincidentally match if your network already uses the same egress path. This check proves curl’s route; verify each OpenClaw client that will call your protected destination. Both commands disable curl URL globbing, ignore .curlrc, keep TLS certificate verification enabled, and make one request without redirects or retries. A failing quick check returns a nonzero exit status; the troubleshooting table below separates proxy authentication, TLS, and destination failures. For a sanitized automated pass/fail check, use the complete qg-curl.py example later in this guide. 2. Compare the outgoing IPILLUSTRATION · not a dashboard screenshotDirect HTTPS GETYour existing outgoing addressProxied HTTPS GETOne of the two dashboard IPsResult to compareMatch either IP; no rotation requiredIllustrative results only.Figure 2. Compare a direct IP response with a proxied response. Illustrated result categories. ",
    "url": "/docs/automation/openclaw-integration/#compare-permitted-direct-and-proxied-egress",
    "relUrl": "/docs/automation/openclaw-integration/#compare-permitted-direct-and-proxied-egress"
  },"1191": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Point the OpenClaw process at QuotaGuard",
    "content": "For a foreground Gateway, map the existing secret to OpenClaw’s documented environment setting: . export OPENCLAW_PROXY_URL=\"$QUOTAGUARDSTATIC_URL\" openclaw gateway run . proxy.proxyUrl in OpenClaw configuration takes precedence over OPENCLAW_PROXY_URL. If a previous proxy is stored there, update that setting through the config fragment below or remove the stale setting before using the environment fallback. Also check that an old proxy.enabled: false has not explicitly disabled managed routing. This route is supported for openclaw gateway run, openclaw node run, and openclaw agent --local in OpenClaw v2026.10.7. It routes normal fetch, Node HTTP/HTTPS, and common WebSocket clients. OpenClaw documents additional local terminal UI coverage in its current online docs; use the release-specific behavior when supporting an older installation. See the official network proxy reference. 3. Configure the requesting runtimeILLUSTRATION · not a dashboard screenshotTrusted secret environmentQUOTAGUARDSTATIC_URL = [masked]OpenClaw foreground mappingOPENCLAW_PROXY_URL uses that valueInstalled GatewayDurable environment, reinstall, startIllustrative configuration. Keep loopback gateway-only.Figure 3. Supply the proxy connection in the requesting runtime. This is an illustrative configuration map, not an installed Gateway capture. ",
    "url": "/docs/automation/openclaw-integration/#point-the-openclaw-process-at-quotaguard",
    "relUrl": "/docs/automation/openclaw-integration/#point-the-openclaw-process-at-quotaguard"
  },"1192": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Allowlist both IPs, then verify the actual client",
    "content": "At the destination API or firewall, add the two IP addresses shown for this subscription. If it accepts CIDR notation, each IPv4 address is an individual /32. Keep the destination’s API token, OAuth scope, role, and other authorization requirements in place. Proxy authentication and destination authentication are separate. For an OpenClaw route that uses web_fetch, an IP-only request is: . await web_fetch({ url: \"https://ip.quotaguard.com\", extractMode: \"text\" }); . Use the tool only where your tool profile permits it. During route checks, set tools.web.fetch.cacheTtlMinutes to 0 so a cached response is not mistaken for a new network observation. Keep provider fallbacks separate: if extraction falls back to a hosted provider, that provider makes the origin request. For API commands, run the IP check with the same language client, execution host, and proxy configuration used by that command. 4. Authorize and verify the actual routeILLUSTRATION · not a dashboard screenshotDestination network ruleAllow dashboard IP 1 AND dashboard IP 2Destination authenticationSeparate API token / OAuth scopeActual client checkGateway, tool, node, or browser routeA curl check establishes curl’s route only.Figure 4. Add both dashboard IPs at the destination, keep API authentication separate, and check the actual client. Illustrated workflow, not a vendor console screenshot. ",
    "url": "/docs/automation/openclaw-integration/#allowlist-both-ips-then-verify-the-actual-client",
    "relUrl": "/docs/automation/openclaw-integration/#allowlist-both-ips-then-verify-the-actual-client"
  },"1193": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Keep the proxy active across service and container restarts",
    "content": " ",
    "url": "/docs/automation/openclaw-integration/#keep-the-proxy-active-across-service-and-container-restarts",
    "relUrl": "/docs/automation/openclaw-integration/#keep-the-proxy-active-across-service-and-container-restarts"
  },"1194": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Installed Gateway: choose a durable configuration",
    "content": "A terminal export does not automatically update an already installed launchd, systemd, or Windows Scheduled Task service. OpenClaw documents the environment fallback as best suited to foreground runs. For an installed service, securely place OPENCLAW_PROXY_URL in the service’s durable environment, such as $OPENCLAW_STATE_DIR/.env (default ~/.openclaw/.env), then regenerate the service and start it: . openclaw gateway install --force openclaw gateway start . The human or secret-management system supplies the value. Keep that file outside the agent workspace and repository and readable only by the service identity. Reinstall after changing OPENCLAW_PROXY_URL: OpenClaw copies it into the generated service environment, and a restart alone does not apply systemd’s managed-dotenv refresh to this variable. Use the correct profile and state directory for the service you are actually running. Alternatively, merge the following into the existing OpenClaw config. OpenClaw supports environment substitution in config strings, so the checked-in fragment contains no credentials: . { \"proxy\": { \"proxyUrl\": \"${QUOTAGUARDSTATIC_URL}\", \"loopbackMode\": \"gateway-only\" } } . Use the exact connection URL from your dashboard for the trusted QUOTAGUARDSTATIC_URL environment value. Ensure the service can resolve that variable at startup, using its durable trusted environment. Merge the proxy keys into the existing object; do not replace an existing config file with this small fragment or append a second JSON document. After a config change, restart the Gateway: . openclaw gateway restart . The config route survives service regeneration. If both config and OPENCLAW_PROXY_URL are present, the config value wins. OpenClaw normally preserves an existing process environment over dotenv values, and ignores protected runtime controls from a lower-trust workspace .env. See environment precedence. ",
    "url": "/docs/automation/openclaw-integration/#installed-gateway-choose-a-durable-configuration",
    "relUrl": "/docs/automation/openclaw-integration/#installed-gateway-choose-a-durable-configuration"
  },"1195": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Docker, Kubernetes, remote nodes, and execution hosts",
    "content": "Inject the connection URL at runtime into the actual container or service, using its secret mechanism. A host-only export does not reach a separately running container. Do not bake the URL into an image, Dockerfile ENV, Compose YAML, or Kubernetes manifest. A Kubernetes Secret reference or a platform-managed secret can supply the environment variable; the manifest should contain only the secret’s name and key. When using openclaw --container ..., OpenClaw forwards OPENCLAW_PROXY_URL to the container-targeted child CLI when set. A proxy at 127.0.0.1 would mean the container itself, so OpenClaw rejects loopback proxy URLs for that path by default. Your dashboard’s remote hostname avoids that host/container ambiguity. The execution location also matters. exec may run on the Gateway, in a sandbox, or on a paired node. Install dependencies and supply secrets to the host that actually opens the connection. Gateway environment settings do not prove that sandbox, remote node, local MCP, or browser processes received them. The exec reference describes host selection and environment behavior. ",
    "url": "/docs/automation/openclaw-integration/#docker-kubernetes-remote-nodes-and-execution-hosts",
    "relUrl": "/docs/automation/openclaw-integration/#docker-kubernetes-remote-nodes-and-execution-hosts"
  },"1196": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Know which network hop gets the static IP",
    "content": "QuotaGuard gives supported OpenClaw HTTP and WebSocket clients two static outbound IP addresses. Set OpenClaw’s managed proxy to your existing subscription’s connection URL, then allowlist both dashboard IPs at the destination. For an HTTPS API call, the path is: . OpenClaw HTTP client -&gt; authenticated QuotaGuard forward proxy -&gt; destination HTTPS server Destination sees one of the subscription's two dashboard IPv4 addresses. The destination’s TLS session runs inside the tunnel between the client and destination. Both Static and Shield carry that HTTPS payload without decrypting it. Static’s client-to-proxy hop is plaintext, including proxy authentication and tunnel metadata. Shield adds TLS to that outer hop. Destination API authorization remains inside the destination request; it does not authenticate you to QuotaGuard. | Request owner | Configuration and scope | . | OpenClaw runtime HTTP/HTTPS and common WebSocket clients | Managed proxy.proxyUrl or OPENCLAW_PROXY_URL covers the supported process clients. OpenClaw’s Proxyline runtime also replaces caller-provided Node HTTP agents. | . | Plugin with its own transport | Inspect the plugin’s documented transport settings. Some plugins need their own proxy wiring. Telegram’s Bot API uses its own HTTP/1 undici dispatcher and separately honors process proxy environment plus the OpenClaw URL fallback. | . | Tool subprocess or customer-operated MCP server | The process must receive and use a proxy setting supported by its own HTTP library. The explicit-client examples below cover this route. | . | Remote MCP or hosted fetch provider | Proxied OpenClaw-to-provider traffic does not assign QuotaGuard IPs to the provider’s separate request to the origin. Configure the component that opens the origin connection. | . | Browser | CDP control traffic and browser page traffic are distinct. Proxy configuration on the OpenClaw process does not configure every browser navigation, resource, or hosted browser. Configure and verify the browser’s own supported proxy path. | . | Raw TCP, native addon, IRC, arbitrary net/tls/http2 client | HTTP proxy hooks are not general socket interception. IRC is raw TCP/TLS and is not covered by managed HTTP routing. Use a supported SOCKS5 client or QGTunnel for the specific TCP route. | . Managed routing is process-level HTTP/WebSocket routing, not an OS network sandbox. OpenClaw’s network proxy reference states its transport limits; the browser reference describes the separate browser control path. ",
    "url": "/docs/automation/openclaw-integration/#know-which-network-hop-gets-the-static-ip",
    "relUrl": "/docs/automation/openclaw-integration/#know-which-network-hop-gets-the-static-ip"
  },"1197": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Preserve local Gateway and CDP connections",
    "content": "Keep proxy.loopbackMode: \"gateway-only\", the default. Loopback HTTP/WebSocket connections, including Gateway control, browser CDP, and native inference relay listeners, connect directly. LAN, tailnet, private-network, and public hosts are not general bypasses. The proxy mode sends loopback destinations to the remote proxy, where 127.0.0.1 means that proxy, not your machine. This can break local listeners. The block mode denies the documented local control-plane/provider paths. An old blanket NO_PROXY list does not override managed routing: OpenClaw replaces inherited bypass lists with its loopback policy. Environment-only proxy routing follows different NO_PROXY rules. ",
    "url": "/docs/automation/openclaw-integration/#preserve-local-gateway-and-cdp-connections",
    "relUrl": "/docs/automation/openclaw-integration/#preserve-local-gateway-and-cdp-connections"
  },"1198": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Use web_fetch with the right destination policy",
    "content": "web_fetch makes a plain HTTP GET and extracts readable text. It does not execute JavaScript and is not a general authenticated API SDK. It checks destinations and redirects, and can use a configured provider fallback. See the official web_fetch documentation. There are two different proxy paths to understand: . | Managed process proxy. In v2026.10.7, guarded fetch under an active managed proxy keeps hostname/IP policy checks but delegates destination DNS to the proxy. Keeping useTrustedEnvProxy false does not restore local DNS pinning while managed routing is active. This follows the release’s guarded-fetch implementation. | Environment-only trusted proxy. tools.web.fetch.useTrustedEnvProxy: true explicitly permits HTTP(S) proxy environment routing and proxy-side DNS resolution. OpenClaw says to use this only with an operator-controlled proxy enforcing destination policy after DNS resolution. Without a matching proxy environment variable, or where NO_PROXY excludes the target, it falls back to strict local DNS pinning. | . QuotaGuard supplies authenticated static egress. Its verified product facts do not establish the connect-time private-address blocking or destination filtering policy described for an operator-managed security proxy. A static IP and proxy authentication do not by themselves enforce an outbound destination allowlist. For operator-selected public API endpoints, managed routing supplies the documented static-egress path. If agents can fetch arbitrary untrusted URLs, apply independently enforced destination policy appropriate to that deployment. If you need to retain normal strict fetching while proxying only specific API commands, leave managed proxy routing off and use the explicit-client tool examples below. Those clients use operator-supplied fixed target configuration; do not turn them into an unrestricted model-selected URL relay. This fragment disables fetch cache and redirects during a route check, and retains the private-network default. Merge it only for the check, then restore your chosen cache/redirect settings: . { \"tools\": { \"web\": { \"fetch\": { \"useTrustedEnvProxy\": false, \"cacheTtlMinutes\": 0, \"maxRedirects\": 0, \"ssrfPolicy\": { \"dangerouslyAllowPrivateNetwork\": false } } } } } . These settings are not a replacement for destination enforcement. allowedHostnames adds exact-host exceptions to SSRF policy; it is not a general “allow only these hosts” firewall. Do not broadly enable dangerouslyAllowPrivateNetwork to fix an IP check or a proxy timeout. OpenClaw’s openclaw proxy validate tests allowed and denied destinations. It is a policy diagnostic, not proof that every plugin or browser is proxied. It sends real requests, including a default loopback canary check; use it only within your approved network-validation scope. A passing reachability check alone cannot certify an external proxy’s filtering policy. ",
    "url": "/docs/automation/openclaw-integration/#use-webfetch-with-the-right-destination-policy",
    "relUrl": "/docs/automation/openclaw-integration/#use-webfetch-with-the-right-destination-policy"
  },"1199": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Give child processes the proxy configuration their client supports",
    "content": "If a tool uses conventional environment-aware HTTP clients, provide the variables in that tool’s own trusted runtime environment: . export HTTP_PROXY=\"$QUOTAGUARDSTATIC_URL\" export HTTPS_PROXY=\"$QUOTAGUARDSTATIC_URL\" export http_proxy=\"$QUOTAGUARDSTATIC_URL\" export https_proxy=\"$QUOTAGUARDSTATIC_URL\" export NO_PROXY='localhost,127.0.0.1,::1' export no_proxy=\"$NO_PROXY\" . Use the exact HTTP(S) connection URL from your subscription dashboard. Both environment variable values describe the proxy hop, so a Static subscription still uses an http:// value for HTTPS_PROXY. Set both cases consistently because precedence differs across clients. curl deliberately does not accept uppercase HTTP_PROXY for plain HTTP requests; the lowercase form covers that case. Keep a protected destination out of bypass lists. Environment variables help only clients that read them. A library’s explicit agent, proxy option, or dispatcher may need separate configuration. The following examples attach the proxy explicitly and do not depend on NO_PROXY. They are useful for tools launched by OpenClaw, standalone MCP server methods you operate, and controlled API jobs. ",
    "url": "/docs/automation/openclaw-integration/#give-child-processes-the-proxy-configuration-their-client-supports",
    "relUrl": "/docs/automation/openclaw-integration/#give-child-processes-the-proxy-configuration-their-client-supports"
  },"1200": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Make a sanitized IP check or an optional protected API call",
    "content": "The dependency files for the optional Python and Node tool examples are: . requests&gt;=2.32,&lt;3 httpx&gt;=0.28,&lt;1 psycopg[binary]&gt;=3,&lt;4 . { \"name\": \"quotaguard-openclaw-tool-examples\", \"private\": true, \"type\": \"module\", \"engines\": {\"node\": \"&gt;=24\"}, \"dependencies\": { \"undici\": \"&gt;=7 &lt;8\", \"axios\": \"&gt;=1 &lt;2\", \"https-proxy-agent\": \"&gt;=7 &lt;8\", \"ws\": \"&gt;=8 &lt;9\", \"socks-proxy-agent\": \"&gt;=8 &lt;9\" } } . Install only the libraries used by your chosen tool in its execution environment. The IP check itself needs only curl and Python’s standard library. The complete Python wrapper below drives curl using standard-input configuration. It ignores .curlrc, disables URL globbing, redirects and retries, sets timeouts, captures error output, and prints neither credentials nor response bodies. It sends destination authorization only when separately supplied and refuses to send it to the IP endpoint. For an IP check, have your trusted launcher provide QG_IP_1 and QG_IP_2 from the same dashboard subscription; these are comparison values, not proxy DNS results. Choose the IP target explicitly and clear an optional inherited destination token for this invocation only. On an approved explicit/direct client route, run: . env -u DESTINATION_API_TOKEN QG_TARGET_URL=https://ip.quotaguard.com python3 qg-curl.py . It reports PASS: HTTP 200; egress matches a dashboard IP when the returned IP is in the pair. For an optional protected endpoint, the operator supplies QG_TARGET_URL as an approved HTTPS URL and DESTINATION_API_TOKEN as that destination’s Bearer token. The program makes one GET and reports status success. Use the destination’s actual documented auth scheme if it is not Bearer auth. Do not send API tokens to IP-check services. #!/usr/bin/env python3 \"\"\"Exactly one HTTPS GET. No redirects, retry loop, secret argv, or body output.\"\"\" import ipaddress import json import os import subprocess import sys from urllib.parse import urlsplit class IPCheckTokenError(ValueError): \"\"\"Destination credentials must not be sent to the public IP check.\"\"\" class EgressMismatchError(RuntimeError): \"\"\"A valid IP response is outside the configured dashboard pair.\"\"\" def config(env): proxy = env[\"QUOTAGUARDSTATIC_URL\"] target = env.get(\"QG_TARGET_URL\", \"https://ip.quotaguard.com\") token = env.get(\"DESTINATION_API_TOKEN\", \"\") for value in (proxy, target, token): if any(ord(c) &lt; 32 or ord(c) == 127 for c in value): raise ValueError(\"Control character\") p, t = urlsplit(proxy), urlsplit(target) if p.scheme not in (\"http\", \"https\") or not p.hostname or not p.username or not p.password: raise ValueError(\"Use the complete dashboard HTTP(S) connection URL\") if p.path not in (\"\", \"/\") or p.query or p.fragment: raise ValueError(\"Invalid proxy URL\") if t.scheme != \"https\" or not t.hostname or t.username or t.password or t.fragment: raise ValueError(\"Target must be a trusted HTTPS URL without userinfo or fragment\") # JSON string quoting is compatible with curl config escapes used here. lines = [\"silent\", \"show-error\", \"fail\", \"globoff\", \"noproxy = \\\"\\\"\", \"connect-timeout = 10\", \"max-time = 30\", \"retry = 0\", \"proxy = \" + json.dumps(proxy), \"url = \" + json.dumps(target)] if token: if t.hostname.lower() == \"ip.quotaguard.com\": raise IPCheckTokenError(\"Do not send destination API tokens to an IP check\") lines.append(\"header = \" + json.dumps(\"Authorization: Bearer \" + token)) lines.append('write-out = \"\\\\n%{http_code}\"') return \"\\n\".join(lines) + \"\\n\", t.hostname == \"ip.quotaguard.com\" def main(): try: cfg, ip_check = config(os.environ) if ip_check: expected = {str(ipaddress.IPv4Address(os.environ[key])) for key in (\"QG_IP_1\", \"QG_IP_2\")} if len(expected) != 2: raise ValueError(\"Two distinct dashboard IPv4 addresses required\") clean = {k: v for k, v in os.environ.items() if not any(s in k.upper() for s in (\"PROXY\", \"TOKEN\", \"SECRET\", \"PASSWORD\", \"QUOTAGUARD\"))} # -q must be first: ignore .curlrc, which could add URLs/retries/trace. result = subprocess.run([\"curl\", \"-q\", \"--config\", \"-\"], input=cfg, text=True, capture_output=True, timeout=35, env=clean) if result.returncode: hints = {5: \"Proxy DNS failed; check assigned hostname and permitted DNS route.\", 7: \"Connection failed; check host/port, reachability and runtime policy.\", 22: \"HTTP error; proxy or destination may have rejected the request.\", 56: \"Receive/CONNECT failure; check authentication, policy and transport compatibility.\"} hint = hints.get(result.returncode, \"Check client transport, TLS trust and the permitted route.\") print(f\"curl exit {result.returncode}: {hint}\", file=sys.stderr) return 1 body, status = result.stdout.rsplit(\"\\n\", 1) if not 200 &lt;= int(status) &lt; 300: raise RuntimeError(\"Unexpected status\") if ip_check: if int(status) != 200: raise RuntimeError(\"IP check requires HTTP 200\") observed = str(ipaddress.IPv4Address(json.loads(body)[\"ip\"])) if observed not in expected: raise EgressMismatchError(\"Unexpected egress\") print(\"PASS: HTTP 200; egress matches a dashboard IP\") else: print(\"PASS: destination returned a successful HTTP status\") except EgressMismatchError: print(\"Egress mismatch: the returned IP is outside the configured dashboard pair. \" \"Check the execution route and selected subscription.\", file=sys.stderr) return 1 except IPCheckTokenError: print(\"IP check rejects DESTINATION_API_TOKEN. Run: env -u DESTINATION_API_TOKEN \" \"QG_TARGET_URL=https://ip.quotaguard.com python3 qg-curl.py\", file=sys.stderr) return 1 except Exception: print(\"Request or egress check failed. Check configuration and the guide; no response or secret was printed.\", file=sys.stderr) return 1 return 0 if __name__ == \"__main__\": sys.exit(main()) . There is no extra account requirement for the IP check. For a protected API, the destination’s own account/authorization requirements still apply. Keep targets, tokens, and permissions under operator control. A GET can still have application-specific effects; choose a documented read endpoint. ",
    "url": "/docs/automation/openclaw-integration/#make-a-sanitized-ip-check-or-an-optional-protected-api-call",
    "relUrl": "/docs/automation/openclaw-integration/#make-a-sanitized-ip-check-or-an-optional-protected-api-call"
  },"1201": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Configure the actual language client",
    "content": "For these examples, supply QUOTAGUARDSTATIC_URL from the dashboard and QG_TARGET_URL through the tool’s trusted environment. Start with QG_TARGET_URL=https://ip.quotaguard.com and no token, then use an approved protected read endpoint. Status success confirms reachability; inspect the IP-check response through the curl checker before allowing protected traffic. ",
    "url": "/docs/automation/openclaw-integration/#configure-the-actual-language-client",
    "relUrl": "/docs/automation/openclaw-integration/#configure-the-actual-language-client"
  },"1202": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Python: Requests and HTTPX",
    "content": "Install requests or httpx in the execution host’s Python environment. Requests uses a proxies mapping; current HTTPX uses singular proxy=, not the removed proxies= client argument. Both examples disable ambient proxy configuration and redirects. Do not log exception objects, which can carry URLs or headers. python3 python-clients.py requests python3 python-clients.py httpx . Choose one command for the client being checked; these are alternatives, not a two-request verification sequence. #!/usr/bin/env python3 \"\"\"Choose requests or httpx. Trusted endpoint and auth come from operator env.\"\"\" import os import sys from urllib.parse import urlsplit def main(): try: target, proxy = os.environ[\"QG_TARGET_URL\"], os.environ[\"QUOTAGUARDSTATIC_URL\"] t, p = urlsplit(target), urlsplit(proxy) if t.scheme != \"https\" or t.username or t.password or not t.hostname: raise ValueError() if p.scheme not in (\"http\", \"https\") or not p.hostname or not p.username or not p.password: raise ValueError() token = os.environ.get(\"DESTINATION_API_TOKEN\", \"\") if any(ord(c) &lt; 32 or ord(c) == 127 for c in target + proxy + token): raise ValueError() if token and t.hostname == \"ip.quotaguard.com\": raise ValueError() headers = {\"Authorization\": \"Bearer \" + token} if token else {} mode = sys.argv[1] if len(sys.argv) == 2 else \"requests\" if mode == \"requests\": import requests with requests.Session() as client: client.trust_env = False response = client.get(target, proxies={\"http\": proxy, \"https\": proxy}, headers=headers, timeout=(10, 30), allow_redirects=False) elif mode == \"httpx\": import httpx with httpx.Client(proxy=proxy, trust_env=False, follow_redirects=False, timeout=30) as client: response = client.get(target, headers=headers) else: raise ValueError() if not 200 &lt;= response.status_code &lt; 300: raise RuntimeError() print(\"PASS: destination returned a successful HTTP status\") except Exception: print(\"Request failed; check configuration and the guide.\", file=sys.stderr) return 1 return 0 if __name__ == \"__main__\": sys.exit(main()) . HTTPX documents HTTPS proxy support as limited and calls out common HTTPS-proxy handshake failures. Use the Requests/curl or Node route for Shield when that HTTPX transport cannot connect to a TLS proxy; do not change a Shield URL to HTTP to work around it. The HTTPX proxy guide explains proxy scheme selection and this limitation. Requests HTTPS-proxy support uses urllib3’s HTTP and HTTPS proxy support and requires a compatible urllib3/OpenSSL stack. ",
    "url": "/docs/automation/openclaw-integration/#python-requests-and-httpx",
    "relUrl": "/docs/automation/openclaw-integration/#python-requests-and-httpx"
  },"1203": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Node.js: undici fetch and axios with HttpsProxyAgent",
    "content": "Install undici, axios, and https-proxy-agent in the command or MCP server project. Use a maintained Node runtime compatible with those installed packages. The fetch imported from undici accepts a ProxyAgent dispatcher; axios uses httpsAgent for the HTTPS destination and proxy: false to prevent an additional ambient axios proxy layer. node node-clients.mjs fetch node node-clients.mjs axios . Choose one client. Each execution makes one request. Both HTTP and HTTPS proxy endpoint schemes are handled by the proxy-agent implementation; destination TLS remains separate. See undici ProxyAgent and https-proxy-agent. import { ProxyAgent, fetch } from 'undici'; import axios from 'axios'; import { HttpsProxyAgent } from 'https-proxy-agent'; async function main() { const proxy = new URL(process.env.QUOTAGUARDSTATIC_URL); const target = new URL(process.env.QG_TARGET_URL); const token = process.env.DESTINATION_API_TOKEN || ''; if (!['http:', 'https:'].includes(proxy.protocol) || !proxy.username || !proxy.password || target.protocol !== 'https:' || target.username || target.password || /[\\x00-\\x1f\\x7f]/.test(token) || (token &amp;&amp; target.hostname === 'ip.quotaguard.com')) { throw new Error('Invalid configuration'); } const headers = token ? { Authorization: `Bearer ${token}` } : {}; const mode = process.argv[2] || 'fetch'; if (mode === 'fetch') { const dispatcher = new ProxyAgent(proxy.href); try { const response = await fetch(target, { dispatcher, headers, redirect: 'manual', signal: AbortSignal.timeout(30000) }); await response.body?.cancel(); if (!response.ok) throw new Error('Status'); } finally { await dispatcher.close(); } } else if (mode === 'axios') { const agent = new HttpsProxyAgent(proxy.href); try { await axios.get(target.href, { httpsAgent: agent, proxy: false, headers, maxRedirects: 0, timeout: 30000, responseType: 'stream' }).then(response =&gt; { response.data.destroy(); if (response.status &lt; 200 || response.status &gt;= 300) throw new Error('Status'); }); } finally { agent.destroy(); } } else { throw new Error('Choose fetch or axios'); } console.log('PASS: destination returned a successful HTTP status'); } main().catch(() =&gt; { console.error('Request failed; check configuration and the guide.'); process.exitCode = 1; }); . These are per-client patterns for a tool process or server you own. Inside managed OpenClaw routing, OpenClaw’s own process hooks own the route and replace explicit Node HTTP agents; adding another agent there is not a way to bypass managed policy. ",
    "url": "/docs/automation/openclaw-integration/#nodejs-undici-fetch-and-axios-with-httpsproxyagent",
    "relUrl": "/docs/automation/openclaw-integration/#nodejs-undici-fetch-and-axios-with-httpsproxyagent"
  },"1204": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Go: net/http Transport",
    "content": "The explicit http.ProxyURL function selects the configured proxy regardless of environment bypass lists. Go supports HTTP and HTTPS proxy URLs. The example keeps certificate verification enabled and refuses redirects. See net/http proxy support. go run go-client.go . package main import ( \"fmt\" \"net/http\" \"net/url\" \"os\" \"time\" ) func run() error { target, err := url.Parse(os.Getenv(\"QG_TARGET_URL\")) if err != nil || target.Scheme != \"https\" || target.Hostname() == \"\" || target.User != nil { return fmt.Errorf(\"config\") } proxy, err := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) if err != nil || (proxy.Scheme != \"http\" &amp;&amp; proxy.Scheme != \"https\") || proxy.Hostname() == \"\" || proxy.User == nil { return fmt.Errorf(\"config\") } token := os.Getenv(\"DESTINATION_API_TOKEN\") if token != \"\" &amp;&amp; target.Hostname() == \"ip.quotaguard.com\" { return fmt.Errorf(\"config\") } transport := &amp;http.Transport{Proxy: http.ProxyURL(proxy), TLSHandshakeTimeout: 10 * time.Second} defer transport.CloseIdleConnections() client := &amp;http.Client{Transport: transport, Timeout: 30 * time.Second, CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse }} req, err := http.NewRequest(http.MethodGet, target.String(), nil) if err != nil { return err } if token != \"\" { req.Header.Set(\"Authorization\", \"Bearer \" + token) } response, err := client.Do(req) if err != nil { return err } defer response.Body.Close() if response.StatusCode &lt; 200 || response.StatusCode &gt;= 300 { return fmt.Errorf(\"status\") } return nil } func main() { if run() != nil { fmt.Fprintln(os.Stderr, \"Request failed; check configuration and the guide.\"); os.Exit(1) } fmt.Println(\"PASS: destination returned a successful HTTP status\") } . ",
    "url": "/docs/automation/openclaw-integration/#go-nethttp-transport",
    "relUrl": "/docs/automation/openclaw-integration/#go-nethttp-transport"
  },"1205": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Ruby: Net::HTTP for Static",
    "content": "This example uses Net::HTTP’s proxy constructor arguments to establish an HTTPS destination tunnel through a plaintext HTTP proxy hop, so it is a Static example. It deliberately rejects HTTPS proxy URLs; the presence of use_ssl encrypts the destination session, not the proxy hop. For Shield, use a transport with documented HTTPS-proxy support, such as the curl wrapper, rather than relabeling the URL. See Net::HTTP. ruby ruby-client.rb . require 'net/http' require 'uri' require 'openssl' begin target = URI(ENV.fetch('QG_TARGET_URL')) proxy = URI(ENV.fetch('QUOTAGUARDSTATIC_URL')) # Net::HTTP proxy arguments below implement Static's plaintext proxy hop. raise 'config' unless target.scheme == 'https' &amp;&amp; target.host &amp;&amp; !target.userinfo raise 'config' unless proxy.scheme == 'http' &amp;&amp; proxy.host &amp;&amp; proxy.user &amp;&amp; proxy.password token = ENV.fetch('DESTINATION_API_TOKEN', '') raise 'config' if token.match?(/[\\r\\n]/) || (!token.empty? &amp;&amp; target.host == 'ip.quotaguard.com') http = Net::HTTP.new(target.host, target.port, proxy.host, proxy.port, URI::DEFAULT_PARSER.unescape(proxy.user), URI::DEFAULT_PARSER.unescape(proxy.password)) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_PEER http.open_timeout = 10 http.read_timeout = 30 http.max_retries = 0 request = Net::HTTP::Get.new(target.request_uri) request['Authorization'] = \"Bearer #{token}\" unless token.empty? response = http.request(request) raise 'status' unless response.code.to_i.between?(200, 299) puts 'PASS: destination returned a successful HTTP status' rescue StandardError warn 'Request failed; check configuration and the guide.' exit 1 end . ",
    "url": "/docs/automation/openclaw-integration/#ruby-nethttp-for-static",
    "relUrl": "/docs/automation/openclaw-integration/#ruby-nethttp-for-static"
  },"1206": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "PHP: cURL, with an explicit HTTPS-proxy capability check",
    "content": "PHP’s cURL extension uses libcurl. An HTTPS target is independent of an HTTPS proxy; Shield requires a build advertising CURL_VERSION_HTTPS_PROXY. The example checks that feature and retains peer and hostname verification. See PHP CURLOPT options and the curl manual. php php-client.php . &lt;?php // Requires PHP cURL; HTTPS-proxy support is a separate libcurl capability. try { $target = getenv('QG_TARGET_URL'); $proxy = getenv('QUOTAGUARDSTATIC_URL'); $t = parse_url($target ?: ''); $p = parse_url($proxy ?: ''); if (!$t || ($t['scheme'] ?? '') !== 'https' || empty($t['host']) || isset($t['user']) || !$p || !in_array($p['scheme'] ?? '', ['http', 'https'], true) || empty($p['host']) || empty($p['user']) || empty($p['pass'])) { throw new Exception('config'); } $token = getenv('DESTINATION_API_TOKEN') ?: ''; if (preg_match('/[\\x00-\\x1f\\x7f]/', $token) || ($token !== '' &amp;&amp; $t['host'] === 'ip.quotaguard.com')) { throw new Exception('config'); } if ($p['scheme'] === 'https' &amp;&amp; !(curl_version()['features'] &amp; CURL_VERSION_HTTPS_PROXY)) { throw new Exception('proxy TLS unsupported'); } $ch = curl_init($target); curl_setopt_array($ch, [CURLOPT_PROXY =&gt; $proxy, CURLOPT_NOPROXY =&gt; '', CURLOPT_HTTPPROXYTUNNEL =&gt; true, CURLOPT_FOLLOWLOCATION =&gt; false, CURLOPT_CONNECTTIMEOUT =&gt; 10, CURLOPT_TIMEOUT =&gt; 30, CURLOPT_SSL_VERIFYPEER =&gt; true, CURLOPT_SSL_VERIFYHOST =&gt; 2, CURLOPT_HTTPHEADER =&gt; $token !== '' ? ['Authorization: Bearer ' . $token] : [], CURLOPT_WRITEFUNCTION =&gt; static function ($ch, $data) { return strlen($data); }]); $ok = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE); curl_close($ch); if ($ok === false || $status &lt; 200 || $status &gt;= 300) { throw new Exception('request'); } echo \"PASS: destination returned a successful HTTP status\\n\"; } catch (Throwable $e) { fwrite(STDERR, \"Request failed; check configuration and the guide.\\n\"); exit(1); } . ",
    "url": "/docs/automation/openclaw-integration/#php-curl-with-an-explicit-https-proxy-capability-check",
    "relUrl": "/docs/automation/openclaw-integration/#php-curl-with-an-explicit-https-proxy-capability-check"
  },"1207": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Keep streams and WebSockets working across connection changes",
    "content": "QuotaGuard’s HTTP CONNECT tunnels have a hard 600-second lifetime, on both Static and Shield. That is connection age, not inactivity: traffic or WebSocket pings do not extend it, and changing an idle timeout does not remove it. A stream can be interrupted mid-response when its tunnel reaches that age. For ordinary short HTTP requests, use bounded request timeouts and refresh pooled connections before ten minutes. For WebSockets, implement reconnect with backoff, reauthentication, and the destination protocol’s resume or replay handling. Reconnecting a socket does not establish whether an in-flight write succeeded; use the destination’s idempotency or sequence mechanism before retrying actions. For a client you control that supports SOCKS5, Static’s SOCKS5 port 1080 has no fixed CONNECT lifetime cap. Shield Secure SOCKS uses 1081 with TLS to the proxy. The same subscription keeps the same dashboard IP pair when switching between its HTTP and SOCKS routes. Deployments and failover can still drop sockets, so reconnect handling remains necessary. OpenClaw’s managed proxy.proxyUrl accepts HTTP(S) forward proxy URLs. Do not put a SOCKS URL into that setting. To use SOCKS for a persistent connection, configure a SOCKS-aware transport owned by that tool/plugin, or use an appropriate customer-operated tunnel. This does not convert every OpenClaw WebSocket client to SOCKS automatically. ",
    "url": "/docs/automation/openclaw-integration/#keep-streams-and-websockets-working-across-connection-changes",
    "relUrl": "/docs/automation/openclaw-integration/#keep-streams-and-websockets-working-across-connection-changes"
  },"1208": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Node WebSocket through Static SOCKS5",
    "content": "For a WSS transport you operate, ws accepts an agent supplied by socks-proxy-agent. Have the operator supply the approved QG_WS_URL and the subscription’s Static SOCKS URL as QG_STATIC_SOCKS_URL, using its exact dashboard hostname and credentials on port 1080. socks5h delegates target DNS through this client’s proxy. This example is Static-only; it rejects Shield’s Secure SOCKS port rather than silently using plaintext on a TLS-required route. See socks-proxy-agent and ws client options. node node-ws-socks.mjs . // Static SOCKS5 only. This receives a stream; it sends no application messages. import WebSocket from 'ws'; import { SocksProxyAgent } from 'socks-proxy-agent'; try { const target = new URL(process.env.QG_WS_URL); const proxy = new URL(process.env.QG_STATIC_SOCKS_URL); const token = process.env.DESTINATION_API_TOKEN || ''; if (target.protocol !== 'wss:' || target.username || target.password || !['socks5:', 'socks5h:'].includes(proxy.protocol) || proxy.port !== '1080' || !proxy.username || !proxy.password || /[\\x00-\\x1f\\x7f]/.test(token)) { throw new Error('Invalid configuration'); } let attempts = 0; let stopped = false; let socket; let timer; const agent = new SocksProxyAgent(proxy.href); function connect() { attempts += 1; socket = new WebSocket(target.href, { agent, handshakeTimeout: 10000, headers: token ? { Authorization: `Bearer ${token}` } : {} }); socket.on('open', () =&gt; console.log('Connected; stream payload is not logged')); socket.on('message', () =&gt; { /* Process data privately with protocol-aware sequencing. */ }); socket.on('error', () =&gt; { /* close triggers the bounded recovery path. */ }); socket.on('close', () =&gt; { if (stopped) return; if (attempts &gt;= 5) { console.error('Connection ended; automatic connection attempts exhausted.'); process.exitCode = 1; agent.destroy(); return; } timer = setTimeout(connect, Math.min(16000, 1000 * 2 ** (attempts - 1))); }); } function stop() { stopped = true; clearTimeout(timer); socket?.terminate(); agent.destroy(); } process.on('SIGINT', stop); process.on('SIGTERM', stop); connect(); } catch { console.error('WebSocket configuration failed; check the guide.'); process.exitCode = 1; } . This receive-only example makes at most five connection attempts with backoff, then stops. It does not replay application actions or log stream payloads. Add the destination protocol’s resume cursor and deduplication handling where indicated before using it to process a business event stream. QuotaGuard counts tunnel opens as requests. Reconnect frequency affects request usage; both directions’ bytes, including tunnel/TLS overhead where applicable, contribute to bandwidth. A long-lived socket is not one billed request per message. Watch your existing subscription’s usage as you add agent jobs and reconnecting channels. ",
    "url": "/docs/automation/openclaw-integration/#node-websocket-through-static-socks5",
    "relUrl": "/docs/automation/openclaw-integration/#node-websocket-through-static-socks5"
  },"1209": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Reach databases and other TCP services from an agent-owned tool",
    "content": "An HTTP proxy environment variable does not configure PostgreSQL, MySQL, MongoDB, Redis, SFTP, or other raw TCP drivers. Use a supported SOCKS-aware client or QGTunnel on the host that runs that tool. Keep database authentication and TLS validation in the database driver. The destination must be reachable from the QuotaGuard proxy; a private VPC address does not become reachable simply because it was put in a connection string. ",
    "url": "/docs/automation/openclaw-integration/#reach-databases-and-other-tcp-services-from-an-agent-owned-tool",
    "relUrl": "/docs/automation/openclaw-integration/#reach-databases-and-other-tcp-services-from-an-agent-owned-tool"
  },"1210": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Static SOCKS5 for a client that supports it",
    "content": "Use the subscription’s Static SOCKS5 connection URL on 1080 and its existing proxy credentials. For a curl-based HTTP check through Static SOCKS5, a socks5h:// URL instructs curl to resolve the destination through the proxy. This is a client-specific scheme convention, not a replacement for OpenClaw’s HTTP(S) managed-proxy URL. For Shield, plain socks5:// to 1081 is insufficient: that port requires Secure SOCKS with TLS on the outer connection. Do not monkey-patch Python’s global socket module to proxy an entire OpenClaw deployment. Attach SOCKS at the specific driver/transport, or use QGTunnel’s local listener for a driver without a proxy option. That keeps the database route distinct from Gateway/CDP loopback connections. ",
    "url": "/docs/automation/openclaw-integration/#static-socks5-for-a-client-that-supports-it",
    "relUrl": "/docs/automation/openclaw-integration/#static-socks5-for-a-client-that-supports-it"
  },"1211": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "QGTunnel: a local port for a database tool",
    "content": "The published PostgreSQL Direct Service QGTunnel guide documents a wrapper that runs your application with a locally configured listener. Use its current installation package and keep bin/qgtunnel together with vendor/; do not discard the bundled library. In the dashboard, go to Setup (gear icon, top-right) &gt; QGTunnel Configuration &gt; Create a Tunnel. A non-transparent PostgreSQL listener can use: . | Setting | Example and reason | . | Remote Destination | tcp://db.example.com:5432, replaced with the real reachable database host | . | Local Port | 15432, an unused local port on the tool host | . | Transparent | false, so the tool explicitly connects to the local listener | . | Encrypted | Configure for your tunnel architecture; database TLS is a separate requirement. Do not assume a plaintext database protocol becomes encrypted end-to-end. | . Supply the existing dashboard connection as QUOTAGUARDSTATIC_URL. Download the dashboard-generated .qgtunnel configuration into the tool’s private application directory, or supply its contents through QGTUNNEL_CONFIG, as documented. Treat exported configuration as sensitive. Start the tool through the installed wrapper from its installation directory: . bin/qgtunnel python3 postgres-tool.py . The complete postgres-tool.py below runs a read-only SELECT 1. Supply PGHOST as the real database certificate hostname, and supply PGDATABASE, PGUSER, PGPASSWORD, and the database CA file path PGSSLROOTCERT through that tool’s trusted environment. Its hostaddr selects the local listener, while host remains the real TLS verification name. This is the documented PostgreSQL host/hostaddr distinction. Never disable certificate verification to make a local tunnel work. #!/usr/bin/env python3 \"\"\"Read-only PostgreSQL probe through an already configured QGTunnel listener.\"\"\" import os import sys def main(): try: import psycopg with psycopg.connect( host=os.environ['PGHOST'], # Real certificate hostname. hostaddr='127.0.0.1', # Local tunnel listener. port=int(os.environ.get('QG_DB_LOCAL_PORT', '15432')), dbname=os.environ['PGDATABASE'], user=os.environ['PGUSER'], password=os.environ['PGPASSWORD'], sslmode='verify-full', sslrootcert=os.environ['PGSSLROOTCERT'], connect_timeout=10, options='-c default_transaction_read_only=on -c statement_timeout=15000' ) as conn: with conn.cursor() as cur: cur.execute('SELECT 1') if cur.fetchone() != (1,): raise RuntimeError() print('PASS: read-only database probe completed') except Exception: print('Database probe failed; check listener, TLS, and authorization.', file=sys.stderr) return 1 return 0 if __name__ == '__main__': sys.exit(main()) . Transparent mode is another documented option: it overrides the destination hostname to 127.0.0.1 through the bundled preload library. It requires a compatible runtime, the proper working directory, and matching listener configuration. If the override does not load, a client can resolve the real destination and connect directly. If it resolves to loopback but the listener is missing, it gets connection refused instead. Diagnose these separately. This is why a narrow database-tool wrapper is preferable to applying transparent mode indiscriminately to the whole Gateway. QGTunnel has no fixed CONNECT lifetime cap. This is a specific tool-to-database route; it is not proof that browsers, all plugins, or arbitrary child processes use the tunnel. Shield Secure SOCKS and tunnel encryption need a compatible TLS-capable tunnel setup; follow that product’s documented setup rather than substituting Static’s plaintext ports. ",
    "url": "/docs/automation/openclaw-integration/#qgtunnel-a-local-port-for-a-database-tool",
    "relUrl": "/docs/automation/openclaw-integration/#qgtunnel-a-local-port-for-a-database-tool"
  },"1212": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Choose Static or Shield before submitting destination IPs",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Forward proxy URL | Dashboard http:// URL, port 9293 | Dashboard https:// URL, port 9294 | . | Customer-to-proxy hop | Plaintext, including proxy authentication | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | SOCKS route | SOCKS5 on 1080 | Secure SOCKS over TLS on 1081 | . | General fit | Non-regulated API and automation traffic | Regulated data or a requirement for TLS on the proxy hop | . | Direct Starter price | $19/month | $29/month | . | Direct Enterprise with dedicated IPs | $219/month | $269/month | . Static is appropriate for most non-regulated static-egress API work. Choose Shield for regulated workloads or when policy requires TLS from the client to the proxy. Neither the product name nor proxy TLS by itself makes the whole application compliant. BAA coverage requires review and signed documentation. The two products use separate IP pools, so switching products changes the assigned pair. Standard Starter, Production, and Business subscriptions use shared static IPs; use dedicated infrastructure when a destination requires exclusive source addresses. The current direct pricing page lists allowances and dedicated plans. One subscription egresses through one region. Choose a nearby region to reduce the extra network distance. A region/proxy change requires allowlisting the new pair before cutting over; QuotaGuard supports an overlapping credential window, default seven days, for a coordinated proxy change. Keep destination credentials and proxy credentials separate throughout the migration. ",
    "url": "/docs/automation/openclaw-integration/#choose-static-or-shield-before-submitting-destination-ips",
    "relUrl": "/docs/automation/openclaw-integration/#choose-static-or-shield-before-submitting-destination-ips"
  },"1213": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Diagnose the failing hop",
    "content": "| Symptom | What to check and do | . | curl exits without JSON | Check its exit status, required environment value, proxy scheme/port, and network access to the dashboard hostname. Use the sanitized wrapper for an automated pass/fail result. Do not enable verbose/trace output containing credentials. | . | 407 Proxy Authentication Required | Use the subscription’s proxy credentials in the complete dashboard URL. Account login credentials and destination API tokens do not authenticate the proxy. Keep encoded username/password characters intact. | . | Proxy timeout or ECONNREFUSED | Check runtime outbound access to the exact hostname and port. Static uses 9293; Shield uses 9294. A container’s localhost is not the host’s localhost. | . | TLS handshake or certificate error | Match the proxy URL scheme to the product. Keep both proxy and destination verification enabled. proxy.tls.caFile is for a private-CA HTTPS proxy endpoint; it does not change destination trust or create a filtering policy. | . | Destination 401 or 403 after successful IP check | Confirm destination token, scopes, roles, endpoint and both allowlisted IPs. A destination error and a proxy-auth error are different. A WAF can also reject a non-standard Host header containing a port. | . | Only one of the two IPs appears | Normal for connection reuse and DNS caching. Allowlist both anyway. Do not add extra retries to force rotation or infer a missing second address. | . | Wrong public IP | Verify the request owner: Gateway, node, sandbox tool, MCP server, browser, or provider fallback. Check explicit client proxy configuration, bypass lists for environment-only routes, and stale service configuration. | . | Terminal works but service does not | Make the proxy durable for that service/profile and regenerate the installed service after changing OPENCLAW_PROXY_URL. A terminal export does not update the running daemon. | . | WebChat/CDP/local relay breaks | Restore proxy.loopbackMode: \"gateway-only\". Sending loopback URLs through a remote proxy reaches its loopback, not yours. | . | web_fetch appears to reuse an old IP | Disable its cache during the check and identify the extractor/provider. Hosted fallback requests have a separate origin-facing network hop. | . | A private/internal URL is blocked | Keep SSRF protections. Confirm the intended route and destination policy instead of broadly enabling private-network access. A static egress service does not create private-network connectivity. | . | Socket or stream drops around ten minutes | The CONNECT tunnel reached 600 seconds of age. Use reconnect/resume, refresh pools before the cap, or a separately configured SOCKS-aware route for a client you control. Pings do not extend CONNECT lifetime. | . | Socket drops irregularly | Deploys/failover and the destination can close connections. Reconnect with backoff and protocol-aware recovery. QuotaGuard failover does not promise uninterrupted existing sockets. | . | QGTunnel reaches the origin directly | Check the transparent-mode working directory, bundled preload library, and runtime compatibility. A failed hostname override can silently restore normal DNS. | . | QGTunnel resolves to loopback but refuses the connection | Check that its local listener started, the port is unused, and the installation matches the host runtime. This differs from a failed DNS override. | . | Database certificate fails through a local listener | Keep the original database hostname for TLS verification using the driver’s supported facility. Do not turn off verification. | . The curl checker emits fixed hints for exits 5 (proxy DNS), 7 (connection), 22 (HTTP error) and 56 (receive/CONNECT failure), without raw stderr or response bodies. These codes do not by themselves distinguish every authentication, policy or transport cause; confirm the failing hop using sanitized status/policy evidence. When asking QuotaGuard support for help, provide the runtime/version, transport owner, execution location, product, sanitized error category, and whether the IP check matched the dashboard pair. Do not send account passwords, connection URLs, tokens, request bodies, or raw logs. ",
    "url": "/docs/automation/openclaw-integration/#diagnose-the-failing-hop",
    "relUrl": "/docs/automation/openclaw-integration/#diagnose-the-failing-hop"
  },"1214": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Inbound webhooks use a separate reverse-proxy route",
    "content": "The outbound setting does not expose an OpenClaw Gateway or change a callback’s destination address. If a partner needs fixed IPs to reach your approved webhook receiver, QuotaGuard also supports inbound reverse proxying. Both products use a dashboard-generated &lt;hash&gt;.getstatica.com hostname, with a custom domain CNAME where appropriate, and the subscription’s two IPs for destination allowlisting. Static inbound terminates TLS at QuotaGuard and forwards to the configured origin; the origin hop is encrypted when the forwarding URL uses HTTPS. Shield inbound uses TLS/SNI passthrough, with the certificate and TLS termination at your origin. Keep webhook signature verification and endpoint authorization at the receiver. Do not expose a local Gateway administration or CDP interface as a side effect of outbound setup. See the existing inbound static IP overview. ",
    "url": "/docs/automation/openclaw-integration/#inbound-webhooks-use-a-separate-reverse-proxy-route",
    "relUrl": "/docs/automation/openclaw-integration/#inbound-webhooks-use-a-separate-reverse-proxy-route"
  },"1215": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Decide whether a proxy fits this deployment",
    "content": "If your OpenClaw host already has stable egress and the destination accepts it, you may already have the required route. QuotaGuard is useful when the requesting process moves between hosts, containers, or deployments, or you want a common assigned pair for supported clients without managing that egress infrastructure yourself. Use destination API authorization together with both dashboard IPs. Add dedicated infrastructure when source-IP exclusivity is required. Use the transport-specific examples when only one tool needs the proxy, and managed OpenClaw routing when the supported runtime traffic should use it centrally. For related paths, see the existing AI agent static IP hub, Automation documentation, and integration directory. If the assigned connection still fails after the hop checks above, contact support with the sanitized details. ",
    "url": "/docs/automation/openclaw-integration/#decide-whether-a-proxy-fits-this-deployment",
    "relUrl": "/docs/automation/openclaw-integration/#decide-whether-a-proxy-fits-this-deployment"
  },"1216": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "Download the complete examples",
    "content": "These files retain the complete source examples shown in this guide. Review them before use and supply your own runtime secrets. Store real values only through your approved private workflow. | go-client.go | launch-openclaw.sh | node-clients.mjs | node-ws-socks.mjs | openclaw-fetch-policy.json | openclaw-managed.json | package.json | php-client.php | postgres-tool.py | python-clients.py | qg-curl.py | requirements.txt | ruby-client.rb | . ",
    "url": "/docs/automation/openclaw-integration/#download-the-complete-examples",
    "relUrl": "/docs/automation/openclaw-integration/#download-the-complete-examples"
  },"1217": {
    "doc": "QuotaGuard and OpenClaw Integration Guide",
    "title": "QuotaGuard and OpenClaw Integration Guide",
    "content": "Follow these steps to use QuotaGuard with OpenClaw. ",
    "url": "/docs/automation/openclaw-integration/",
    "relUrl": "/docs/automation/openclaw-integration/"
  },"1218": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Record the integration boundary",
    "content": "Maintain a private record of the target provider and environment, selected subscription, accepted source region, assigned IPv4 pair, shared or dedicated arrangement, owner, and the code paths using the client. Include the framework and locked dependency versions. Record the names of secret keys and where they are linked, not their values. Identify independent SDKs, queues, and scheduled tasks. This inventory is the scope for rollout and regression checks; do not treat every outbound connection as covered. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#record-the-integration-boundary",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#record-the-integration-boundary"
  },"1219": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Prepare a release",
    "content": ". | Review the provider’s acceptance of both addresses and its source-region or ownership rules. | Add the configuration file and selected factory without replacing unrelated application files. | Keep API authentication and request semantics unchanged. | Run PHP lint and the application’s isolated tests on the intended runtime and dependencies. | Exercise the missing-secret and failed-request paths. Neither should retry directly. | Confirm the target Cloud secret linkage and any overriding custom variable. | Retain the existing build steps and configuration-caching process. | Choose an operator-approved harmless provider request for acceptance testing. | . Avoid testing a payment, account mutation, notification, or other state-changing workflow merely to prove networking. Use the provider’s permitted read operation or dedicated diagnostic where available. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#prepare-a-release",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#prepare-a-release"
  },"1220": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Verify after deployment",
    "content": "Run the deployed Artisan echo check and compare the value to the assigned pair. Then verify the actual authenticated web, queue, and scheduled paths that belong to this integration. Where the provider exposes source or request logs, correlate the request there. Record separate outcomes for the echo and provider request. Preserve a sanitized status or request ID, not a raw response body. Mark each relevant path as passed, failed, or not exercised. Do not turn an unexercised scheduled path into an assumed pass because the controller worked. Cloud’s one-time command behavior and worker lifecycle explain why these checks are distinct. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#verify-after-deployment",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#verify-after-deployment"
  },"1221": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Rotate a proxy credential",
    "content": "Before changing anything, identify the active secret, all environments that share it, and the approved rollback value or process. Check whether the rotation also changes the assigned IPs; do not assume it does or does not. Update the authorized secret location, resolve any custom-variable override, and redeploy the intended environments. Verify a fresh command, a real worker execution, and the actual provider path. Use a new timestamp and release identifier so old logs cannot be mistaken for a new pass. Coordinate old-credential retirement with the service’s supported rotation process and the application’s deployment coverage. Never print the current or previous value to compare them. Keep the old configuration only as long as the approved rollback and credential policy permit. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#rotate-a-proxy-credential",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#rotate-a-proxy-credential"
  },"1222": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Move from shared to dedicated addresses",
    "content": "Treat this as an address change as well as a connection change. QuotaGuard’s migration guidance describes new addresses and connection credentials. Obtain provider approval for both new addresses before directing production calls through them. Update the expected pair used by diagnostics alongside the connection configuration. Verify the new path in each intended environment. Remove old allowlist entries only after the agreed transition and rollback window, using the provider’s change procedure. Do not describe a dedicated arrangement as necessary for every API. The destination’s actual requirements determine that choice. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#move-from-shared-to-dedicated-addresses",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#move-from-shared-to-dedicated-addresses"
  },"1223": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Roll back without exposing a direct route",
    "content": "If the new route fails, preserve the provider’s allowlist while investigating. Restore a known, approved proxy configuration and expected pair where the rollback plan allows it, then redeploy and recheck. If no valid approved route exists, pause the affected integration or use its existing controlled failure path. Do not remove the proxy option, disable the provider allowlist, or add a direct retry as an emergency shortcut. For pending business operations, reconcile provider state before retrying work. Networking rollback and transaction reconciliation are separate responsibilities. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#roll-back-without-exposing-a-direct-route",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#roll-back-without-exposing-a-direct-route"
  },"1224": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Keep diagnostics useful",
    "content": "Use ordinary application success and failure metrics for ongoing operations. Run a targeted echo check after relevant configuration, transport, or dependency changes and when diagnosing a route question. A continuous stream of echo traffic is not a substitute for observing real provider requests. Revalidate the actual transport after major framework or client changes, secret-management changes, moving environments or regions, introducing a new SDK, and changing the assigned pair. Recheck current official instructions before changing protocol settings. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#keep-diagnostics-useful",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#keep-diagnostics-useful"
  },"1225": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Definition of operational readiness",
    "content": "The selected integration has documented provider acceptance, a controlled configuration source, passing application tests, evidence from its real execution paths, safe diagnostics, and an approved failure or rollback behavior. The scope is the integration you verified, not every process in Laravel Cloud. Download the reference examples · Integration overview . ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/#definition-of-operational-readiness",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/#definition-of-operational-readiness"
  },"1226": {
    "doc": "Manage static outbound API routing on Laravel Cloud",
    "title": "Manage static outbound API routing on Laravel Cloud",
    "content": "Use this runbook to release and maintain a selected static-egress integration while keeping the rest of the application unchanged. It separates configuration changes from route evidence and provider acceptance, which makes rollback and future credential rotation easier to reason about. ",
    "url": "/docs/platforms/laravel-cloud/operations-runbook/",
    "relUrl": "/docs/platforms/laravel-cloud/operations-runbook/"
  },"1227": {
    "doc": "QuotaGuard Apps on the Heroku Platform",
    "title": "QuotaGuard Shield is for secure Static IP use cases",
    "content": "QuotaGuard Shield is available as an official add-on from the Heroku marketplace. Visit the QuotaGuard Shield add-on page to look at our available plans and add it to your apps. Detailed documentation is available on the QuotaGuard Shield Dev Center article. ",
    "url": "/docs/platforms/heroku/overview/#quotaguard-shield-is-for-secure-static-ip-use-cases",
    "relUrl": "/docs/platforms/heroku/overview/#quotaguard-shield-is-for-secure-static-ip-use-cases"
  },"1228": {
    "doc": "QuotaGuard Apps on the Heroku Platform",
    "title": "QuotaGuard Static is for flexible Static IP use cases",
    "content": "It is available as an official add-on from the Heroku marketplace. Visit the QuotaGuard Static add-on page to look at our available plans and add it to your apps. Detailed documentation is available on the QuotaGuard Static Dev Center article. ",
    "url": "/docs/platforms/heroku/overview/#quotaguard-static-is-for-flexible-static-ip-use-cases",
    "relUrl": "/docs/platforms/heroku/overview/#quotaguard-static-is-for-flexible-static-ip-use-cases"
  },"1229": {
    "doc": "QuotaGuard Apps on the Heroku Platform",
    "title": "QuotaGuard Dynamic Proxy",
    "content": "QuotaGuard is for when a system needs a dynamic proxy. It is available as an official add-on from the Heroku marketplace. Visit the QuotaGuard Dynamic IP’s add-on page to look at our available plans and add it to your apps. Detailed documentation is available on the QuotaGuard Dynamic IP Dev Center article. ",
    "url": "/docs/platforms/heroku/overview/#quotaguard-dynamic-proxy",
    "relUrl": "/docs/platforms/heroku/overview/#quotaguard-dynamic-proxy"
  },"1230": {
    "doc": "QuotaGuard Apps on the Heroku Platform",
    "title": "QuotaGuard Direct Support",
    "content": "We answer 95% of support emails within a few hours, so if you have any questions, send them directly to us. ",
    "url": "/docs/platforms/heroku/overview/#quotaguard-direct-support",
    "relUrl": "/docs/platforms/heroku/overview/#quotaguard-direct-support"
  },"1231": {
    "doc": "QuotaGuard Apps on the Heroku Platform",
    "title": "QuotaGuard Heroku Support",
    "content": "We respond to queries raised through the Heroku support channels, but they will take longer to reach us because Heroku has to relay all the tickets and responses to us. We strongly urge you to just contact us directly to speed up the resolution to your questions. ",
    "url": "/docs/platforms/heroku/overview/#quotaguard-heroku-support",
    "relUrl": "/docs/platforms/heroku/overview/#quotaguard-heroku-support"
  },"1232": {
    "doc": "QuotaGuard Apps on the Heroku Platform",
    "title": "QuotaGuard Apps on the Heroku Platform",
    "content": "QuotaGuard currently offers three products on Heroku, QuotaGuard Shield, QuotaGuard Static, and QuotaGuard Dynamic IP’s. ",
    "url": "/docs/platforms/heroku/overview/",
    "relUrl": "/docs/platforms/heroku/overview/"
  },"1233": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Why Pantheon Sites Need Static IPs",
    "content": "Pantheon’s application containers use dynamic outbound IP addresses. An external service that accepts traffic only from known addresses may therefore reject a request even when the application’s credentials are correct. Check the destination’s response and firewall logs before assuming that every connection failure is an IP problem. Pantheon outgoing IP documentation . Common use cases include payment and banking APIs, partner APIs, CRM integrations and database services exposed through HTTP APIs. For example, an integration with FirstData, Line Pay, Salesforce or HubSpot may have source-IP requirements; check the particular service and configuration rather than assuming every account requires an allowlist. LDAP and native database connections can also have source-IP requirements, but their clients need separate transport configuration; WordPress or Drupal HTTP proxy settings do not configure them automatically. QuotaGuard supplies a stable pair of source addresses for requests sent through the assigned proxy. IP allowlisting supplements the destination’s authentication; it does not replace API credentials or other access controls. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#why-pantheon-sites-need-static-ips",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#why-pantheon-sites-need-static-ips"
  },"1234": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Check Compatibility Before Configuring the Client",
    "content": "Confirm these details with the developer or team responsible for the application: . | Direction: Is the connection made by your Pantheon application to an external service, or is it an incoming callback to your site? | Destination: What protocol, hostname and port does the application use? | Client: Does the request use the WordPress HTTP API, Drupal’s HTTP client, an independent Guzzle or cURL client, or a native extension such as PDO_SQLSRV or LDAP? | Proxy transport: Does that client support the assigned HTTP proxy for Static or HTTPS proxy for Shield? An HTTPS destination and an HTTPS proxy are different settings. | Ownership: Who can change application configuration, manage the destination allowlist and approve the connection requirements? | . For HTTP(S) integrations, start with the applicable client recipe below. For a native protocol, keep the use case and assess that client’s proxy or tunnel support separately. A port number alone does not establish compatibility. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#check-compatibility-before-configuring-the-client",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#check-compatibility-before-configuring-the-client"
  },"1235": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Native Option Secure Integration",
    "content": "Pantheon offers Secure Integration, formerly Pantheon Enterprise Gateway. It is a separate managed option; ask your Pantheon account or support team whether it is available for your contract and site. | Feature | Pantheon Secure Integration | QuotaGuard | . | Setup | Pantheon provisions each remote resource | Configure the assigned proxy in a compatible application client | . | Architecture | Managed tunnel with a resource-specific local connection | Application-controlled HTTP or SOCKS5 proxy connection, subject to client support | . | Source addresses | Consistent IP address range | Assigned pair of static IPs | . | Application configuration | Code uses the provisioned resource connection | Code or client settings select the proxy | . | Availability | Confirm with Pantheon | Depends on the application client and platform requirements | . | Pricing | Confirm with Pantheon | See current QuotaGuard plans | . Secure Integration does not automatically redirect every request from a site. It requires remote-resource configuration and application changes. QuotaGuard likewise affects only requests made through the configured client. Native database or LDAP requirements may be a reason to assess Pantheon’s managed option rather than reuse an HTTP recipe. For standard application-client configuration, QuotaGuard offers self-service signup and setup: select a plan online, register, and configure compatible clients without asking support to provision each external service. Dedicated provisioning and special connection requirements may still need support. The destination owner must still approve and maintain its own allowlist. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#native-option-secure-integration",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#native-option-secure-integration"
  },"1236": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, open the dashboard and identify the subscription’s product, complete proxy connection URL and assigned IP pair. Copy the supplied scheme, hostname and port rather than building a URL from another subscription’s details. Typical connection formats are: . Static: http://USERNAME:PASSWORD@ASSIGNED_PROXY_HOST:9293 Shield: https://USERNAME:PASSWORD@ASSIGNED_PROXY_HOST:9294 . These are formats, not credentials or universal hostnames. A Static connection does not become a Shield connection by changing its scheme or port. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#getting-started",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#getting-started"
  },"1237": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Choose the Proxy Region",
    "content": "Pantheon documents US, Australia, Canada and EU site regions. Check the actual site region in its dashboard, then consider the external service’s location and any residency requirements when choosing an available QuotaGuard region. Confirm regional availability with QuotaGuard; do not assume every subscription can be moved without changing connection details. Pantheon regions · QuotaGuard dedicated proxy regions . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#choose-the-proxy-region",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#choose-the-proxy-region"
  },"1238": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Find and Allowlist Both Static IPs",
    "content": "Add both addresses displayed for the subscription to the external service’s allowlist. A shared subscription may use the same pair as another subscription. If your requirements include exclusive addresses, arrange dedicated provisioning with QuotaGuard and use the connection details supplied for that service. Shared and dedicated IPs . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#find-and-allowlist-both-static-ips",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#find-and-allowlist-both-static-ips"
  },"1239": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Store Credentials with Pantheon Secrets",
    "content": "Store the complete connection URL as a Pantheon secret named quotaguard_proxy_url, using the runtime type and web scope for PHP access. Pantheon Secrets is available to all users. Use environment overrides where credentials differ between environments; secrets are not automatically ordinary environment variables. Pantheon documents a cache period of up to 15 minutes for changes. Create secrets · Read secrets in PHP . The following shared setup is used by the examples on this page. Save it as qg-proxy.php in your application code and load it using the correct application-relative path. It contains no credential values and may be committed with your code. Load it only after Pantheon’s secret function is available; the site’s developer should place it at the appropriate bootstrap point. &lt;?php function qg_proxy(string $product): array { $scheme = ['static' =&gt; 'http', 'shield' =&gt; 'https'][$product] ?? null; if (!$scheme || !function_exists('pantheon_get_secret')) { throw new RuntimeException('Proxy configuration unavailable.'); } try { $url = pantheon_get_secret('quotaguard_proxy_url'); if (!is_string($url) || preg_match('/[\\x00-\\x20\\x7f]/', $url)) { throw new RuntimeException(); } $p = parse_url($url); if (!is_array($p) || ($p['scheme'] ?? '') !== $scheme || !isset($p['host'], $p['port'], $p['user'], $p['pass']) || $p['port'] &lt; 1 || $p['port'] &gt; 65535 || isset($p['query']) || isset($p['fragment']) || !in_array($p['path'] ?? '', ['', '/'], true)) { throw new RuntimeException(); } $user = rawurldecode($p['user']); $pass = rawurldecode($p['pass']); if ($user === '' || $pass === '' || strpos($user, ':') !== false || preg_match('/[\\x00-\\x1f\\x7f]/', $user . $pass)) { throw new RuntimeException(); } return [ 'scheme' =&gt; $scheme, 'host' =&gt; $p['host'], 'port' =&gt; $p['port'], 'user' =&gt; $user, 'pass' =&gt; $pass, 'endpoint' =&gt; $scheme . '://' . $p['host'] . ':' . $p['port'], 'url' =&gt; $scheme . '://' . rawurlencode($user) . ':' . rawurlencode($pass) . '@' . $p['host'] . ':' . $p['port'], ]; } catch (Throwable $e) { throw new RuntimeException('Proxy configuration unavailable.'); } } . Do not print the returned array, connection URL or raw transport exceptions. If a protected integration cannot load its proxy configuration, return an appropriate application error rather than retrying directly. Loading required settings during site bootstrap can prevent the site from starting if they are missing; an integration-specific client lets you handle that failure at the integration boundary instead. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#store-credentials-with-pantheon-secrets",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#store-credentials-with-pantheon-secrets"
  },"1240": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "WordPress Configuration",
    "content": "WordPress has built-in HTTP proxy settings in wp-config.php. They affect requests that use the WordPress HTTP API and its proxy decision, including wp_remote_get() and wp_remote_post(). Plugins that use independent SDKs, cURL or other clients need their own settings. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#wordpress-configuration",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#wordpress-configuration"
  },"1241": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Step 1 Edit wp config",
    "content": "For QuotaGuard Static, load the shared setup and define these settings before WordPress loads wp-settings.php. Check existing definitions first; do not redefine constants already supplied by your site configuration. require_once __DIR__ . '/qg-proxy.php'; $proxy = qg_proxy('static'); if (!extension_loaded('curl')) { throw new RuntimeException('Required proxy transport unavailable.'); } define('WP_PROXY_HOST', $proxy['host']); define('WP_PROXY_PORT', $proxy['port']); define('WP_PROXY_USERNAME', $proxy['user']); define('WP_PROXY_PASSWORD', $proxy['pass']); define('WP_PROXY_BYPASS_HOSTS', 'localhost'); . Review bypass destinations for your site. WordPress normally bypasses localhost and its own site hostname. Only add hosts that should connect directly, and ensure a protected destination cannot match a bypass rule. Do not broadly proxy internal Pantheon traffic without reviewing its purpose. WordPress proxy configuration . Standard host and port constants configure an HTTP proxy, even for HTTPS destination URLs. For Shield, use the explicit PHP cURL or Guzzle recipe below, or a WordPress adapter that your developer has configured for an HTTPS proxy. Merely changing the port does not establish an encrypted application-to-proxy connection. Scheme-prefixed host behavior is transport-specific and should not be relied on across WordPress transports. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#step-1-edit-wp-config",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#step-1-edit-wp-config"
  },"1242": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Step 2 Deploy to Pantheon",
    "content": "Commit the code and secret references, not the secret values. Review the diff, then use your established Pantheon deployment workflow from Dev to Test to Live. The exact Git branch and deployment commands depend on your project. For example, in a standard Pantheon Git checkout with wp-config.php at the repository root and qg-proxy.php beside it: . git add wp-config.php qg-proxy.php git diff --cached git commit -m \"Configure QuotaGuard client and secret references\" git push origin master . The staged configuration should contain calls such as pantheon_get_secret('quotaguard_proxy_url'), never the secret value. Include any separate application source files you created for the selected client. Confirm that origin is your Pantheon repository and the site uses Git connection mode. This example pushes the standard master branch to Dev; custom Git workflows and Multidev use the branch and remote appropriate to that project. After reviewing Dev, deploy Dev to Test, evaluate the integration there, then deploy Test to Live through the Pantheon dashboard. See Pantheon’s deployment pipeline. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#step-2-deploy-to-pantheon",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#step-2-deploy-to-pantheon"
  },"1243": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "What Gets Proxied",
    "content": "Eligible requests made through the configured WordPress HTTP API use its proxy settings unless a bypass or filter changes the decision. This can include external REST calls, plugin and theme update requests, and gateway requests that use that API. It does not cover incoming webhooks or every request made by every plugin. If only one integration needs a proxy, a dedicated client is often easier to scope than a site-wide setting. WordPress also provides a pre_http_send_through_proxy filter for application-specific decisions. The developer should restrict destinations and review redirects and bypass behavior for the protected requests. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#what-gets-proxied",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#what-gets-proxied"
  },"1244": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Environment Specific Configuration",
    "content": "You can restrict the configuration to selected Pantheon environments with PANTHEON_ENVIRONMENT. Keep the required proxy enabled in each environment that connects to an allowlisted service. A Live-only setting does not exercise that route in Dev or Test. Use Pantheon secret overrides to keep credentials separate where required. For a Live-only WordPress route, wrap the complete Step 1 Edit wp config recipe above, including its require_once and secret lookup, in the conditional below. Keep it after Pantheon’s environment configuration has loaded and before wp-settings.php; do not define the same proxy constants elsewhere. This limits proxy use and avoids unnecessary development requests consuming the subscription’s quota when Dev does not need the protected service. if (defined('PANTHEON_ENVIRONMENT') &amp;&amp; PANTHEON_ENVIRONMENT === 'live') { // Insert the complete secret-based WordPress Static recipe here. } . If Test or Dev also calls the allowlisted service, include that environment in the condition, configure its secret override, and test its route before deployment. Leaving the proxy disabled there can cause direct egress and failed access. Pantheon WordPress environment configuration . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#environment-specific-configuration",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#environment-specific-configuration"
  },"1245": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "WooCommerce Payment Gateway Example",
    "content": "Determine which HTTP client the installed gateway version uses. Gateways using the WordPress HTTP API can use the configuration above; independent SDKs or custom transports need their own proxy configuration. Keep provider authentication and destination TLS verification enabled. Use the harmless egress check under Testing Your Implementation to confirm the relevant client path. An egress check does not execute a payment or prove callback handling; use the payment provider’s supported sandbox workflow for application-level checks. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#woocommerce-payment-gateway-example",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#woocommerce-payment-gateway-example"
  },"1246": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Drupal 8 and Later Configuration",
    "content": "Drupal’s HTTP client factory supports Guzzle configuration through settings.php. Clients obtained through the factory, including the usual \\Drupal::httpClient() service, inherit those settings. Independent new GuzzleHttp\\Client() instances do not. Per-client and per-request options may override inherited settings. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#drupal-8-and-later-configuration",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#drupal-8-and-later-configuration"
  },"1247": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Step 1 Edit settings php",
    "content": "For Static, load qg-proxy.php from the application-relative location where you saved it, then configure the factory: . require_once __DIR__ . '/qg-proxy.php'; $proxy = qg_proxy('static'); if (!extension_loaded('curl')) { throw new RuntimeException('Required proxy transport unavailable.'); } $settings['http_client_config']['proxy'] = [ 'http' =&gt; $proxy['url'], 'https' =&gt; $proxy['url'], 'no' =&gt; ['localhost'], ]; $settings['http_client_config']['verify'] = true; $settings['http_client_config']['connect_timeout'] = 10; $settings['http_client_config']['timeout'] = 30; . The http and https keys refer to destination schemes; the URL’s scheme identifies the proxy transport. Review bypasses and any inherited NO_PROXY settings. Do not allow a protected destination to bypass the proxy. For Shield, inspect the client’s handler and use an HTTPS-proxy-capable cURL build. The dedicated Guzzle recipe below selects that handler explicitly without replacing Drupal’s shared handler stack or middleware. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#step-1-edit-settings-php",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#step-1-edit-settings-php"
  },"1248": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Step 2 Deploy to Pantheon",
    "content": "Commit only the code and secret references, then use the site’s established deployment workflow. Preserve existing settings and module-specific overrides. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#step-2-deploy-to-pantheon-1",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#step-2-deploy-to-pantheon-1"
  },"1249": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Environment Specific Configuration",
    "content": "Apply settings to each environment that needs the proxy. Use PANTHEON_ENVIRONMENT to select environments and Pantheon Secrets overrides for their connection details. Do not let a missing configuration silently switch a protected integration to direct egress. For a standard Drupal Git checkout whose docroot is the repository root, the deploy example is: . git add sites/default/settings.php sites/default/qg-proxy.php git diff --cached git commit -m \"Configure QuotaGuard client and secret references\" git push origin master . This assumes the helper is beside settings.php, matching the __DIR__ recipe above. For a web/ docroot, prefix those paths with web/; adjust them if you saved the helper elsewhere, and include any separate integration source files. Stage only code and references to Pantheon Secrets. Confirm the Pantheon remote, Git connection mode and correct branch; custom workflows or Multidev may differ from origin master. Review Dev, deploy to Test for evaluation, then deploy Test to Live using the Pantheon deployment pipeline. For Live-only Drupal proxy use, wrap the complete secret-based Step 1 Edit settings php recipe in the following conditional after Pantheon’s settings have loaded. Keep the assignments in settings.php scope so they modify $settings; do not wrap them in a function with separate local variables. if (defined('PANTHEON_ENVIRONMENT') &amp;&amp; PANTHEON_ENVIRONMENT === 'live') { // Insert the complete secret-based Drupal Static factory recipe here. } . This avoids spending proxy quota on development traffic that does not need the external service. Include Test or Dev as well whenever it needs the allowlisted connection; configure those environments and verify their actual client routes rather than relying on a Live-only setting. The same wrapping approach applies to the Drupal 7 $conf recipe in its maintained site’s settings scope. Pantheon Drupal environment configuration . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#environment-specific-configuration-1",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#environment-specific-configuration-1"
  },"1250": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Custom Module with Guzzle",
    "content": "A module using the shared Drupal client can use the factory settings above. Handle failures without logging credential-bearing exception text: . try { $response = \\Drupal::httpClient()-&gt;get('https://ip.quotaguard.com', [ 'allow_redirects' =&gt; false, 'timeout' =&gt; 30, ]); if ($response-&gt;getStatusCode() !== 200) { throw new \\RuntimeException(); } $data = json_decode((string) $response-&gt;getBody(), true); } catch (\\Throwable $e) { \\Drupal::logger('my_integration')-&gt;error('Protected request failed.'); // Return an application-appropriate failure; do not retry directly. } . For selected destinations or a separately controlled Shield connection, inject a dedicated client into the integration instead. Keep destination authentication distinct from proxy authentication. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#custom-module-with-guzzle",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#custom-module-with-guzzle"
  },"1251": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Drupal 7 Configuration",
    "content": "Drupal 7 uses a different configuration format. For an existing Drupal 7 integration using its core HTTP client, the Static configuration fields are: . require_once __DIR__ . '/qg-proxy.php'; $proxy = qg_proxy('static'); $conf['proxy_server'] = $proxy['host']; $conf['proxy_port'] = $proxy['port']; $conf['proxy_username'] = $proxy['user']; $conf['proxy_password'] = $proxy['pass']; $conf['proxy_exceptions'] = array('localhost'); . Do not include a URL scheme in proxy_server. This legacy setting is not a Shield recipe and does not configure native LDAP or database extensions. Confirm the actual module and PHP runtime used by the maintained site; the shared PHP helper on this page requires PHP 7.1 or later. Deploy code without secrets and apply the same environment and bypass review described above. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#drupal-7-configuration",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#drupal-7-configuration"
  },"1252": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Direct PHP cURL Configuration",
    "content": "For custom PHP code, configure cURL directly. This function uses the shared qg-proxy.php setup and supports Static and Shield by selecting the appropriate proxy type. Shield requires CURLPROXY_HTTPS, the HTTPS-proxy feature in libcurl, and the proxy certificate verification options shown below. Save this function with your application code after loading qg-proxy.php. It accepts only HTTPS URLs on the exact origin list supplied by your application, disables redirects, and does not retry directly. Keep that origin list in trusted configuration rather than accepting it from a request parameter. function qg_request(string $url, array $origins, string $product, ?array $json = null): array { $p = parse_url($url); $origin = is_array($p) &amp;&amp; isset($p['host']) ? 'https://' . strtolower($p['host']) . ':' . ($p['port'] ?? 443) : ''; if (!is_array($p) || ($p['scheme'] ?? '') !== 'https' || isset($p['user']) || isset($p['pass']) || isset($p['fragment']) || preg_match('/[\\x00-\\x20\\x7f]/', $url) || !in_array($origin, $origins, true)) { throw new RuntimeException('Destination not permitted.'); } $proxy = qg_proxy($product); if (!extension_loaded('curl')) { throw new RuntimeException('Required proxy transport unavailable.'); } $shield = $product === 'shield'; if ($shield &amp;&amp; (!defined('CURLPROXY_HTTPS') || !defined('CURL_VERSION_HTTPS_PROXY') || !defined('CURLOPT_PROXY_SSL_VERIFYPEER') || !defined('CURLOPT_PROXY_SSL_VERIFYHOST') || !(curl_version()['features'] &amp; CURL_VERSION_HTTPS_PROXY))) { throw new RuntimeException('Required proxy transport unavailable.'); } $options = [ CURLOPT_PROXY =&gt; $proxy['endpoint'], CURLOPT_PROXYTYPE =&gt; $shield ? CURLPROXY_HTTPS : CURLPROXY_HTTP, CURLOPT_PROXYUSERNAME =&gt; $proxy['user'], CURLOPT_PROXYPASSWORD =&gt; $proxy['pass'], CURLOPT_PROXYAUTH =&gt; CURLAUTH_BASIC, CURLOPT_NOPROXY =&gt; '', CURLOPT_SSL_VERIFYPEER =&gt; true, CURLOPT_SSL_VERIFYHOST =&gt; 2, CURLOPT_FOLLOWLOCATION =&gt; false, CURLOPT_CONNECTTIMEOUT =&gt; 10, CURLOPT_TIMEOUT =&gt; 30, CURLOPT_RETURNTRANSFER =&gt; true, ]; if ($shield) { $options[CURLOPT_PROXY_SSL_VERIFYPEER] = true; $options[CURLOPT_PROXY_SSL_VERIFYHOST] = 2; } if ($json !== null) { $body = json_encode($json); if ($body === false) { throw new RuntimeException('Invalid request data.'); } $options[CURLOPT_POST] = true; $options[CURLOPT_POSTFIELDS] = $body; $options[CURLOPT_HTTPHEADER] = [ 'Content-Type: application/json', 'Accept: application/json', ]; } $ch = curl_init($url); try { if (!curl_setopt_array($ch, $options)) { throw new RuntimeException(); } $body = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE); if ($body === false || $status &lt; 200 || $status &gt;= 300) { throw new RuntimeException(); } return ['status' =&gt; $status, 'body' =&gt; $body]; } catch (Throwable $e) { throw new RuntimeException('Protected request failed.'); } finally { curl_close($ch); } } $result = qg_request('https://ip.quotaguard.com', ['https://ip.quotaguard.com:443'], 'static'); // Or 'shield'. Proxy authentication belongs on the proxy connection, not in destination request headers. Keep both destination and, for Shield, proxy certificate verification enabled. An application using a private CA must configure trust for the correct TLS layer; do not fix a certificate error by disabling verification. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#direct-php-curl-configuration",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#direct-php-curl-configuration"
  },"1253": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "POST Request with JSON Body",
    "content": "The same function accepts a JSON body as its fourth argument. Use the destination’s documented authentication and expected success status in your integration; the example function accepts any 2xx response. A real POST may change external data, so use the service’s sandbox or another appropriately authorized endpoint when developing it. $result = qg_request( 'https://api.example.com/data', ['https://api.example.com:443'], 'shield', ['example_field' =&gt; 'example_value'] ); . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#post-request-with-json-body",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#post-request-with-json-body"
  },"1254": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Dedicated Guzzle Client for Static or Shield",
    "content": "This example requires your application’s Guzzle autoloader and the complete qg-proxy.php helper above. It deliberately selects the cURL handler. Load the autoloader through your application’s normal bootstrap rather than adding a second Composer installation. require_once __DIR__ . '/qg-proxy.php'; $proxy = qg_proxy('shield'); // Use 'static' with a Static secret. if (!extension_loaded('curl')) { throw new RuntimeException('Required proxy transport unavailable.'); } $curl = [CURLOPT_NOPROXY =&gt; '', CURLOPT_SSL_VERIFYPEER =&gt; true, CURLOPT_SSL_VERIFYHOST =&gt; 2]; if ($proxy['scheme'] === 'https') { if (!defined('CURL_VERSION_HTTPS_PROXY') || !defined('CURLOPT_PROXY_SSL_VERIFYPEER') || !defined('CURLOPT_PROXY_SSL_VERIFYHOST') || !(curl_version()['features'] &amp; CURL_VERSION_HTTPS_PROXY)) { throw new RuntimeException('Required proxy transport unavailable.'); } $curl[CURLOPT_PROXY_SSL_VERIFYPEER] = true; $curl[CURLOPT_PROXY_SSL_VERIFYHOST] = 2; } $client = new \\GuzzleHttp\\Client([ 'handler' =&gt; \\GuzzleHttp\\HandlerStack::create( new \\GuzzleHttp\\Handler\\CurlHandler() ), 'proxy' =&gt; ['http' =&gt; $proxy['url'], 'https' =&gt; $proxy['url'], 'no' =&gt; []], 'curl' =&gt; $curl, 'verify' =&gt; true, 'allow_redirects' =&gt; false, 'connect_timeout' =&gt; 10, 'timeout' =&gt; 30, ]); try { $response = $client-&gt;get('https://ip.quotaguard.com'); if ($response-&gt;getStatusCode() !== 200) { throw new \\RuntimeException(); } $data = json_decode((string) $response-&gt;getBody(), true); } catch (\\Throwable $e) { throw new \\RuntimeException('Protected request failed.'); } . For production requests, replace the fixed echo destination with an application-approved destination; do not expose an arbitrary URL parameter. Keep the explicit handler and review options that the calling code could override. Guzzle’s stream handler does not provide the same HTTPS-proxy support as its cURL handler. Guzzle proxy option . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#dedicated-guzzle-client-for-static-or-shield",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#dedicated-guzzle-client-for-static-or-shield"
  },"1255": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Database Connections",
    "content": "The HTTP client settings above do not configure native database drivers. A driver such as PDO_SQLSRV opens its own connection and has no documented HTTP proxy parameter. Pantheon’s newer runtimes include SQL Server extensions, so the presence of a driver and the availability of an appropriate proxy route are separate questions. Pantheon runtime extensions · Microsoft connection options . QGTunnel is a companion process used on other supported hosts to provide a local connection to a remote service. That companion-process setup is not available alongside a Pantheon application. If another client has explicit proxy or tunnel support, assess that client, destination protocol and platform configuration rather than assuming the CMS HTTP settings cover it. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#database-connections",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#database-connections"
  },"1256": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Databases that Expose an HTTP API",
    "content": "If a database or an application in front of it exposes an authenticated HTTP API, call that API through a compatible configured HTTP client. Examples include Supabase REST and an application-owned API layer for SQL Server. If your integration uses a PlanetScale HTTP driver or Neon HTTP/WebSocket driver, check its current runtime and proxy requirements: a JavaScript or WebSocket example is not automatically a PHP HTTP-client recipe. Check the specific API and PHP client rather than assuming that every vendor’s HTTP or WebSocket driver uses the same transport. An API layer is an architectural choice: its owner must implement and secure it, and the database’s allowlist applies to the API layer’s connection. The former MongoDB Atlas Data API is retired and should not be used for a new integration. For SQL Server, concrete ways to build that API layer include Microsoft Data API builder, a small REST service, or a serverless function. Your Pantheon site calls the authenticated HTTPS endpoint through QuotaGuard; the API layer connects to the database. This lets the database accept connections from the API layer rather than from every Pantheon application container. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#databases-that-expose-an-http-api",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#databases-that-expose-an-http-api"
  },"1257": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "When You Need a Native Database Driver",
    "content": "Review the driver’s documented proxy options and any platform restrictions. Where the application cannot use a suitable proxy directly, options include Pantheon Secure Integration, an owner-managed API or relay, or hosting the affected component on a platform that supports the required tunnel process. Agree on who will operate any extra component before choosing that design. Do not infer a working database query from a successful proxy tunnel alone. If you choose to host the affected component separately, start with the QuotaGuard guides for Heroku, Render, Fly.io, and Railway. Select a deployment that can run QGTunnel alongside that component; the tunnel runs there, not inside the Pantheon site. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#when-you-need-a-native-database-driver",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#when-you-need-a-native-database-driver"
  },"1258": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Common Use Cases",
    "content": " ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#common-use-cases",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#common-use-cases"
  },"1259": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Payment Gateway Integration",
    "content": "Payment APIs that require source-IP allowlisting can use a compatible configured HTTP client. Verify the actual WooCommerce or Drupal Commerce gateway module and version. Some use the CMS client; others use their own SDK. Incoming payment notifications are separate from outgoing API requests and need their own configuration. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#payment-gateway-integration",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#payment-gateway-integration"
  },"1260": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "LDAP and Active Directory Authentication",
    "content": "Pantheon supports LDAP consumers, but native LDAP connections do not inherit WordPress or Guzzle HTTP proxy settings. Determine whether the particular LDAP client supports the required proxy or tunnel configuration. Pantheon’s LDAP guidance describes its managed integration option for source-IP requirements. An HTTP-based identity API is another distinct application design, not a configuration switch for an LDAP extension. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#ldap-and-active-directory-authentication",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#ldap-and-active-directory-authentication"
  },"1261": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "External API Integrations",
    "content": "For CRMs, ERPs and partner APIs, keep normal API authentication and configure the client that actually makes the request. WordPress calls through wp_remote_get() can use its configured HTTP API; Drupal’s shared client can use the factory settings; independent clients use the cURL or Guzzle recipe above. Check destination TLS, redirects, timeout behavior and both assigned allowlist addresses. For example, this WordPress request sends a partner API’s Bearer token alongside the JSON headers. It uses the Static proxy configuration above through the WordPress HTTP API. Store the destination token separately as a Pantheon runtime secret with web scope named partner_api_token; it is not your QuotaGuard proxy password. Replace the example URL with your partner’s HTTPS endpoint. $api_key = pantheon_get_secret('partner_api_token'); if (!is_string($api_key) || $api_key === '' || preg_match('/[\\r\\n]/', $api_key)) { throw new RuntimeException('Partner API configuration unavailable.'); } $response = wp_remote_get('https://api.example.com/v1/data', array( 'headers' =&gt; array( 'Authorization' =&gt; 'Bearer ' . $api_key, 'Content-Type' =&gt; 'application/json', ), 'timeout' =&gt; 30, 'redirection' =&gt; 0, 'sslverify' =&gt; true, )); if (is_wp_error($response) || wp_remote_retrieve_response_code($response) !== 200) { throw new RuntimeException('Partner API request failed.'); } $body = wp_remote_retrieve_body($response); $data = json_decode($body, true); if (json_last_error() !== JSON_ERROR_NONE) { throw new RuntimeException('Unexpected partner API response.'); } . Use the API’s documented success status and response format. The API key authenticates to the destination; WordPress supplies the proxy credentials from the earlier configuration. Handle failures in your integration without displaying secrets or raw transport errors. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#external-api-integrations",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#external-api-integrations"
  },"1262": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "SOAP Services",
    "content": "PHP SoapClient has its own proxy options: proxy_host, proxy_port, proxy_login and proxy_password. Host and port fields are not credential fields. Those documented options describe an HTTP proxy and do not constitute a Shield HTTPS-proxy recipe. For Shield, assess an appropriate HTTPS-proxy-capable SOAP transport, including WSDL and import retrieval as well as service calls. Keep certificate validation enabled. PHP SoapClient options . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#soap-services",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#soap-services"
  },"1263": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Incoming Connections and Callbacks",
    "content": "An outbound proxy does not change the address at which a browser, partner or webhook sender reaches your Pantheon site. QuotaGuard inbound service is a separate reverse-proxy setup. Review the inbound hostname, TLS and platform requirements separately rather than reusing outbound constants for incoming traffic. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#incoming-connections-and-callbacks",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#incoming-connections-and-callbacks"
  },"1264": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Use a harmless egress check from the same client and application context that will make the protected request. https://ip.quotaguard.com returns a JSON object with an ip field. Check the HTTP status and parse that value; compare it with the subscription’s two dashboard addresses. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#testing-your-implementation"
  },"1265": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "WordPress Test",
    "content": "Run this from an appropriate private administrative or development context using the configured WordPress HTTP API. Do not add an unauthenticated public diagnostic endpoint. $response = wp_remote_get('https://ip.quotaguard.com', [ 'timeout' =&gt; 30, 'redirection' =&gt; 0, 'sslverify' =&gt; true, ]); if (is_wp_error($response) || wp_remote_retrieve_response_code($response) !== 200) { throw new RuntimeException('Egress check failed.'); } $data = json_decode(wp_remote_retrieve_body($response), true); if (!is_array($data) || !isset($data['ip']) || filter_var($data['ip'], FILTER_VALIDATE_IP) === false) { throw new RuntimeException('Unexpected egress response.'); } // Compare $data['ip'] with the assigned pair in your private test. For a concrete private web invocation, save the following temporary plugin as wp-content/plugins/qg-egress-check/qg-egress-check.php (relative to your WordPress docroot). It uses the same status and IP checks above. Activate it in the intended environment, sign in with manage_options, then open Tools &gt; QuotaGuard Egress Check, or the relative URL /wp-admin/tools.php?page=qg-egress-check. The request runs only when you submit the nonce-protected form; opening the page does not make the request. &lt;?php /* Plugin Name: Temporary QuotaGuard Egress Check */ defined('ABSPATH') || exit; function qg_wordpress_check_egress(): array { $response = wp_remote_get('https://ip.quotaguard.com', [ 'timeout' =&gt; 30, 'redirection' =&gt; 0, 'sslverify' =&gt; true, ]); if (is_wp_error($response) || wp_remote_retrieve_response_code($response) !== 200) { throw new RuntimeException('Egress check failed.'); } $data = json_decode(wp_remote_retrieve_body($response), true); if (!is_array($data) || !isset($data['ip']) || filter_var($data['ip'], FILTER_VALIDATE_IP) === false) { throw new RuntimeException('Unexpected egress response.'); } return $data; } add_action('admin_menu', function () { add_management_page('QuotaGuard Egress Check', 'QuotaGuard Egress Check', 'manage_options', 'qg-egress-check', function () { if (!current_user_can('manage_options')) { wp_die('Not permitted.'); } echo '&lt;div class=\"wrap\"&gt;&lt;h1&gt;QuotaGuard Egress Check&lt;/h1&gt;'; if (($_SERVER['REQUEST_METHOD'] ?? '') === 'POST') { check_admin_referer('qg_egress_check'); try { $data = qg_wordpress_check_egress(); echo '&lt;p&gt;Observed egress IP: ' . esc_html($data['ip']) . '&lt;/p&gt;'; } catch (Throwable $e) { echo '&lt;p&gt;Egress check failed. Review configuration privately.&lt;/p&gt;'; } } echo '&lt;form method=\"post\" action=\"' . esc_url(admin_url('tools.php?page=qg-egress-check')) . '\"&gt;'; wp_nonce_field('qg_egress_check'); submit_button('Run egress check'); echo '&lt;/form&gt;&lt;/div&gt;'; }); }); . Compare the displayed IP privately with both dashboard addresses. This checks the configured WordPress HTTP API, not an independent plugin SDK. Ensure the proxy configuration and runtime secret are available in the environment being checked. Use the authenticated web request rather than assuming WP-CLI can read the same web-scoped secret. Deactivate and delete the plugin after the check, removing its source from the deployed code through the normal workflow. WordPress Tools pages · Nonce and capability checks . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#wordpress-test",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#wordpress-test"
  },"1266": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Drupal Test",
    "content": "Use the custom module example above through \\Drupal::httpClient() and validate its decoded ip field in the same way. A test made through an independent client does not verify Drupal’s shared client, or vice versa. For a concrete Drupal 10/11 web invocation, a temporary custom module can expose a restricted administration form. It uses the already-configured shared client after Drupal’s normal web bootstrap; it does not load a separate proxy URL or assume Drush has access to the web-scoped Pantheon secret. This example adds three files under modules/custom/qg_egress_check/, relative to the Drupal docroot (often web/). qg_egress_check.info.yml: . name: Temporary QuotaGuard Egress Check type: module core_version_requirement: ^10 || ^11 package: Custom . qg_egress_check.routing.yml: . qg_egress_check.form: path: '/admin/config/development/qg-egress-check' defaults: _form: '\\Drupal\\qg_egress_check\\Form\\EgressCheckForm' _title: 'QuotaGuard Egress Check' requirements: _permission: 'administer site configuration' options: _admin_route: true no_cache: true . src/Form/EgressCheckForm.php: . &lt;?php namespace Drupal\\qg_egress_check\\Form; use Drupal\\Core\\Form\\FormBase; use Drupal\\Core\\Form\\FormStateInterface; use Symfony\\Component\\HttpKernel\\Exception\\AccessDeniedHttpException; final class EgressCheckForm extends FormBase { public function getFormId() { return 'qg_egress_check'; } public function buildForm(array $form, FormStateInterface $form_state) { $form['actions']['#type'] = 'actions'; $form['actions']['submit'] = [ '#type' =&gt; 'submit', '#value' =&gt; $this-&gt;t('Run egress check'), ]; $form['#cache']['max-age'] = 0; return $form; } public function checkEgress(): array { try { $response = \\Drupal::httpClient()-&gt;get('https://ip.quotaguard.com', [ 'allow_redirects' =&gt; false, 'timeout' =&gt; 30, ]); if ($response-&gt;getStatusCode() !== 200) { throw new \\RuntimeException(); } $data = json_decode((string) $response-&gt;getBody(), true); if (!is_array($data) || !isset($data['ip']) || filter_var($data['ip'], FILTER_VALIDATE_IP) === false) { throw new \\RuntimeException(); } return $data; } catch (\\Throwable $e) { throw new \\RuntimeException('Egress check failed.'); } } public function submitForm(array &amp;$form, FormStateInterface $form_state) { if (!$this-&gt;currentUser()-&gt;hasPermission('administer site configuration')) { throw new AccessDeniedHttpException(); } try { $data = $this-&gt;checkEgress(); $this-&gt;messenger()-&gt;addStatus($this-&gt;t('Observed egress IP: @ip', [ '@ip' =&gt; $data['ip'], ])); } catch (\\Throwable $e) { $this-&gt;messenger()-&gt;addError($this-&gt;t('Egress check failed. Review configuration privately.')); } } } . Deploy the source files, enable the temporary module through Extend (/admin/modules), then sign in with administer site configuration and visit /admin/config/development/qg-egress-check on that environment. Submit Run egress check; Drupal’s Form API handles form tokens, while the route and submit handler enforce the permission. The named checkEgress() method returns decoded, IP-validated data to the submit handler, which displays only the escaped IP or a generic failure. Compare that IP privately with the subscription’s assigned pair. The form makes no egress request on an ordinary page view. This scaffold is for Drupal 10/11; maintained older Drupal applications need their developer to adapt the module to that version’s APIs. Keep the shared-client settings and secrets available in the chosen environment. Uninstall the temporary module, remove its source and rebuild routes after the check. Do not replace this restricted form with a public diagnostic controller. Drupal Form API · Routes and permissions · Pantheon Secrets in PHP . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#drupal-test",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#drupal-test"
  },"1267": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Expected Response",
    "content": "The response contains an IP address matching one of the two addresses assigned to your subscription. Keep both allowlisted. Repeated requests need not alternate between them, and a single successful response does not establish failover, native database behavior or an entire gateway workflow. Remove temporary diagnostic code when finished; never log connection URLs or credentials. For example, this is an illustrative echo response using a reserved documentation address, not an address to allowlist: . {\"ip\":\"192.0.2.10\"} . Your actual response must be compared with the IP pair in your own subscription dashboard. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#expected-response",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#expected-response"
  },"1268": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Latency Considerations",
    "content": "A proxy adds a network hop. Its effect depends on the Pantheon site, proxy region, destination, connection reuse and the external service’s response time. Choose the region using the actual route and requirements rather than assuming a fixed Pantheon data center or a guaranteed number of milliseconds. Set suitable connection and total timeouts, reuse clients where appropriate, and keep unrelated internal traffic on its intended route. If latency changes, compare a controlled request through the same client and investigate the destination as well as the proxy. Avoid sending unnecessary production requests merely to benchmark a route. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#latency-considerations",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#latency-considerations"
  },"1269": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#troubleshooting",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#troubleshooting"
  },"1270": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Check the assigned proxy host, product, username and password together. Confirm the secret is available in the intended environment and allow for Pantheon’s secret cache after changes. Do not paste credentials into support messages or logs. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#407-proxy-authentication-required"
  },"1271": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Connection Timeout",
    "content": "Confirm the assigned host and port, client proxy support and destination availability. Static commonly uses 9293 and Shield 9294, but use the connection details assigned to your subscription. Review timeout settings and relevant service status before increasing timeouts indiscriminately. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#connection-timeout",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#connection-timeout"
  },"1272": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "TLS or Certificate Errors",
    "content": "For Shield, there are two TLS connections to assess: application to proxy, and application to HTTPS destination. Check the failing certificate chain, hostname, trust store and runtime support. Do not turn off peer or hostname verification. Provide a sanitized error category and runtime details when requesting support. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#tls-or-certificate-errors",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#tls-or-certificate-errors"
  },"1273": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Wrong IP Address Returned",
    "content": "Confirm that the request uses the intended client and environment, that proxy settings are loaded before the client is built, and that no filter, per-request option or bypass rule changes the route. Check NO_PROXY and client-specific exemptions. Do not assume a browser request tests the PHP server’s outbound configuration. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#wrong-ip-address-returned",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#wrong-ip-address-returned"
  },"1274": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Proxy Not Applied to a Specific Plugin or Module",
    "content": "Identify its actual client. WordPress HTTP settings do not configure every SDK; Drupal factory settings do not configure an independent Guzzle instance. Native extensions require their own transport assessment. Avoid raw exception logging because an error can contain the proxy URL. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#proxy-not-applied-to-a-specific-plugin-or-module",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#proxy-not-applied-to-a-specific-plugin-or-module"
  },"1275": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Drupal 7 LDAP Issues",
    "content": "Do not assume a generic HTTP proxy patch configures native LDAP traffic. Review the installed LDAP module’s connection path and supported options, then use an appropriate native integration or explicitly supported transport. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#drupal-7-ldap-issues",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#drupal-7-ldap-issues"
  },"1276": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Pantheon Environment Detection",
    "content": "Pantheon provides PANTHEON_ENVIRONMENT for environment-aware configuration. For example, a site can apply its proxy configuration in Test and Live: . if (defined('PANTHEON_ENVIRONMENT') &amp;&amp; in_array(PANTHEON_ENVIRONMENT, ['test', 'live'], true)) { // Load the required proxy configuration for these environments. } . Choose environments based on which services they access. Keep configuration code separate from secret values and preserve existing platform bootstrap behavior. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#pantheon-environment-detection",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#pantheon-environment-detection"
  },"1277": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | Static | Shield | . | Proxy transport in these HTTP client recipes | HTTP proxy | HTTPS proxy | . | HTTPS destination payload | Protected by destination TLS through CONNECT | Protected by destination TLS through CONNECT | . | Application to proxy hop | CONNECT metadata and proxy authentication are not TLS encrypted | Adds TLS protection to this hop | . | Client requirement | Compatible HTTP proxy client | Compatible HTTPS proxy client and TLS build | . | Plan and price | See current pricing | See current pricing | . Choose the product that fits the required transport and approved architecture. Neither product alone establishes HIPAA, PCI or other compliance. A plaintext HTTP destination does not gain destination TLS simply because a proxy is used. These recipes use HTTPS destinations and preserve certificate verification. Current plans . For direct-service subscriptions billed monthly, Static starts at $19/month and Shield at $29/month. Check the current pricing page for plan limits, available billing options and current prices. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1278": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Setup Responsibilities",
    "content": ". | Application developer or site owner: identifies the actual client, configures proxy use and secrets, reviews bypasses and error handling, and deploys the application code. | Destination owner: supplies the service requirements, maintains the allowlist for both assigned addresses, and manages destination authentication and access. | QuotaGuard: supplies the assigned proxy connection details and supports that proxy service, including requested dedicated provisioning. | Pantheon: answers platform and runtime questions and handles its native Secure Integration service where applicable. If Pantheon manages your application integration, coordinate the code changes with that team; agency-managed sites should work with their own application developer. | . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#setup-responsibilities",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#setup-responsibilities"
  },"1279": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "Ready to Get Started",
    "content": "Get in touch or create a free trial account. Direct-service trial information explains the applicable trial; Heroku add-ons have different billing and do not offer that same direct-service free trial. Try QuotaGuard · View Pantheon Integration Features · Contact Support . ",
    "url": "/docs/platforms/pantheon/pantheon-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/#ready-to-get-started"
  },"1280": {
    "doc": "QuotaGuard and Pantheon Integration Guide",
    "title": "QuotaGuard and Pantheon Integration Guide",
    "content": "QuotaGuard lets your Pantheon WordPress and Drupal applications send configured outbound requests through a load-balanced pair of static IP addresses. Use those addresses when an external API, payment gateway or partner service requires IP allowlisting. You do not need QuotaGuard for internal Pantheon operations. Connections to Pantheon’s infrastructure, CDN and internal services normally work without this proxy configuration. This guide covers application-controlled outbound connections; incoming webhooks and access to your Pantheon site are separate connections. ",
    "url": "/docs/platforms/pantheon/pantheon-integration/",
    "relUrl": "/docs/platforms/pantheon/pantheon-integration/"
  },"1281": {
    "doc": "How to Pay a QuotaGuard Invoice",
    "title": "Pay your invoice",
    "content": ". | Log into your QuotaGuard account. | Open Account Management. | Find Invoices, then Payable Invoices. Check the billing period and amount to identify the invoice you want to pay. | Click the green View &amp; Pay Invoice button next to that invoice. Download downloads the invoice; it does not pay it. | The invoice opens on Stripe’s secure payment page in a new tab. Follow the payment instructions using the card on file or enter a card. You do not need a Stripe merchant account. If your account was suspended for this unpaid invoice, a successful payment normally resumes service automatically. | If your bank asks you to approve the payment, complete its authentication prompt before closing the page. For help with this step, follow How to Complete 3D Secure Authentication. | Wait for Stripe to confirm that the payment succeeded, then return to Account Management and refresh the page to check that the invoice is marked as paid. | . ",
    "url": "/docs/account/billing/pay-invoice/#pay-your-invoice",
    "relUrl": "/docs/account/billing/pay-invoice/#pay-your-invoice"
  },"1282": {
    "doc": "How to Pay a QuotaGuard Invoice",
    "title": "After you pay",
    "content": "If your service was suspended because of that unpaid invoice, a successful payment normally resumes it automatically. If the invoice is paid but your service has not resumed, contact QuotaGuard Support so we can check it. Paying the current invoice does not necessarily complete your bank’s approval for future automatic renewals. If Account Management says “Your bank still needs to approve this card for automatic renewals,” follow the instructions for approving your card. ",
    "url": "/docs/account/billing/pay-invoice/#after-you-pay",
    "relUrl": "/docs/account/billing/pay-invoice/#after-you-pay"
  },"1283": {
    "doc": "How to Pay a QuotaGuard Invoice",
    "title": "If you cannot complete the payment",
    "content": ". | Your bank asks for a code or other approval: Complete the bank’s prompt. See How to Complete 3D Secure Authentication if the prompt fails or was not completed. | The payment is still processing: Wait for the payment result. If the status is unclear, contact us before making another attempt. | The invoice is already paid: Do not try to pay it again. Contact us if your account still shows a payment problem. | You cannot find the invoice or the View &amp; Pay Invoice button: Contact us with your QuotaGuard account email and the invoice number, if available. | . These steps apply to invoices billed directly by QuotaGuard through Stripe. If your subscription is billed through Heroku or another platform, use that platform’s billing process. For PayPal, ACH, or another billing arrangement, contact us for help paying the invoice. When contacting support@quotaguard.com, include your account email, invoice number if available, and the error message you see. Never send your full card number, security code, password, or one-time authentication code. ",
    "url": "/docs/account/billing/pay-invoice/#if-you-cannot-complete-the-payment",
    "relUrl": "/docs/account/billing/pay-invoice/#if-you-cannot-complete-the-payment"
  },"1284": {
    "doc": "How to Pay a QuotaGuard Invoice",
    "title": "Related billing guides",
    "content": ". | How to Complete 3D Secure Authentication | How to Change Payment Method, Billing Info or Credit Card | How Do I Access and Download QuotaGuard Invoices? | . ",
    "url": "/docs/account/billing/pay-invoice/#related-billing-guides",
    "relUrl": "/docs/account/billing/pay-invoice/#related-billing-guides"
  },"1285": {
    "doc": "How to Pay a QuotaGuard Invoice",
    "title": "How to Pay a QuotaGuard Invoice",
    "content": "Account suspended after a failed payment? Paying the open invoice below restores service automatically once payment succeeds. If your service does not resume, contact support@quotaguard.com. To pay an unpaid QuotaGuard invoice, open Account Management, find the invoice under Payable Invoices, and click View &amp; Pay Invoice. If you have already updated your card after a failed payment, you can use these steps to pay the open invoice yourself rather than wait for an automatic retry. Updating your saved card and paying an existing invoice are separate actions. ",
    "url": "/docs/account/billing/pay-invoice/",
    "relUrl": "/docs/account/billing/pay-invoice/"
  },"1286": {
    "doc": "PHP Geocoding Quick Start Guide - QuotaGuard",
    "title": "Installation",
    "content": "When you sign up with QuotaGuard on Heroku, you will be provided with a unique username and password that you can use when configuring your proxy service in your application: . http://username:password@proxy.quotaguard.com:9292 . We recommend you store the connection string in an environment variable QUOTAGUARD_URL to maintain compatibility with platforms like Heroku. You can test your proxy setup using curl: . $ curl -x username:password@proxy.quotaguard.com:9292 http://www.google.com/ . ",
    "url": "/docs/outbound-proxy/dynamic-ip-geocoding/php-guide/#installation",
    "relUrl": "/docs/outbound-proxy/dynamic-ip-geocoding/php-guide/#installation"
  },"1287": {
    "doc": "PHP Geocoding Quick Start Guide - QuotaGuard",
    "title": "Integration",
    "content": "PHP cURL is the easiest way to make HTTP requests via a proxy. The below shows an example of making a geocoding request: . Copy &lt;?php function lookup($string){ $quotaguard_env = getenv(\"QUOTAGUARD_URL\"); $quotaguard = parse_url($quotaguard_env); $proxyUrl = $quotaguard['host'].\":\".$quotaguard['port']; $proxyAuth = $quotaguard['user'].\":\".$quotaguard['pass']; $string = str_replace (\" \", \"+\", urlencode($string)); $details_url = \"http://maps.googleapis.com/maps/api/geocode/json?address=\".$string.\"&amp;sensor=false\"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $details_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROXY, $proxyUrl); curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth); $response = json_decode(curl_exec($ch), true); // If Status Code is ZERO_RESULTS, OVER_QUERY_LIMIT, REQUEST_DENIED or INVALID_REQUEST if ($response['status'] != 'OK') { return null; } print_r($response); $geometry = $response['results'][0]['geometry']; $longitude = $geometry['location']['lng']; $latitude = $geometry['location']['lat']; $array = array( 'latitude' =&gt; $latitude, 'longitude' =&gt; $longitude, 'location_type' =&gt; $geometry['location_type'], ); return $array; } $city = 'San Francisco, USA'; $array = lookup($city); print_r($array); ?&gt; . ",
    "url": "/docs/outbound-proxy/dynamic-ip-geocoding/php-guide/#integration",
    "relUrl": "/docs/outbound-proxy/dynamic-ip-geocoding/php-guide/#integration"
  },"1288": {
    "doc": "PHP Geocoding Quick Start Guide - QuotaGuard",
    "title": "PHP Geocoding Quick Start Guide - QuotaGuard",
    "content": " ",
    "url": "/docs/outbound-proxy/dynamic-ip-geocoding/php-guide/",
    "relUrl": "/docs/outbound-proxy/dynamic-ip-geocoding/php-guide/"
  },"1289": {
    "doc": "Access Postgres/Redshift Db via Static IP fr Node.js",
    "title": "Access Postgres/Redshift Db via Static IP fr Node.js",
    "content": "You can route all database traffic via a Static IP in Node.js using QuotaGuard. Currently there is a limitation in that you can’t use the built in connection pooling so this is not recommended for high traffic applications. This example provided by Ladislav Prskavec. Copy var pg = require('pg'), url = require('url'), SocksConnection = require('socksjs'); var db = url.parse(process.env.REDSHIFT_CONN_STRING), dbAuth = db.auth, dbUsername = dbAuth.split(':')[0], dbPassword = dbAuth.split(':')[1], dbName = db.pathname.replace('/', ''); var proxy = url.parse(process.env.QUOTAGUARDSTATIC_URL), auth = proxy.auth, username = auth.split(':')[0], pass = auth.split(':')[1]; var sock_options = { host: proxy.hostname, port: 1080, user: username, pass: pass }; var remote_options = { host: db.hostname, port: db.port }; var sockConn = new SocksConnection(remote_options, sock_options); var config = { user: dbUsername, database: dbName, password: dbPassword, stream: sockConn }; var client = new pg.Client(config); // connect to our database client.connect(function (err) { if (err) throw err; // execute a query on our database client.query('SELECT $1::text as name', ['john doe'], function (err, result) { if (err) throw err; // just print the result to the console console.log(result.rows[0]); // outputs: { name: 'apiary' } // disconnect the client client.end(function (err) { if (err) throw err; }); }); }); . We have examples for other common scenarios as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/node-js/postgres-connection/",
    "relUrl": "/docs/outbound-proxy/node-js/postgres-connection/"
  },"1290": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Give Power Apps a fixed outbound IP for external API calls",
    "content": "QuotaGuard gives your Power Apps custom connectors two fixed outbound IP addresses so any API that allowlists by IP will accept the call. Power Apps reaches external APIs through a custom connector, and a custom connector has no field for an HTTP proxy. So you host a small relay function that egresses through QuotaGuard, point the custom connector at the relay URL, and every request leaves from one of your two static IPs. Both IPs belong to your QuotaGuard subscription. Allowlist both on the destination. ",
    "url": "/docs/platforms/power-apps-integration/#give-power-apps-a-fixed-outbound-ip-for-external-api-calls",
    "relUrl": "/docs/platforms/power-apps-integration/#give-power-apps-a-fixed-outbound-ip-for-external-api-calls"
  },"1291": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Why Power Apps needs a static IP",
    "content": "Power Apps and Power Automate run on shared Microsoft cloud infrastructure. Outbound calls from a custom connector leave from Microsoft IP ranges that are large, shared across tenants, and not fixed to your app. There is no setting that pins a custom connector to a single egress IP. When a destination API enforces an IP allowlist, you cannot hand it a Microsoft range, and requests from an unknown IP get rejected. A static IP fixes this. Route the outbound call through QuotaGuard and the destination sees one of your two assigned static IPs every time. Common destinations that require IP allowlisting: . | Payment and billing gateways (Stripe restricted endpoints, PayPal, Authorize.Net) | Partner and supplier REST APIs with an IP firewall | Financial data and banking APIs | MongoDB Atlas, Amazon RDS, and other managed databases behind a network allowlist | Legacy or on-prem systems reachable only from a known source IP | Internal enterprise APIs fronted by a WAF or IP filter | . ",
    "url": "/docs/platforms/power-apps-integration/#why-power-apps-needs-a-static-ip",
    "relUrl": "/docs/platforms/power-apps-integration/#why-power-apps-needs-a-static-ip"
  },"1292": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "How the relay pattern works",
    "content": "Power Apps cannot set an HTTP proxy on a connector and cannot run a sidecar next to your app. So the outbound call takes one hop through a relay you own. | You deploy a small relay function (AWS Lambda or a Google Cloud Function). The relay holds your QUOTAGUARDSTATIC_URL connection and egresses through QuotaGuard. | Your Power Apps custom connector calls the relay function URL instead of calling the destination API directly. | The connector sends two headers. X-Relay-Key is a shared secret that authorizes the relay. X-Target-URL is the real API endpoint you want to reach. | The relay forwards the request to X-Target-URL through the QuotaGuard proxy. The destination API sees one of your two static IPs. | . This relay pattern is reusable across any platform that cannot set an HTTP proxy. The full walkthrough and a ready-to-run function live here, so this page links them instead of repeating all the code: . | Shared relay pattern guide: https://www.quotaguard.com/docs/platforms/static-ip-no-http-proxy/ | Ready-to-run example (Python, AWS Lambda): https://github.com/quotaguard/static-examples/tree/main/python/lambda-relay | . Deploy the relay from the repo first. It reads QUOTAGUARDSTATIC_URL from the environment and expects the X-Relay-Key and X-Target-URL headers. Set X-Relay-Key to a strong secret you generate. You reference that same secret from Power Apps below. ",
    "url": "/docs/platforms/power-apps-integration/#how-the-relay-pattern-works",
    "relUrl": "/docs/platforms/power-apps-integration/#how-the-relay-pattern-works"
  },"1293": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to the region hosting your relay function to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/platforms/power-apps-integration/#getting-started",
    "relUrl": "/docs/platforms/power-apps-integration/#getting-started"
  },"1294": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Step 1: build the custom connector that calls the relay",
    "content": "You point a Power Apps custom connector at the relay function URL, not at the destination API. You can create the connector from scratch in the portal. Both Power Apps and Power Automate share custom connectors, so a connector built in one is available in the other. In make.powerapps.com, go to More &gt; Discover all &gt; Custom connectors &gt; New custom connector &gt; Create from blank. General tab . | Host: the host of your relay function URL. For an AWS Lambda Function URL this looks like abcd1234.lambda-url.us-east-1.on.aws. For a Google Cloud Function it looks like us-central1-yourproject.cloudfunctions.net. | Base URL: / (or the function path, for example /relay). | Scheme: HTTPS. | . Security tab . Set authentication to API Key so the relay secret is stored on the connection rather than typed into every request. | Parameter label: Relay Key | Parameter name: X-Relay-Key | Parameter location: Header | . When a user creates a connection for this connector, Power Apps prompts for the API key. Paste the X-Relay-Key secret you set on the relay. The connector then sends it as the X-Relay-Key header on every call, and it is never exposed in the app. Definition tab . Create a new action (for example CallTargetApi). Under Request, choose Import from sample and provide the shape of the call to the relay. | Verb: POST | URL: your relay function URL | Headers: . X-Target-URL: https://api.example.com/v1/resource Content-Type: application/json . | Body: a sample JSON body if the target API expects one. | . After importing, open the X-Target-URL header parameter and set it so app makers can supply the real endpoint at call time. Make it required if each call targets a different endpoint, or set a default value if the connector always hits one API. Leave X-Relay-Key out of the Definition headers. It is already handled by the API key security you configured. Select Create connector to save. ",
    "url": "/docs/platforms/power-apps-integration/#step-1-build-the-custom-connector-that-calls-the-relay",
    "relUrl": "/docs/platforms/power-apps-integration/#step-1-build-the-custom-connector-that-calls-the-relay"
  },"1295": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Step 2: call the connector from your app or flow",
    "content": " ",
    "url": "/docs/platforms/power-apps-integration/#step-2-call-the-connector-from-your-app-or-flow",
    "relUrl": "/docs/platforms/power-apps-integration/#step-2-call-the-connector-from-your-app-or-flow"
  },"1296": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "From a canvas app (Power Fx)",
    "content": "Add the custom connector as a data source (Data &gt; Add data &gt; your connector), then call the action. Power Fx passes the target URL and body: . // Call the relay, which forwards to the target API through QuotaGuard Set( apiResponse, YourConnector.CallTargetApi( { 'X-Target-URL': \"https://api.example.com/v1/orders\" }, { orderId: 12345, status: \"shipped\" } ) ); . The exact parameter shape depends on how you named the header and body parameters in the Definition tab. Use the IntelliSense suggestions Power Fx shows for your connector. ",
    "url": "/docs/platforms/power-apps-integration/#from-a-canvas-app-power-fx",
    "relUrl": "/docs/platforms/power-apps-integration/#from-a-canvas-app-power-fx"
  },"1297": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "From a Power Automate flow",
    "content": "Add your custom connector action to the flow and fill the parameters: . | X-Target-URL: https://api.example.com/v1/orders | Body: the JSON payload for the target API | . The connection you selected already carries the X-Relay-Key header, so you do not set it in the flow step. ",
    "url": "/docs/platforms/power-apps-integration/#from-a-power-automate-flow",
    "relUrl": "/docs/platforms/power-apps-integration/#from-a-power-automate-flow"
  },"1298": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Alternative: the HTTP action in Power Automate",
    "content": "If you use Power Automate (premium) rather than a custom connector, the built-in HTTP action can call the relay directly. It also has no proxy field, so it calls the relay URL the same way: . | Method: POST | URI: your relay function URL | Headers: . X-Relay-Key: &lt;your relay secret&gt; X-Target-URL: https://api.example.com/v1/orders Content-Type: application/json . | Body: the JSON payload for the target API | . Store the relay secret in Azure Key Vault or a secure input rather than pasting it as plain text in the flow. ",
    "url": "/docs/platforms/power-apps-integration/#alternative-the-http-action-in-power-automate",
    "relUrl": "/docs/platforms/power-apps-integration/#alternative-the-http-action-in-power-automate"
  },"1299": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Step 3: test that calls exit from your static IP",
    "content": "QuotaGuard runs an IP check endpoint that echoes the source IP it sees. Point the relay at it and confirm the returned IP matches your dashboard. Set X-Target-URL to the IP check endpoint and call your connector action (or the HTTP action): . | X-Target-URL: https://ip.quotaguard.com | . The relay forwards to ip.quotaguard.com through QuotaGuard and returns: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs shown in your QuotaGuard dashboard. Call it a few times. Because the two IPs are load balanced, repeated calls show both addresses over time. Allowlist both on every destination API. You can also test the relay directly, outside Power Apps, before wiring the connector: . curl -X POST \"https://&lt;your-relay-function-url&gt;\" \\ -H \"X-Relay-Key: &lt;your relay secret&gt;\" \\ -H \"X-Target-URL: https://ip.quotaguard.com\" . A matching IP here confirms the relay and QuotaGuard are working, so any later failure is in the Power Apps connector config. ",
    "url": "/docs/platforms/power-apps-integration/#step-3-test-that-calls-exit-from-your-static-ip",
    "relUrl": "/docs/platforms/power-apps-integration/#step-3-test-that-calls-exit-from-your-static-ip"
  },"1300": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Troubleshooting",
    "content": "401 or 403 from your relay (“relay key mismatch” or similar) The X-Relay-Key sent by the connector does not match the secret on the relay. Recheck the connection’s API key value in Power Apps and confirm it equals the secret set on the relay function. Recreate the connection after changing the key. Wrong IP returned by ip.quotaguard.com The relay is not egressing through QuotaGuard. Confirm QUOTAGUARDSTATIC_URL is set in the relay function environment and that the relay code routes the outbound request through it. If the value is missing, the function calls out from its own cloud IP, not your static pair. Destination API still returns 403 from a non-allowlisted IP The target sees the correct QuotaGuard IP but has not been told to trust it. Allowlist both IP addresses from your QuotaGuard dashboard on the destination, not just one. Load balancing means either IP can be the source on any given call. Power Apps error: “The response is not in a JSON format” The custom connector expects a JSON response but the relay or target returned something else (an HTML error page, an empty body, or a redirect). Test the relay with curl first, then confirm the target endpoint and method are correct in X-Target-URL. Connector call times out The target API is slow, or the relay is in a distant region. Power Platform connector requests have platform timeout limits. Deploy the relay in a region close to both the target API and your chosen QuotaGuard region, and keep the QuotaGuard region matched to the relay. “Invalid connection” or the connection prompt reappears The API key connection was not saved, or the connector was republished after the connection was made. Recreate the connection, then re-add the data source in the app. Power Apps caches connector definitions and needs a refresh after a connector change. ",
    "url": "/docs/platforms/power-apps-integration/#troubleshooting",
    "relUrl": "/docs/platforms/power-apps-integration/#troubleshooting"
  },"1301": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "Static is right for standard HTTPS API calls. The payload is tunneled end to end and is never decrypted at the proxy. Shield adds TLS on the hop between your relay and the proxy itself, which is what regulated workloads (HIPAA, PCI-DSS, SOC 2) require. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static (from $19/month, direct) is right for most Power Apps relays. Choose Shield (from $29/month, direct) if the workload handles regulated data or the environment requires TLS between the relay and the proxy itself. ",
    "url": "/docs/platforms/power-apps-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/power-apps-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1302": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Static IP for platforms with no HTTP proxy . Contact Support . ",
    "url": "/docs/platforms/power-apps-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/power-apps-integration/#ready-to-get-started"
  },"1303": {
    "doc": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "title": "QuotaGuard and Microsoft Power Apps Integration Guide",
    "content": " ",
    "url": "/docs/platforms/power-apps-integration/",
    "relUrl": "/docs/platforms/power-apps-integration/"
  },"1304": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Get two static outbound IPs for your Power Automate flows",
    "content": "Power Automate cloud flows call external APIs from Microsoft shared service-tag IP ranges rather than a dedicated static outbound IP. Those shared ranges can be allowlisted if the destination accepts them. To send those calls from two fixed IP addresses, host a small relay function that egresses through QuotaGuard, then call that relay from the HTTP action with two headers. Your target API sees the two static IP addresses assigned to your QuotaGuard subscription, and you allowlist both. This page documents the relay path end to end. The reusable relay pattern is documented once at Static IP with no HTTP proxy and in the lambda-relay example repo. This guide links those and shows the Power Automate-specific call. ",
    "url": "/docs/automation/power-automate-integration/#get-two-static-outbound-ips-for-your-power-automate-flows",
    "relUrl": "/docs/automation/power-automate-integration/#get-two-static-outbound-ips-for-your-power-automate-flows"
  },"1305": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Why Power Automate needs a static IP",
    "content": "A Power Automate cloud flow does not run from an IP you control. For connector calls, Microsoft’s connector egress guidance uses AzureConnectors for the flow’s Geo and recommends adding the regional PowerPlatformPlex tag. For built-in HTTP and HTTP + Swagger calls to IP-restricted services, Microsoft’s Power Automate guidance requires allowing LogicApps, PowerPlatformPlex, and PowerPlatformInfra. Those ranges are large, shared across every tenant in the region, and change over time. Microsoft tells you to allow the service tags, not a small fixed set of IPs. Many partner and vendor APIs will not accept a broad Microsoft range on their allowlist, and some do not support service tags at all. If a destination requires a small, stable set of source IPs, you need a fixed egress identity that Power Automate itself cannot provide. Common destinations that require allowlisting an exact IP: . | Payment gateways and financial APIs | Partner and supplier B2B APIs | Legacy or on-premise systems behind a firewall | MongoDB Atlas, Supabase, Neon, and other managed databases with IP access lists | Salesforce, NetSuite, and other SaaS platforms with trusted-IP login ranges | Any vendor whose security review asks for “the IP addresses your integration will call from” | . QuotaGuard gives you two load-balanced static IP addresses assigned to your subscription. You allowlist those two on the destination, and every relayed request arrives from one of them. ",
    "url": "/docs/automation/power-automate-integration/#why-power-automate-needs-a-static-ip",
    "relUrl": "/docs/automation/power-automate-integration/#why-power-automate-needs-a-static-ip"
  },"1306": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Why the relay pattern, not a proxy setting",
    "content": "Power Automate cloud flows have no place to set an HTTP proxy. There is no HTTP_PROXY variable, no proxy field on the HTTP action, and no arbitrary code step where you could attach one. The proxy settings documented for Power Automate are for Power Automate for desktop, a separate product that runs on a machine you manage. They do not apply to cloud flows. Because the flow cannot route its own traffic, the fix is to give it a destination that already egresses through QuotaGuard. You host a small relay function on a platform that does support a proxy, AWS Lambda or a Google Cloud Function, and that function forwards your request through the QUOTAGUARDSTATIC_URL connection. The flow calls the relay. The relay calls the real API from your two static IPs. Power Automate HTTP action | v Relay function (AWS Lambda or Google Cloud Function) | egresses via QUOTAGUARDSTATIC_URL v QuotaGuard --&gt; two static IPs --&gt; Target API . ",
    "url": "/docs/automation/power-automate-integration/#why-the-relay-pattern-not-a-proxy-setting",
    "relUrl": "/docs/automation/power-automate-integration/#why-the-relay-pattern-not-a-proxy-setting"
  },"1307": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Set up the relay function",
    "content": "Before deploying: The HTTP or HTTP + Swagger action used below is premium in Power Automate. Confirm your plan includes the action before setting up the relay. The relay is a short function that reads two request headers, forwards the request through QuotaGuard, and returns the response. Do not re-derive it here. Use the ready-to-run version and deploy it once. | Deploy the published example: quotaguard/static-examples/python/lambda-relay. It ships as an AWS Lambda with a Function URL. A Google Cloud Function port follows the same shape. | Set the function’s QUOTAGUARDSTATIC_URL environment variable to the value from your QuotaGuard dashboard. It looks like http://username:password@us-east-static-01.quotaguard.com:9293. Use the exact host for your region from the dashboard. | Set a shared secret on the function, for example an environment variable RELAY_KEY. The function rejects any request whose X-Relay-Key header does not match. This stops the public Function URL from being used as an open forwarder. | Note the relay’s invoke URL. You call this from Power Automate. | . The full explanation of how the relay reads X-Relay-Key and X-Target-URL, forwards through the proxy, and returns the response lives on the shared relay pattern page. Read it once, then reuse the deployed relay for every flow. The published Static relay forwards the Content-Type and Authorization request headers and returns UTF-8 text. Adapt it for additional headers or binary responses. Region note: choose the QuotaGuard region closest to where you host the relay function to minimize added latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/automation/power-automate-integration/#set-up-the-relay-function",
    "relUrl": "/docs/automation/power-automate-integration/#set-up-the-relay-function"
  },"1308": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Call the relay from a Power Automate cloud flow",
    "content": "Use the premium HTTP action (or HTTP + Swagger). It lets you set the method, the URL, and custom headers, which is all the relay needs. | In your flow, add a new step and choose the HTTP action. | Set the fields: | . | Field | Value | . | Method | POST | . | URI | Your relay function invoke URL, for example https://abc123.lambda-url.us-east-1.on.aws/ | . | Headers | X-Relay-Key: your shared secret. X-Target-URL: the full API URL you want to reach, for example https://api.partner.com/v1/orders | . | Body | The JSON or payload your target API expects, if the method needs one | . The action inputs look like this in the flow’s code view: . { \"method\": \"POST\", \"uri\": \"https://abc123.lambda-url.us-east-1.on.aws/\", \"headers\": { \"X-Relay-Key\": \"@parameters('RelayKey')\", \"X-Target-URL\": \"https://api.partner.com/v1/orders\", \"Content-Type\": \"application/json\" }, \"body\": { \"order_id\": \"@{triggerBody()?['orderId']}\" } } . Store the relay secret in a secure input or an environment variable rather than pasting it in plain text. Keep the real target API URL in the X-Target-URL header. The relay reads that header, calls the target through QuotaGuard, and returns the target’s status code and body to your flow so downstream steps parse the response as normal. The X-Relay-Key and X-Target-URL header names, and the forwarding behavior, are defined by the relay you deployed. They are documented on the shared relay pattern page. ",
    "url": "/docs/automation/power-automate-integration/#call-the-relay-from-a-power-automate-cloud-flow",
    "relUrl": "/docs/automation/power-automate-integration/#call-the-relay-from-a-power-automate-cloud-flow"
  },"1309": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Test that traffic exits from your static IPs",
    "content": "Point the relay at the QuotaGuard IP check endpoint before you wire up the real API. This confirms the whole path works and shows you which IP a request left from. For this IP check, set the HTTP action’s Method to GET, clear the POST body, and keep the URI set to your relay’s invoke URL. Set its X-Target-URL header to: . https://ip.quotaguard.com . Run the flow and inspect the HTTP action’s output body. You should see: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match either of the two assigned IPs shown in your QuotaGuard dashboard. You can repeat the flow, but observing both addresses is not required for success. Allowlist both assigned IPs at the destination. After the check, restore the method, target URL and body required by your real API. If you want to confirm outside the flow, call https://ip.quotaguard.com from a terminal through the same QUOTAGUARDSTATIC_URL credentials to see the pair before you build the flow. ",
    "url": "/docs/automation/power-automate-integration/#test-that-traffic-exits-from-your-static-ips",
    "relUrl": "/docs/automation/power-automate-integration/#test-that-traffic-exits-from-your-static-ips"
  },"1310": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Troubleshooting",
    "content": "HTTP action returns 401 or 403 from the relay. The X-Relay-Key header does not match the secret set on the relay function. Confirm the value, and check for a trailing space or a smart quote introduced when pasting into the header field. Target API returns 403 from a non-allowlisted IP. The request reached the API but from an unexpected source. Confirm the relay’s QUOTAGUARDSTATIC_URL is set, then run the ip.quotaguard.com test above and allowlist the exact two IPs it returns. Do not allowlist a proxy hostname or an nslookup result. Only the two IPs in your dashboard are correct. Wrong IP returned, or a Microsoft service-tag IP appears. The flow called the target API directly instead of the relay. Check that the HTTP action’s URI is the relay invoke URL and that the real API URL is in the X-Target-URL header, not in the URI field. The HTTP action is unavailable or asks for a premium license. The native HTTP and HTTP + Swagger actions are premium in Power Automate. Confirm your plan includes premium connectors, or use a custom connector that points at the relay URL. Connection timeout to the relay. The Function URL is unreachable or the function is cold-starting past the action timeout. Confirm the URL responds from a browser or curl, and raise the function’s timeout and memory if cold starts are slow. 502 or 504 from the relay. The relay reached QuotaGuard but the upstream target timed out or refused the connection. Test X-Target-URL against https://ip.quotaguard.com to isolate whether the proxy path or the target is failing. ",
    "url": "/docs/automation/power-automate-integration/#troubleshooting",
    "relUrl": "/docs/automation/power-automate-integration/#troubleshooting"
  },"1311": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "Most Power Automate integrations use QuotaGuard Static. Choose Shield only when the workload handles regulated data or the environment requires TLS on every hop between the relay and the proxy. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static is right for standard HTTPS API calls from your relay. The payload is tunneled end to end and is never decrypted at the proxy. Choose Shield (SSL passthrough) when the workload handles regulated data such as HIPAA, PCI-DSS, or SOC 2 material, or when your environment requires TLS on the hop between the relay and the proxy itself. ",
    "url": "/docs/automation/power-automate-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/automation/power-automate-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1312": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Static IP with no HTTP proxy . Contact Support . ",
    "url": "/docs/automation/power-automate-integration/#ready-to-get-started",
    "relUrl": "/docs/automation/power-automate-integration/#ready-to-get-started"
  },"1313": {
    "doc": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "title": "QuotaGuard and Microsoft Power Automate Integration Guide",
    "content": " ",
    "url": "/docs/automation/power-automate-integration/",
    "relUrl": "/docs/automation/power-automate-integration/"
  },"1314": {
    "doc": "Privacy, Security, and Data Retention Questions",
    "title": "Privacy, Security, and Data Retention Questions",
    "content": "Since laws around the world are constantly changing, please head over to our Privacy, Security, and Data Retention FAQ for the most up to date answers. ",
    "url": "/docs/security/privacy-security-and-data-retention-faq/",
    "relUrl": "/docs/security/privacy-security-and-data-retention-faq/"
  },"1315": {
    "doc": "Where to Find Your Proxy Username, Password, and Connection URL",
    "title": "Where to Find Your Proxy Username, Password, and Connection URL",
    "content": "Start on the Subscription Setup page when you need configuration information for a QuotaGuard subscription. Under Outbound Proxy, click Connection Information. This opens Setup &gt; Outbound, where you can find the selected subscription’s: . | Username | Proxy password | Proxy host | HTTP URL | SOCKS URL | Static IPs | . The dashboard home page shows static IPs and usage information, but it does not show the proxy password or complete connection URLs. For inbound proxy configuration, click Configure Inbound Proxies on the Subscription Setup page. ",
    "url": "/docs/getting-started/proxy-connection-details/",
    "relUrl": "/docs/getting-started/proxy-connection-details/"
  },"1316": {
    "doc": "Getting Started with the PySocks library",
    "title": "Getting Started with the PySocks library",
    "content": "You can use the PySocks library to connect to your QuotaGuard Static SOCKS5 proxy as shown here. This code sample will print out one of your two static IP addresses by sending an HTTP request to the HTTP Bin service. Copy import socks from urlparse import urlparse import os # Extract proxy connection details from env variable proxy = urlparse(os.environ['QUOTAGUARDSTATIC_URL']) s = socks.socksocket() s.set_proxy(socks.SOCKS5, proxy.hostname, 1080, True, proxy.username,proxy.password) host = \"httpbin.org\" s.connect((host, 80)) request = \"GET /ip HTTP/1.1\\nHost: \"+host+\"\\nUser-Agent:Mozilla 5.0\\n\\n\" s.send(request) response = s.recv(1024) print response . ",
    "url": "/docs/outbound-proxy/python/pysocks-guide/",
    "relUrl": "/docs/outbound-proxy/python/pysocks-guide/"
  },"1317": {
    "doc": "Using PythonAnywhere with QuotaGuard Static IP's",
    "title": "Using PythonAnywhere with QuotaGuard Static IP's",
    "content": "PythonAnywhere can present a problem for our usual QGTunnel/Procfile solution because it doesn’t allow users to run their own binaries, so we created a monkey patch solution that has worked for quite a few customers. Here is an example using MySQL and some pips we selected for the patch. If you already have other pips setup, please contact our Support if this solution doesn’t work so we can figure out a way to make it work for you. Our test: Tested to work with Python 3 using mysql-connector-python through PySocks . 1) Download https://github.com/quotaguard/pymysql-example. 2) Please read the README.md file for details on how to use the test application. 3) Install the pips in the requirements.txt file: pip install -r requirements.txt . 4) Setup the environment variables QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL from the quotaguard dashboard. For example: http://username:password@hostname.quotaguard.com:9293 . NOTE: HTTP and SOCKS URL’s are fine, app.py will handle either. 5) Setup your database connection environment variable DATABASE. For example: mysql://username:password@database.hostname.com:3306/database-name . 6) Run the application: python app.py . If this doesn’t work, just write us at Support. We’ll figure it out for you so you can get running. ",
    "url": "/docs/outbound-proxy/python/pythonanywhere-setup/",
    "relUrl": "/docs/outbound-proxy/python/pythonanywhere-setup/"
  },"1318": {
    "doc": "Does QGPass work on Mac OS?",
    "title": "Does QGPass work on Mac OS?",
    "content": "Yes, you are in luck! . QGPass does work on a Mac OS. You just need to use a different Mac version of QGPass to get it to run correctly. We keep a copy or a downloadable Mac version at this location: . https://quotaguard.s3.amazonaws.com/qgpass-1.1.0-darwin.tar.gz . If you have a Mac that needs a different binary compliation, just let us know at QuotaGuard Support so we can get you the right version. Happy Tunneling! . ",
    "url": "/docs/outbound-proxy/mac-desktop-setup/qgpass-guide/",
    "relUrl": "/docs/outbound-proxy/mac-desktop-setup/qgpass-guide/"
  },"1319": {
    "doc": "PHP Quick Start Guide - QuotaGuard Static IP",
    "title": "Installation",
    "content": "When you sign up you will be provided with a unique username and password and a connection string that you can use when configuring your proxy service in your application: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . All requests that you make via this proxy will appear to the destination server to originate from one of the two static IPs you will be assigned when you sign up. We recommend you store the connection string in an environment variable QUOTAGUARDSTATIC_URL. If you have signed up via the add-ons platform on Heroku, this variable will be automatically set in your production environment. ",
    "url": "/docs/outbound-proxy/php/quick-start-guide/#installation",
    "relUrl": "/docs/outbound-proxy/php/quick-start-guide/#installation"
  },"1320": {
    "doc": "PHP Quick Start Guide - QuotaGuard Static IP",
    "title": "Integration",
    "content": "PHP cURL is the easiest way to make HTTP requests via QuotaGuard. Copy &lt;?php function lookup(){ $quotaguard_env = getenv(\"QUOTAGUARDSTATIC_URL\"); $quotaguard = parse_url($quotaguard_env); $proxyUrl = $quotaguard['host'].\":\".$quotaguard['port']; $proxyAuth = $quotaguard['user'].\":\".$quotaguard['pass']; $url = \"http://ip.jsontest.com/\"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROXY, $proxyUrl); curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth); $response = curl_exec($ch); return $response; } $res = lookup(); print_r($res); ?&gt; . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/php/quick-start-guide/#integration",
    "relUrl": "/docs/outbound-proxy/php/quick-start-guide/#integration"
  },"1321": {
    "doc": "PHP Quick Start Guide - QuotaGuard Static IP",
    "title": "PHP Quick Start Guide - QuotaGuard Static IP",
    "content": " ",
    "url": "/docs/outbound-proxy/php/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/php/quick-start-guide/"
  },"1322": {
    "doc": "Node.js Quick Start Guide - QuotaGuard Static IP",
    "title": "Installation",
    "content": "When you sign up with QuotaGuard, you will be provided with a unique username and password and a connection string that you can use when configuring your proxy service in your application, for example: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . All requests that you make via this proxy will appear to the destination server to originate from one of the two static IPs you will be assigned when you sign up. We recommend you store the connection string in an environment variable QUOTAGUARDSTATIC_URL. If you have signed up via the add-ons platform on Heroku this variable will be automatically set in your production environment. ",
    "url": "/docs/outbound-proxy/node-js/quick-start-guide/#installation",
    "relUrl": "/docs/outbound-proxy/node-js/quick-start-guide/#installation"
  },"1323": {
    "doc": "Node.js Quick Start Guide - QuotaGuard Static IP",
    "title": "Integration",
    "content": "QuotaGuard will work with the standard http library, but we recommend using the https-proxy-agent library for ease of use. Copy var HttpsProxyAgent = require('https-proxy-agent'); var request = require('request'); var proxy = process.env.QUOTAGUARDSTATIC_URL; var agent = new HttpsProxyAgent(proxy); request({ uri: \"https://example.com/api\", method: \"POST\", headers: { 'content-type': 'application/x-www-form-urlencoded' }, agent: agent, timeout: 10000, followRedirect: true, maxRedirects: 10, body: \"name=john\" }, function(error, response, body) { console.log(\"Error\" + error); console.log(\"Response: \" + response); console.log(\"Body: \" + body); }); . ",
    "url": "/docs/outbound-proxy/node-js/quick-start-guide/#integration",
    "relUrl": "/docs/outbound-proxy/node-js/quick-start-guide/#integration"
  },"1324": {
    "doc": "Node.js Quick Start Guide - QuotaGuard Static IP",
    "title": "Other libraries",
    "content": "Learn How To Access QuotaGuard using urllib2 . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/node-js/quick-start-guide/#other-libraries",
    "relUrl": "/docs/outbound-proxy/node-js/quick-start-guide/#other-libraries"
  },"1325": {
    "doc": "Node.js Quick Start Guide - QuotaGuard Static IP",
    "title": "Node.js Quick Start Guide - QuotaGuard Static IP",
    "content": "We recommend the https-proxy-agent library for carrying out HTTP operations from Node.js with QuotaGuard. ",
    "url": "/docs/outbound-proxy/node-js/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/node-js/quick-start-guide/"
  },"1326": {
    "doc": "Ruby Quick Start Guide - QuotaGuard Static IP",
    "title": "Installation",
    "content": "When you sign up with QuotaGuard, you will be provided with a unique username and password and a connection string that you can use when configuring your proxy service in your Ruby Application. It will look something like this format: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . All requests that you make via this proxy will appear to the destination server to originate from one of the two static IPs you will be assigned when you sign up. You can find those in your Dashboard. We recommend you store the connection string in an environment variable QUOTAGUARDSTATIC_URL. If you have signed up via the add-ons platform on Heroku, this variable will be automatically set in your production environment. ",
    "url": "/docs/outbound-proxy/ruby/quick-start-guide/#installation",
    "relUrl": "/docs/outbound-proxy/ruby/quick-start-guide/#installation"
  },"1327": {
    "doc": "Ruby Quick Start Guide - QuotaGuard Static IP",
    "title": "Integration",
    "content": "Ruby has many HTTP client libraries, but our favorite for HTTP interactions is rest-client. You can run the below example in an irb session and verify that the final IP returned is one of your two static IPs. Copy require \"rest-client\" RestClient.proxy = ENV[\"QUOTAGUARDSTATIC_URL\"] if ENV[\"QUOTAGUARDSTATIC_URL\"] res = RestClient.get(\"http://ip.jsontest.com\") puts \"Your IP was: #{res.body}\" . ",
    "url": "/docs/outbound-proxy/ruby/quick-start-guide/#integration",
    "relUrl": "/docs/outbound-proxy/ruby/quick-start-guide/#integration"
  },"1328": {
    "doc": "Ruby Quick Start Guide - QuotaGuard Static IP",
    "title": "Other Libraries",
    "content": "We have examples for other common Ruby HTTP libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get the right one sent to you. ",
    "url": "/docs/outbound-proxy/ruby/quick-start-guide/#other-libraries",
    "relUrl": "/docs/outbound-proxy/ruby/quick-start-guide/#other-libraries"
  },"1329": {
    "doc": "Ruby Quick Start Guide - QuotaGuard Static IP",
    "title": "Ruby Quick Start Guide - QuotaGuard Static IP",
    "content": " ",
    "url": "/docs/outbound-proxy/ruby/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/ruby/quick-start-guide/"
  },"1330": {
    "doc": "SOCKS Quick Start Guide",
    "title": "Get Started with the SOCKS5 Proxy Utilizing QGTunnel",
    "content": "1) Download QGTunnel . Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . 2) Setup the Tunnel . Login to our Admin Dashboard and go the Tunnels page to setup the tunnel. Click Create a Tunnel. You should reach this screen below. Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that your server is located at “hostname.for.your.server.com” and is listening on port 3306 (the default MySQL port). Use the same port for the local port, unless you are using that port or it is below 1024, then you will have to change this to some other port (say 3307).     Transparent Mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions.     Encrypted Mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We have more details on end-to-end encryption as you follow along in these instructions. Creating the tunnels in the dashboard is for convenience. Please see the last step (Harden Your Setup) for how to remove this dependency from your system. 3) Change Your Code to Connect Through the Tunnel (maybe) . You may have to change your code to connect through QGTunnel. With transparent mode, and when using the same local and remote port, you should not have to change your code. Without transparent mode, you will want to connect to 127.0.0.1:3306 (like in this example). If you changed the local port, then you will need to change the port number to match. 4) Change your Procfile . Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . 5) Setup the environment variable QUOTAGUARDSTATIC_URL to be equal to your Connection URL in the Setup page of our dashboard. If you added us from a cloud provider (Azure, Cloudfoundry, Heroku, AWS, IBM Cloud, Pivotal, etc) then this is usually done for you. Please note that QGTunnel handles converting the HTTP URL and port to the SOCKS5 URL and port. So either of the connection URLs is fine. 6) Deploy . Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. 7) (Optional) If problems arise… . By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem with you. 8) IMPORTANT: Harden Your Setup . This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download Configuration on the Tunnels page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/outbound-proxy/socks5/quick-start-guide/#get-started-with-the-socks5-proxy-utilizing-qgtunnel",
    "relUrl": "/docs/outbound-proxy/socks5/quick-start-guide/#get-started-with-the-socks5-proxy-utilizing-qgtunnel"
  },"1331": {
    "doc": "SOCKS Quick Start Guide",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/outbound-proxy/socks5/quick-start-guide/#getting-help",
    "relUrl": "/docs/outbound-proxy/socks5/quick-start-guide/#getting-help"
  },"1332": {
    "doc": "SOCKS Quick Start Guide",
    "title": "SOCKS Quick Start Guide",
    "content": "SOCKS5 is a very flexible TCP level tunneling protocol which works on a per host basis and is compatible with all programming environments. If you’re not sure whether to use the SOCKS proxy, then please check out our Choosing HTTP vs SOCKS article. Please note : This product includes software developed by Inferno Nettverk A/S, Norway. For more information on their software Dante, please see https://www.inet.no/dante/. QuotaGuard provides three ways to setup SOCKS5 proxy integration within your app: .    1) QuotaGuard Tunnel (qgtunnel), process-based tunneling program. (recommended) .    2) QuotaGuard Socksify (qgsockify) script, routing-based tunneling program.    3) Framework specific support for SOCKS5. QGTunnel is an extremely versatile wrapper script for your process. | It allows you to map one or more local ports to route through the QuotaGuard proxy servers. | It supports a DNS override mode for protocols that require the hostname stay the same (ie: HTTPS) or to minimize the impact on the code. | QGTunnel also supports end-to-end encryption of your tunnel data for protocols that are not encrypted (ie: redis). | . We recommend QGTunnel - unless you need to route all traffic within the app through the SOCKS5 proxy. QGSocksify is a routing-based tunneling program. It allows for all or some of the outgoing traffic to be routed through the proxy server based on the destination IP or IP range. Additionally, many languages support SOCKS5 proxies natively or via a add-on package. Please note: The wrapper is not compatible with OSX or Windows. We recommend using a Virtual Machine running Ubuntu for development testing if your main development environment does not run Linux. ",
    "url": "/docs/outbound-proxy/socks5/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/socks5/quick-start-guide/"
  },"1333": {
    "doc": "Go (Golang) Quick Start Guide - QuotaGuard Static IPs",
    "title": "Go (Golang) Quick Start Guide - QuotaGuard Static IPs",
    "content": "We love Go (Golang), so if you have any issues, please write us so we can help. We really want to encourage any use of Go as much as possible, so please reach out to Support if you ever have questions. Here are some useful links on how to use Postman and Proxies: .    * Configure Postman .    * Configuring a Custom Proxy . For GoLang, you can setup a per-request proxy in the http package like this: . Copy proxyUrl, err := url.Parse(\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\") myClient := &amp;http.Client{Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)}} . Or you can configure it for all requests like this: . Copy proxyUrl, err := url.Parse(\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\") http.DefaultTransport = &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)} . We love GoLang, unfortunately, we don’t have a lot of customers that have used QuotaGuard with Golang, so we don’t have as many examples to share, but if you are using it, please let us know so we can help get everything setup together and make sure it works for you just as you want. ",
    "url": "/docs/outbound-proxy/go/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/go/quick-start-guide/"
  },"1334": {
    "doc": "Python Quick Start Guide - QuotaGuard Static IP",
    "title": "Installation",
    "content": "When you sign up you will be provided with a unique username and password and a connection string that you can use when configuring your proxy service in your application: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . All requests that you make via this proxy will appear to the destination server to originate from one of the two static IPs you will be assigned when you sign up. We recommend you store the connection string in an environment variable QUOTAGUARDSTATIC_URL. If you have signed up via the add-ons platform on Heroku, this variable will be automatically set in your production environment. ",
    "url": "/docs/outbound-proxy/python/quick-start-guide/#installation",
    "relUrl": "/docs/outbound-proxy/python/quick-start-guide/#installation"
  },"1335": {
    "doc": "Python Quick Start Guide - QuotaGuard Static IP",
    "title": "Integration",
    "content": "Python offers many different ways to make HTTP calls but for API requests we recommend the requests library. It allows you to specify an authenticated proxy on a per request basis so you can pick and choose when to route through your static IP address. Copy import requests import os proxies = { \"http\": os.environ['QUOTAGUARDSTATIC_URL'], \"https\": os.environ['QUOTAGUARDSTATIC_URL'] } res = requests.get(\"http://ip.jsontest.com/\", proxies=proxies) print res.text . We have examples for other common libraries as well, but if you can’t find what you are looking for, just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/python/quick-start-guide/#integration",
    "relUrl": "/docs/outbound-proxy/python/quick-start-guide/#integration"
  },"1336": {
    "doc": "Python Quick Start Guide - QuotaGuard Static IP",
    "title": "Python Quick Start Guide - QuotaGuard Static IP",
    "content": " ",
    "url": "/docs/outbound-proxy/python/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/python/quick-start-guide/"
  },"1337": {
    "doc": "Java Quick Start Guide with QuotaGuard Static IP's",
    "title": "Integration",
    "content": "You can use the standard Java libraries with QuotaGuard to access HTTP and HTTPS APIs via your static IP. The below examples uses a custom class to encapsulate the QuotaGuard proxy logic and an HttpURLConnection to make the HTTP request. This sample uses the Java 8 Base64 class to encode the authorization String. If using a version less than Java 8 you should use another Base64 encoder implementation, such as the Apache Commons Codec. Copy import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.Authenticator; import java.net.HttpURLConnection; import java.net.URL; import java.util.zip.GZIPInputStream; public class HTTPProxyDemo { public static void main(String[] args) { new HTTPProxyDemo(); } public HTTPProxyDemo(){ QuotaGuardProxyAuthenticator proxy = new QuotaGuardProxyAuthenticator(); String testUrl = \"http://ip.jsontest.com/\"; System.out.println(getResponse(proxy, testUrl)); } public String getResponse(QuotaGuardProxyAuthenticator proxy, String urlToRead) { String result = \"\"; try { URL url = new URL(urlToRead); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestProperty(\"Proxy-Authorization\", \"Basic \" + proxy.getEncodedAuth()); conn.setRequestProperty(\"Accept-Encoding\", \"gzip\"); Authenticator.setDefault(proxy.getAuth()); conn.setRequestMethod(\"GET\"); InputStream is = conn.getInputStream(); if(conn.getContentEncoding()!=null &amp;&amp; conn.getContentEncoding().equalsIgnoreCase(\"gzip\")){ is = new GZIPInputStream(is); } byte[] buffer = new byte[1024]; int len; ByteArrayOutputStream bos = new ByteArrayOutputStream(); while (-1 != (len = is.read(buffer))) { bos.write(buffer, 0, len); } result = new String(bos.toByteArray()); is.close(); } catch (IOException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } return result; } } . Copy import java.net.Authenticator; import java.net.MalformedURLException; import java.net.PasswordAuthentication; import java.net.URL; public class QuotaGuardProxyAuthenticator extends Authenticator{ private String user, password, host; private int port; private ProxyAuthenticator auth; public QuotaGuardProxyAuthenticator() { String proxyUrlEnv = System.getenv(\"QUOTAGUARDSTATIC_URL\"); if(proxyUrlEnv!=null){ try { URL proxyUrl = new URL(proxyUrlEnv); String authString = proxyUrl.getUserInfo(); user = authString.split(\":\")[0]; password = authString.split(\":\")[1]; host = proxyUrl.getHost(); port = proxyUrl.getPort(); auth = new ProxyAuthenticator(user,password); setProxy(); } catch (MalformedURLException e) { e.printStackTrace(); } } else{ System.err.println(\"You need to set the environment variable QUOTAGUARDSTATIC_URL!\"); } } private void setProxy(){ System.setProperty(\"http.proxyHost\", host); System.setProperty(\"http.proxyPort\", String.valueOf(port)); System.setProperty(\"https.proxyHost\",host); System.setProperty(\"https.proxyPort\", String.valueOf(port)); } public String getEncodedAuth(){ //If not using Java8 you will have to use another Base64 encoded, e.g. apache commons codec. String encoded = java.util.Base64.getEncoder().encodeToString((user + \":\" + password).getBytes()); return encoded; } public ProxyAuthenticator getAuth(){ return auth; } class ProxyAuthenticator extends Authenticator { private String user, password; public ProxyAuthenticator(String user, String password) { this.user = user; this.password = password; } protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(user, password.toCharArray()); } } } . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/java/quick-start-guide/#integration",
    "relUrl": "/docs/outbound-proxy/java/quick-start-guide/#integration"
  },"1338": {
    "doc": "Java Quick Start Guide with QuotaGuard Static IP's",
    "title": "Java Quick Start Guide with QuotaGuard Static IP's",
    "content": "Installation When you sign up you will be provided with a unique username and password and a connection string that you can use when configuring your proxy service in your application. http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . All requests that you make via this proxy will appear to the destination server to originate from one of the two static IPs you will be assigned when you sign up. We recommend you store the connection string in an environment variable QUOTAGUARDSTATIC_URL. If you have signed up via the add-ons platform on Heroku, this variable will be automatically set in your production environment. ",
    "url": "/docs/outbound-proxy/java/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/java/quick-start-guide/"
  },"1339": {
    "doc": ".NET Quick Start Guide - QuotaGuard Static IP",
    "title": "Installation",
    "content": "When you sign up you will be provided with a unique username and password and a connection string that you can use when configuring your proxy service in your application: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . All requests that you make via this proxy will appear to the destination server to originate from one of the two static IPs you will be assigned when you sign up. We recommend you store the connection string in an environment variable QUOTAGUARDSTATIC_URL. If you have signed up via the add-ons platform on Heroku this variable will be automatically set in your production environment. ",
    "url": "/docs/outbound-proxy/dotnet/quick-start-guide/#installation",
    "relUrl": "/docs/outbound-proxy/dotnet/quick-start-guide/#installation"
  },"1340": {
    "doc": ".NET Quick Start Guide - QuotaGuard Static IP",
    "title": "Integration",
    "content": "This example is written in C# and uses the HttpWebRequest class to make a request via QuotaGuard. Copy //Extract proxy connection details string proxyUrl = Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\"); System.Uri proxyUri = new System.Uri(proxyUrl); string cleanProxyURL = proxyUri.Scheme + \"://\" + proxyUri.Host+\":\"+proxyUri.Port; string user = proxyUri.UserInfo.Split(':')[0] string password = proxyUri.UserInfo.Split(':')[1] HttpWebRequest request = (HttpWebRequest) WebRequest.Create(\"http://ip.jsontest.com/\"); WebProxy myProxy = new WebProxy(); Uri newUri = new Uri(cleanProxyURL); // Associate the newUri object to 'myProxy' object so that new myProxy settings can be set. myProxy.Address = newUri; // Create a NetworkCredential object and associate it with the // Proxy property of request object. myProxy.Credentials = new NetworkCredential(user, password); request.Proxy = myProxy; HttpWebResponse httpWebResponse = request.GetResponse() as HttpWebResponse; // Get the stream containing content returned by the server. Stream dataStream = httpWebResponse.GetResponseStream(); // Open the stream using a StreamReader for easy access. StreamReader streamReader = new StreamReader(dataStream); // Read the content. String responseFromServer = streamReader.ReadToEnd(); // Write the content. Console.WriteLine(responseFromServer); streamReader.Close(); dataStream.Close(); . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/dotnet/quick-start-guide/#integration",
    "relUrl": "/docs/outbound-proxy/dotnet/quick-start-guide/#integration"
  },"1341": {
    "doc": ".NET Quick Start Guide - QuotaGuard Static IP",
    "title": ".NET Quick Start Guide - QuotaGuard Static IP",
    "content": " ",
    "url": "/docs/outbound-proxy/dotnet/quick-start-guide/",
    "relUrl": "/docs/outbound-proxy/dotnet/quick-start-guide/"
  },"1342": {
    "doc": "Individual Subscription Setup",
    "title": "Subscription Selection, Setup and Configuration",
    "content": "Each individual subscription has its own Setup page. The Setup page is the central location for managing and configuring each individual QuotaGuard subscription. If you have multiple subscriptions, you can toggle between multiple subscriptions by selecting them from the drop-down selector in the upper right corner. ",
    "url": "/docs/getting-started/quick-start/#subscription-selection-setup-and-configuration",
    "relUrl": "/docs/getting-started/quick-start/#subscription-selection-setup-and-configuration"
  },"1343": {
    "doc": "Individual Subscription Setup",
    "title": "Subscription Information",
    "content": "Each subscription has the following unique settings information: . QuotaGuard Subscription UserName: The QuotaGuard username for your subscription. Proxy: The QuotaGuard proxy your static IP’s are hosted on within the QuotaGuard system. If you need us to move you to a different proxy, or want to have different IP’s for a subscription, we can do that for you when you contact QuotaGuard Support. Plan: The current usage plan for your subscription, based on the expected usage for the current calendar month. ",
    "url": "/docs/getting-started/quick-start/#subscription-information",
    "relUrl": "/docs/getting-started/quick-start/#subscription-information"
  },"1344": {
    "doc": "Individual Subscription Setup",
    "title": "Inbound and Outbound Proxies",
    "content": "Each individual subscription can be setup either as an Outbound proxy or an Inbound proxy. On this page, you can begin to start working on configuring whichever option you want for each subscription. ",
    "url": "/docs/getting-started/quick-start/#inbound-and-outbound-proxies",
    "relUrl": "/docs/getting-started/quick-start/#inbound-and-outbound-proxies"
  },"1345": {
    "doc": "Individual Subscription Setup",
    "title": "Outbound Connection Settings",
    "content": "    Enabled: True/False .     Connection Information: Click to retrieve all the Outbound proxy connection information.     QG Tunnel Configuration: QGTunnel, an extremely versatile wrapper programmer for your application process, can be setup at this link. QGTunnel allows you to map one or more local ports to route through the QuotaGuard proxy servers. If you are configuring an outbound connection, please click on Connection Information to get started. If you need to map one or more local ports to route through the QuotaGuard proxy servers, click on the QGTunnel Configuration link to setup that routing. We have many help pages in this documentation area to assist with setting up QGTunnel. Please check out the Platforms section of our Documentation to find configuration guides for your unique endpoints or programming language to get started. ",
    "url": "/docs/getting-started/quick-start/#outbound-connection-settings",
    "relUrl": "/docs/getting-started/quick-start/#outbound-connection-settings"
  },"1346": {
    "doc": "Individual Subscription Setup",
    "title": "Inbound Connection Settings",
    "content": "Inbound Proxies allow an HTTPS client to reach your application utilizing static IP addresses. To complete the setup, you MUST create a DNS CNAME record with your DNS provider. The Configure Inbound Proxies link will walk you through the Inbound Proxy setup. To get started with setting up an Inbound Proxy, you will need to follow one of these two sets of directions depending on your QuotaGuard service: .    A) For QuotaGuard Static, please see Getting Started With QuotaGuard Static’s IP Inbound Proxy.    B) For QuotaGuard Shield, please see Getting Started With QuotaGuard Shield’s IP Inbound Proxy. ",
    "url": "/docs/getting-started/quick-start/#inbound-connection-settings",
    "relUrl": "/docs/getting-started/quick-start/#inbound-connection-settings"
  },"1347": {
    "doc": "Individual Subscription Setup",
    "title": "Proxy Type / Dedicated Proxy",
    "content": "Dedicated Proxies are configurable on Enterprise plans (or higher) for all customers. Dedicated proxies are not automatically provisioned, as many customers do not desire such a change, as that causes your Static IP’s to change. (See What Happens When I Switch from a Shared Proxy to a Dedicated Proxy?) . Therefore, to request a Dedicated Proxy - after upgrading to the Enterprise Plan - please send an email to QuotaGuard Support. If you reach a point where you can’t find a setup solution in our documentation, please write us at QuotaGuard Support. We’ve seen thousands of different use cases and can likely very quickly get you up and running. Next: Account Management ",
    "url": "/docs/getting-started/quick-start/#proxy-type--dedicated-proxy",
    "relUrl": "/docs/getting-started/quick-start/#proxy-type--dedicated-proxy"
  },"1348": {
    "doc": "Individual Subscription Setup",
    "title": "Individual Subscription Setup",
    "content": " ",
    "url": "/docs/getting-started/quick-start/",
    "relUrl": "/docs/getting-started/quick-start/"
  },"1349": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "Before you begin",
    "content": "Identify the exact server-side runtime and HTTP client or SDK that opens the API connection. You will need access to its deployment configuration, a QuotaGuard subscription’s connection details, and an account owner who can approve the destination’s network arrangement. Confirm acceptance of the proposed addresses, shared or dedicated infrastructure, and geographic route for the specific account. A proxy-compatible implementation still needs destination approval. If your existing cloud egress already meets those requirements, you can keep that route instead. Use the Razorpay allowlisting instructions for the current policy and account controls. Owner/Admin users can add up to 20 IPs in Live mode under profile, My Account &amp; Settings, Developer Controls, Share IP Addresses. Save and complete OTP confirmation. If the control is missing or you use dynamic source addresses, follow Razorpay’s support route. ",
    "url": "/docs/apis/razorpayx/quickstart/#before-you-begin",
    "relUrl": "/docs/apis/razorpayx/quickstart/#before-you-begin"
  },"1350": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "1 Identify every process that calls RazorpayX",
    "content": "List each process with its runtime, library, deployment, and secret source. At a minimum, review the web process, payout worker, scheduled reconciliation job, administrative tooling, and any standby deployment. Use this compact record for each caller: . Process name: Production environment or region: Deployment identifier: HTTP client or SDK: Proxy configuration entry point: Secret source and rotation owner: Source IP diagnostic result and time: . Do not put proxy credentials or API keys in the record. A private deployment identifier and a source IP are enough to correlate the network result with a release. A job running on a different service is a separate caller even if it uses the same repository. Treat a new worker pool or deployment region as a networking change until its route has been verified. ",
    "url": "/docs/apis/razorpayx/quickstart/#1-map-the-request-making-processes",
    "relUrl": "/docs/apis/razorpayx/quickstart/#1-map-the-request-making-processes"
  },"1351": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "2 Collect the right QuotaGuard values",
    "content": "Open the selected subscription’s Setup page, choose Outbound Proxy, then Connection Information. Retrieve the complete HTTP connection URL and the two assigned static IPv4 addresses. See the connection-details reference. Use each value for its intended purpose: . | HTTP connection URL: server-side client configuration, stored as a secret. | Assigned static IPv4 pair: approved source addresses for the destination allowlist and for diagnostic comparison. | Proxy hostname: part of the connection URL; not a substitute for the assigned pair. | . Both assigned addresses belong in the approved allowlist because either may be used. Do not choose only the address seen in your first test. The two-address explanation describes the pair. ",
    "url": "/docs/apis/razorpayx/quickstart/#2-collect-the-right-quotaguard-values",
    "relUrl": "/docs/apis/razorpayx/quickstart/#2-collect-the-right-quotaguard-values"
  },"1352": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "3 Configure secrets for each deployed caller",
    "content": "Store the full URL in a server-side variable named QUOTAGUARDSTATIC_URL. Store the expected pair as EXPECTED_EGRESS_IPS, with the two addresses separated by a comma. The pair is configuration, not an authentication secret, but it should still be managed deliberately. Use the platform’s secret manager or protected environment configuration. Do not paste a real URL into source control, an example file, build output, chat, or browser code. Avoid shell tracing and verbose network logging while working with authenticated proxy URLs. Confirm that the setting reaches the process that needs it. A secret attached to the web service may not exist in a worker or scheduled task. Some runtimes read configuration only at startup; follow the platform’s documented redeployment or restart behavior after a change. A missing required proxy setting should stop the protected operation. Do not construct a default direct client when configuration is empty. ",
    "url": "/docs/apis/razorpayx/quickstart/#3-configure-secrets-for-each-deployed-caller",
    "relUrl": "/docs/apis/razorpayx/quickstart/#3-configure-secrets-for-each-deployed-caller"
  },"1353": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "4 Configure a dedicated HTTP transport",
    "content": "Keep proxy routing scoped to the relevant integration. This reduces surprises for unrelated application requests and makes it possible to test the route independently. For Python Requests, the essential configuration is: . import os import requests proxy_url = os.environ[\"QUOTAGUARDSTATIC_URL\"] if not proxy_url.strip(): raise RuntimeError(\"Proxy configuration is required.\") session = requests.Session() session.trust_env = False session.proxies = {\"http\": proxy_url, \"https\": proxy_url} # Use this Session for the selected integration only. # Every actual request also needs timeouts, TLS verification, # and an explicit redirect policy. The full diagnostic example adds configuration validation, timeouts, response limits, and sanitized errors. trust_env = False prevents ambient proxy settings or .netrc credentials from changing this Session’s behavior. It also means an approved custom CA bundle must be configured explicitly if your runtime needs one. See the Requests configuration documentation and Session reference. For Node’s built-in HTTPS client, use an agent designed for CONNECT proxying: . import https from 'node:https'; import { HttpsProxyAgent } from 'https-proxy-agent'; const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; if (!proxyUrl?.trim()) { throw new Error('Proxy configuration is required.'); } const agent = new HttpsProxyAgent(proxyUrl); // Pass { agent } to the selected https.request or https.get call. // Keep certificate verification enabled and apply a request deadline. The HttpsProxyAgent documentation describes this transport. An https.Agent is not automatically the right configuration for fetch, Axios, or a vendor SDK. Use the actual library’s documented interface, and verify its route rather than assuming it inherited the setting. Keep the integration’s real destination URL, account authentication, and operation semantics unchanged when adding routing. The proxy credentials authenticate to QuotaGuard; the API credentials authenticate to the destination. Never send the latter to a diagnostic endpoint. ",
    "url": "/docs/apis/razorpayx/quickstart/#4-configure-a-dedicated-http-transport",
    "relUrl": "/docs/apis/razorpayx/quickstart/#4-configure-a-dedicated-http-transport"
  },"1354": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "5 Run a nonmutating egress check",
    "content": "Use the accompanying examples/check_egress.py or examples/check-egress.mjs from the deployed runtime. Each makes a GET request to QuotaGuard’s source-IP diagnostic endpoint, https://ip.quotaguard.com, through its explicitly configured proxy client. QuotaGuard documents a JSON response with an ip field in its egress verification example. After installing the dependency in your application’s managed environment and setting the two configuration variables, run one of: . python check_egress.py . node check-egress.mjs . The scripts do not require Razorpay credentials. They reject redirects, unexpected response bodies, and source addresses outside the configured pair. They preserve TLS verification and do not retry through a direct connection. A successful result contains the observed egress_ip and a true matches_configured_pair field. Record it against the caller and deployment. This establishes the route for that diagnostic request, not account acceptance or financial-operation success. Run the corresponding check for each real caller. If the production SDK uses a different transport from the example, add a non-mutating diagnostic using that actual transport or its supported test hook. Do not claim SDK coverage from a separate successful script. If outbound access to a diagnostic endpoint is restricted, agree on an approved equivalent with the network owner. Keep it non-mutating and do not send destination credentials or sensitive request bodies. Do not relax production network controls solely to make an example work. ",
    "url": "/docs/apis/razorpayx/quickstart/#5-run-a-nonmutating-egress-check",
    "relUrl": "/docs/apis/razorpayx/quickstart/#5-run-a-nonmutating-egress-check"
  },"1355": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "6 Complete the destination configuration",
    "content": "Have the authorized account administrator apply the approved pair using the current provider workflow. Re-read the saved configuration and match both values to the selected subscription. Keep an internal record of the account, environment, pair, change owner, and time. Do not replace unrelated entries when adding the pair. Other applications may still rely on them. Retiring old entries should be a separately reviewed change after the migration is complete. Do not infer approval from the absence of an error in a local diagnostic. Destination policy, account permissions, and provider-side source authorization are separate checks. ",
    "url": "/docs/apis/razorpayx/quickstart/#6-complete-the-destination-configuration",
    "relUrl": "/docs/apis/razorpayx/quickstart/#6-complete-the-destination-configuration"
  },"1356": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "7 Integrate routing without changing payout semantics",
    "content": "Pass the approved transport into the application’s existing request path. Verify that queue consumers and scheduled jobs use the same reviewed configuration boundary. Keep the application’s authorization, idempotency, amount validation, and reconciliation logic intact. A network configuration change should not introduce a new payout payload, new retry policy, or new permission model as a side effect. Use the team’s existing authorized release process for end-to-end financial testing. Do not issue a live state-changing request merely to see whether the proxy works. If you need a provider-side check before enabling the workflow, identify an appropriate non-mutating operation with the account owner and follow its documented access rules. ",
    "url": "/docs/apis/razorpayx/quickstart/#7-integrate-routing-without-changing-payout-semantics",
    "relUrl": "/docs/apis/razorpayx/quickstart/#7-integrate-routing-without-changing-payout-semantics"
  },"1357": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "8 Make failure and rollback behavior explicit",
    "content": "When the proxy is unavailable, leave the protected operation stopped or queued according to the application’s reviewed design. A direct fallback silently changes the source address and may violate the intended access boundary. For rollback, pause the affected workload or return it to a previously approved route through a controlled deployment. Do not disable the destination allowlist as a routine troubleshooting step. Preserve the prior configuration until the new path is verified and old callers are accounted for. Treat an uncertain financial response separately from a routing failure. Before retrying an operation that may have reached the provider, reconcile its state and apply the provider’s operation-specific guidance. ",
    "url": "/docs/apis/razorpayx/quickstart/#8-make-failure-and-rollback-behavior-explicit",
    "relUrl": "/docs/apis/razorpayx/quickstart/#8-make-failure-and-rollback-behavior-explicit"
  },"1358": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "9 Add a lightweight operational check",
    "content": "After a deployment or secret rotation, repeat the source-IP diagnostic from the affected caller. A check tied to the deployed client is more informative than one run in a general CI runner that never executes production requests. Use a restrained schedule if you add ongoing monitoring. Do not make the diagnostic a dependency for every business transaction, and do not interpret a diagnostic-service outage as proof that the financial API is down. Log the caller identity, deployment version, check time, observed source IP, and sanitized result. Do not log authenticated proxy URLs, API keys, financial payloads, or raw exception objects that can contain secrets. ",
    "url": "/docs/apis/razorpayx/quickstart/#9-add-a-lightweight-operational-check",
    "relUrl": "/docs/apis/razorpayx/quickstart/#9-add-a-lightweight-operational-check"
  },"1359": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "Security considerations",
    "content": "HTTPS destinations retain endpoint TLS through a Static CONNECT tunnel. This does not encrypt the initial connection to an http:// proxy or its proxy authentication. Review both hops and the complete data route against your requirements. Keep destination certificate verification enabled. See QuotaGuard’s HTTPS explanation. Shared IPs are not exclusive identities. Select a shared or dedicated arrangement deliberately and maintain application authentication regardless of the network choice. For help assessing the client and route, contact QuotaGuard. ",
    "url": "/docs/apis/razorpayx/quickstart/#security-considerations",
    "relUrl": "/docs/apis/razorpayx/quickstart/#security-considerations"
  },"1360": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "Completion criteria",
    "content": "The routing work is ready for the team’s next release step when each intended caller has a documented transport, both assigned addresses are in the approved configuration, configuration survives deployment, non-mutating egress checks pass, and failure behavior is controlled. Financial workflow acceptance remains part of the separate application release process. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/razorpayx/quickstart/#completion-criteria",
    "relUrl": "/docs/apis/razorpayx/quickstart/#completion-criteria"
  },"1361": {
    "doc": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "title": "Configure and Verify Fixed Egress for RazorpayX API Clients",
    "content": "Use a dedicated proxy-aware HTTP transport to give selected application requests a predictable outbound source. This guide walks through the implementation boundary, secret setup, allowlist preparation, and non-mutating route verification for a cloud application preparing to use RazorpayX. The intended result is an explicit route that every relevant process can verify. Your website DNS, webhook ingress, API credentials, and business-operation logic remain separate configuration concerns. ",
    "url": "/docs/apis/razorpayx/quickstart/",
    "relUrl": "/docs/apis/razorpayx/quickstart/"
  },"1362": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Have these ready",
    "content": ". | A Supabase project and an existing operator-only diagnostic path. | A QuotaGuard subscription with its exact HTTP or HTTPS connection URL and assigned IP pair. | The correct Brails sandbox account and permission to read it if you will use wallets mode. | Confirmation that the chosen proxy region and shared or dedicated address type fit the Brails account’s policy. | IPv4 reachability to the sandbox destination through that route. | . When Brails allowlisting is enabled, arrange for both assigned addresses to be approved in the relevant environment. Preserve access for other authorized backends. Review the Brails allowlist instructions before changing the list. ",
    "url": "/docs/apis/brails/quickstart/#have-these-ready",
    "relUrl": "/docs/apis/brails/quickstart/#have-these-ready"
  },"1363": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Step 1: install the helper without exposing a new endpoint",
    "content": "Create the shared directory if your project does not already have it. Copy the packet’s helper to: . supabase/functions/_shared/brails-check.mjs . Import it in the existing operator-only function: . import { checkBrailsSandbox } from \"../_shared/brails-check.mjs\"; . Keep the helper as a module. It contains no public HTTP handler and makes no request on import. Your existing operator path remains responsible for authentication and authorization before calling it. ",
    "url": "/docs/apis/brails/quickstart/#step-1-install-the-helper-without-exposing-a-new-endpoint",
    "relUrl": "/docs/apis/brails/quickstart/#step-1-install-the-helper-without-exposing-a-new-endpoint"
  },"1364": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Step 2: set server configuration",
    "content": "In the relevant project’s Edge Function Secrets, set: . QUOTAGUARD_PROXY_URL = complete HTTP or HTTPS dashboard proxy URL QUOTAGUARD_EXPECTED_IPS = first assigned IPv4,second assigned IPv4 BRAILS_SANDBOX_API_KEY = existing authorized sandbox key . The last value is unnecessary for echo mode. These lines show the required fields, not values to paste verbatim. Follow Supabase’s secrets documentation for your deployment environment. Do not put the values in frontend variables or commit a populated environment file. Use the actual connection URL unchanged. The helper requires two distinct IPv4 entries and accepts only standard QuotaGuard proxy hostnames. A custom proxy domain needs a deliberate code review; it is not a reason to remove validation casually. ",
    "url": "/docs/apis/brails/quickstart/#step-2-set-server-configuration",
    "relUrl": "/docs/apis/brails/quickstart/#step-2-set-server-configuration"
  },"1365": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Step 3: check routing from the deployment",
    "content": "After the existing operator authorization checks have passed, invoke: . const routing = await checkBrailsSandbox(\"echo\"); . Keep the result private. It should contain an echoEgressIp equal to one of the configured addresses. The helper rejects unexpected addresses and does not proceed through a direct connection. Run this from the actual deployed function and selected proxy protocol. A laptop test or a local mocked test covers a different environment. ",
    "url": "/docs/apis/brails/quickstart/#step-3-check-routing-from-the-deployment",
    "relUrl": "/docs/apis/brails/quickstart/#step-3-check-routing-from-the-deployment"
  },"1366": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Step 4: perform the sandbox read only when authorized",
    "content": "With permission to read the account, invoke: . const result = await checkBrailsSandbox(\"wallets\"); if (!result.brailsHttpOk) { // Handle the sanitized status in the existing private operator workflow. // Do not return account diagnostics to an unauthenticated caller. } . The helper calls the fixed Brails sandbox wallet endpoint after another successful echo. The result contains echoEgressIp, brailsStatus and brailsHttpOk. Wallet data is discarded. The call requires exception handling as well as the boolean check. An invalid configuration or transport problem throws a stage-only error. An HTTP response such as 401 is returned with brailsHttpOk: false. ",
    "url": "/docs/apis/brails/quickstart/#step-4-perform-the-sandbox-read-only-when-authorized",
    "relUrl": "/docs/apis/brails/quickstart/#step-4-perform-the-sandbox-read-only-when-authorized"
  },"1367": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Step 5: record the evidence accurately",
    "content": "| Observation | Record it as | . | Local mock tests pass | Helper logic passed offline assertions | . | Deployed echo returns an assigned IP | One echo request used an expected source address | . | Sandbox wallet request returns a status | Brails HTTP response received through the configured client | . | Brails-side evidence identifies a source | Source observed for that particular Brails request | . Do not label an echo result as the source Brails necessarily saw. Both addresses may be used, and the destinations use different connections. A successful wallet read does not exercise payout processing. ",
    "url": "/docs/apis/brails/quickstart/#step-5-record-the-evidence-accurately",
    "relUrl": "/docs/apis/brails/quickstart/#step-5-record-the-evidence-accurately"
  },"1368": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Step 6: verify proxy settings in the production integration",
    "content": "Keep the helper sandbox-only. In the actual Brails integration, verify the transport used by every relevant call, preserve the production key/hostname pairing, and confirm the production allowlist independently. Leave incoming webhooks and unrelated Supabase traffic alone. If a check fails, use the troubleshooting table before altering security settings. Preserve TLS validation and the approved source-IP control while investigating. ",
    "url": "/docs/apis/brails/quickstart/#step-6-hand-off-the-production-route",
    "relUrl": "/docs/apis/brails/quickstart/#step-6-hand-off-the-production-route"
  },"1369": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Optional: run the helper’s offline tests",
    "content": "These commands run locally from the downloaded examples root and do not contact any service: . node --check code/brails-check.mjs node --test code/brails-check.offline.test.mjs node --test code/brails-check.supplementary.test.mjs . The test runner supplies mocked Deno and fetch implementations. This is a useful first code check before an authorized operator validates the deployment’s real network path. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/brails/quickstart/#optional-run-the-packets-offline-tests",
    "relUrl": "/docs/apis/brails/quickstart/#optional-run-the-packets-offline-tests"
  },"1370": {
    "doc": "Quickstart: check the Supabase-to-Brails route",
    "title": "Quickstart: check the Supabase-to-Brails route",
    "content": "Give the Brails integration a stable outbound path while keeping the application on hosted Supabase. Start with a routing check that sends no Brails credentials, then use an authorized sandbox read to inspect API connectivity without creating a payout. This quickstart uses the preserved helper in code/brails-check.mjs. For general Supabase proxy setup, see the existing QuotaGuard platform guide. For the full account and deployment discussion, see the Brails technical guide. ",
    "url": "/docs/apis/brails/quickstart/",
    "relUrl": "/docs/apis/brails/quickstart/"
  },"1371": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Requirements",
    "content": "You will need: . | A QuotaGuard Static account, its complete outbound HTTP proxy URL, and both assigned static IPs. | A SendGrid account and an API key with the permissions required by your application. The examples need Mail Send permission. | A sender identity configured in SendGrid and a recipient approved for any later live send. | Access to the environment that actually sends email requests, including workers or scheduled jobs. | Python 3.10 or later. The main example uses HTTPX 0.28.x. The alternative uses Python’s standard library and curl. | Permission to change SendGrid access controls and an approved administrative access path. | . For the normal global SendGrid endpoint, use https://api.sendgrid.com. An EU regional subuser uses https://api.eu.sendgrid.com. Use the endpoint appropriate to the SendGrid account configuration; a proxy region does not convert a global account into an EU regional subuser. Mail Send endpoint reference . ",
    "url": "/docs/apis/sendgrid/quickstart/#requirements",
    "relUrl": "/docs/apis/sendgrid/quickstart/#requirements"
  },"1372": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Step 1: identify every client that accesses the SendGrid account",
    "content": "List every caller before enabling or tightening SendGrid IP Access Management: . | Web processes that call the API directly. | Email queue workers and retry workers. | Scheduled tasks and one-off administrative scripts. | Tools that access templates, contacts, or reporting APIs. | SMTP clients using the same account. | Administrators who need to access the SendGrid UI. | . Assign an owner and an approved network route to each client. Configure the process that opens the SendGrid connection, not only the process that enqueues a job. IP Access Management applies to the UI, API, and SMTP relay, and becomes active when the first allowed address is added. Include your administrator’s current approved address and plan for a stable future administrator route before saving that change. The application proxy does not automatically route your browser. SendGrid IP Access Management . ",
    "url": "/docs/apis/sendgrid/quickstart/#step-1--inventory-the-account-clients",
    "relUrl": "/docs/apis/sendgrid/quickstart/#step-1--inventory-the-account-clients"
  },"1373": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Step 2  Store the connection values",
    "content": "Set the following values through the runtime’s secrets or protected environment settings. This table describes the values; it is not a request to paste secrets into a support ticket. | Variable | Value | . | QUOTAGUARDSTATIC_URL | Complete HTTP proxy URL copied from the QuotaGuard Static dashboard | . | QG_EXPECTED_IPS | Both assigned QuotaGuard IPs, separated by a comma | . | SENDGRID_API_KEY | SendGrid API key with the necessary permissions | . | SENDGRID_FROM_EMAIL | Sender address configured in SendGrid | . | SENDGRID_TO_EMAIL | Approved recipient for a controlled live check | . | SENDGRID_REGION | global, or eu for the appropriate regional subuser | . A proxy URL has the form http://USER:PASSWORD@HOST:PORT. Copy the full dashboard value rather than constructing it from an example. Preserve any URL encoding in credentials. The HTTP proxy URL and the HTTPS SendGrid destination have different roles; do not change the proxy scheme to https simply because SendGrid uses HTTPS. Keep proxy credentials and the API key separate. The proxy authenticates the network connection. The SendGrid key authenticates the API request. Neither replaces the other. Prefer a mail-scoped key to an account-wide key. Use separate secrets for environments where possible, rotate them through your normal process, and do not put credentials in a client-side application. SendGrid API key scopes . ",
    "url": "/docs/apis/sendgrid/quickstart/#step-2--store-the-connection-values",
    "relUrl": "/docs/apis/sendgrid/quickstart/#step-2--store-the-connection-values"
  },"1374": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Step 3  Create the dedicated HTTP client",
    "content": "Install the dependency in the application’s Python environment: . python -m pip install 'httpx&gt;=0.28,&lt;0.29' . Save the following as sendgrid_httpx.py. It supports three explicit modes: . | ip checks the proxy’s egress address without a SendGrid key. | sandbox validates a Mail Send request without delivery. | live sends one message and requires a separate confirmation environment value. | . The client does not follow redirects or retry failed requests. It uses an explicit proxy, keeps TLS verification enabled, and ignores ambient proxy settings. The live recipient is always supplied through the trusted runtime environment rather than request parameters from an unauthenticated caller. #!/usr/bin/env python3 \"\"\"Check QuotaGuard egress, validate SendGrid mail, or explicitly send one message.\"\"\" import argparse import ipaddress import os import sys from urllib.parse import urlsplit import httpx API_ORIGINS = { \"global\": \"https://api.sendgrid.com\", \"eu\": \"https://api.eu.sendgrid.com\", } def required(name): value = os.environ.get(name, \"\") if not value or any(ord(c) &lt; 32 or ord(c) == 127 for c in value): raise ValueError(f\"Set a valid {name} in the trusted runtime environment\") return value def proxy_url(): value = required(\"QUOTAGUARDSTATIC_URL\") parsed = urlsplit(value) if not (parsed.scheme == \"http\" and parsed.hostname and parsed.port and parsed.username and parsed.password and parsed.path in (\"\", \"/\") and not parsed.query and not parsed.fragment): raise ValueError(\"Use the complete HTTP proxy URL from the QuotaGuard Static dashboard\") return value def expected_ips(): values = [v.strip() for v in required(\"QG_EXPECTED_IPS\").split(\",\")] addresses = {str(ipaddress.ip_address(v)) for v in values} if len(addresses) != 2: raise ValueError(\"QG_EXPECTED_IPS must contain the two assigned addresses, comma-separated\") return addresses def mail_payload(live=False): return { \"personalizations\": [{\"to\": [{\"email\": required(\"SENDGRID_TO_EMAIL\")}]}], \"from\": {\"email\": required(\"SENDGRID_FROM_EMAIL\")}, \"subject\": \"QuotaGuard SendGrid connection check\", \"content\": [{\"type\": \"text/plain\", \"value\": \"This is an authorized connection check.\"}], \"mail_settings\": {\"sandbox_mode\": {\"enable\": not live}}, } def run(mode): # This client is private to the SendGrid workflow. Do not reuse it for unrelated APIs. proxy = proxy_url() if mode == \"ip\": allowed = expected_ips() url = \"https://ip.quotaguard.com\" payload = None headers = {} # Never send the SendGrid key to the public IP checker. else: region = os.environ.get(\"SENDGRID_REGION\", \"global\") if region not in API_ORIGINS: raise ValueError(\"SENDGRID_REGION must be global or eu\") if mode == \"live\" and os.environ.get(\"SENDGRID_CONFIRM_LIVE_SEND\") != \"YES\": raise ValueError(\"Live mode needs SENDGRID_CONFIRM_LIVE_SEND=YES after recipient approval\") url = API_ORIGINS[region] + \"/v3/mail/send\" payload = mail_payload(live=mode == \"live\") headers = {\"Authorization\": \"Bearer \" + required(\"SENDGRID_API_KEY\")} # trust_env=False also ignores ambient CA settings. Supply an approved SSLContext # explicitly if your organization requires a custom CA bundle. Never disable verification. with httpx.Client(proxy=proxy, trust_env=False, follow_redirects=False, verify=True, timeout=httpx.Timeout(30.0, connect=10.0)) as client: if mode == \"ip\": response = client.get(url) else: response = client.post(url, headers=headers, json=payload) if mode == \"ip\": if response.status_code != 200: print(f\"IP check returned HTTP {response.status_code}; inspect routing before proceeding\") return 1 address = str(ipaddress.ip_address(response.json()[\"ip\"])) if address not in allowed: print(\"IP check did not match either assigned address; stop before changing the allowlist\") return 1 print(f\"Verified assigned QuotaGuard egress IP: {address}\") return 0 expected = 202 if mode == \"live\" else 200 if response.status_code != expected: # Response bodies can contain message data. Keep them out of shared logs. print(f\"SendGrid returned HTTP {response.status_code}; see the troubleshooting guide\") return 1 print(\"SendGrid accepted the message; delivery is a separate outcome\" if mode == \"live\" else \"SendGrid accepted the sandbox request; no email was delivered\") return 0 def main(): parser = argparse.ArgumentParser(description=__doc__) parser.add_argument(\"mode\", choices=[\"ip\", \"sandbox\", \"live\"]) args = parser.parse_args() try: return run(args.mode) except (ValueError, KeyError, TypeError): print(\"Configuration or response validation failed; check required values without logging secrets\", file=sys.stderr) return 2 except (httpx.RequestError, httpx.InvalidURL): print(\"Network or proxy request failed; no automatic retry was made\", file=sys.stderr) return 3 if __name__ == \"__main__\": sys.exit(main()) . HTTPX uses the proxy argument for an explicit proxy connection. Setting trust_env=False also ignores ambient CA variables such as SSL_CERT_FILE. If your deployment needs an approved custom trust store, pass a suitable SSL context explicitly. Do not solve certificate errors by setting verify=False. HTTPX proxies and environment behavior . The configured timeouts govern connection and network operations, not a guaranteed total wall-clock execution limit. Align your job timeout with the application’s operational requirements. HTTPX timeouts . ",
    "url": "/docs/apis/sendgrid/quickstart/#step-3--create-the-dedicated-http-client",
    "relUrl": "/docs/apis/sendgrid/quickstart/#step-3--create-the-dedicated-http-client"
  },"1375": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Step 4  Verify egress from the sending runtime",
    "content": "After configuring QUOTAGUARDSTATIC_URL and QG_EXPECTED_IPS, run: . python sendgrid_httpx.py ip . No SendGrid API key is required for this mode. It sends one request to the QuotaGuard IP checker and verifies that the returned address matches either of the two addresses configured in QG_EXPECTED_IPS. For example, successful output has this form: . Verified assigned QuotaGuard egress IP: 192.0.2.10 . The address above is a documentation example, not a QuotaGuard address to use in your account. Your output must match your own dashboard. Run the check in each sending runtime, such as a web service and a separate worker, if both call SendGrid. A successful laptop check does not prove that a deployed worker has the correct secret or client configuration. Record both dashboard IPs even if repeated checks show only one. Keep both addresses available in the destination allowlist. QuotaGuard egress verification . ",
    "url": "/docs/apis/sendgrid/quickstart/#step-4--verify-egress-from-the-sending-runtime",
    "relUrl": "/docs/apis/sendgrid/quickstart/#step-4--verify-egress-from-the-sending-runtime"
  },"1376": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Step 5  Configure SendGrid IP Access Management",
    "content": "With the approved administrator route available: . | Open the SendGrid console and go to Settings, then IP Access Management. | Review the existing list and the caller inventory from Step 1. | Add both assigned QuotaGuard static IPs. | Include the required administrator and other legitimate client addresses. | Review the complete set before saving. | Confirm that the administrator can still access the account through the approved route. | . Do not use a broad cloud-provider range merely to avoid configuring the actual caller. Do not remove existing legitimate entries as part of this setup unless their owners have approved the migration and verified their new routes. For a first-time restriction, coordinate the change so legitimate clients are covered when the list becomes active. For an existing restriction, add the new path before switching the application. Keep the old approved path until the migration check is complete. SendGrid’s Recent Access Attempts view can help correlate an attempt with a source IP, time, and access method. Verify the origin of an unfamiliar address before allowing it. SendGrid IP Access Management . ",
    "url": "/docs/apis/sendgrid/quickstart/#step-5--configure-sendgrid-ip-access-management",
    "relUrl": "/docs/apis/sendgrid/quickstart/#step-5--configure-sendgrid-ip-access-management"
  },"1377": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Step 6  Validate the API request without delivery",
    "content": "Supply the SendGrid environment values, then run: . python sendgrid_httpx.py sandbox . This posts a complete Mail Send payload with mail_settings.sandbox_mode.enable set to the JSON boolean true. A successful response is HTTP 200. The script prints a concise confirmation without printing the API key, payload, or recipient address. Sandbox mode does not deliver email, consume email credits, or generate Email Activity or Event Webhook events. It checks the request’s structure and parameters. It does not validate the contents of a referenced template. SendGrid sandbox mode . If the request fails, keep the restriction in place while checking the layer that failed. A proxy authentication problem, a missing API permission, and an invalid Mail Send payload need different fixes. Use the troubleshooting guide rather than automatically broadening the allowlist. ",
    "url": "/docs/apis/sendgrid/quickstart/#step-6--validate-the-api-request-without-delivery",
    "relUrl": "/docs/apis/sendgrid/quickstart/#step-6--validate-the-api-request-without-delivery"
  },"1378": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Step 7  Perform one approved live check",
    "content": "Only after the recipient and message are approved, set SENDGRID_CONFIRM_LIVE_SEND to YES in the trusted runtime and run: . python sendgrid_httpx.py live . This mode disables sandbox validation and requests actual delivery. Remove the confirmation value after the check so a later accidental command does not reuse it. A normal HTTP 202 response means SendGrid accepted the request. Inspect SendGrid’s email activity or your normal event-processing path to establish what happened afterward. Do not report 202 as proof that the recipient received the message. Mail Send API reference . Do not enable automatic retries for live checks. A timeout after submission can leave the acceptance outcome uncertain. Review that outcome before sending another copy. ",
    "url": "/docs/apis/sendgrid/quickstart/#step-7--perform-one-approved-live-check",
    "relUrl": "/docs/apis/sendgrid/quickstart/#step-7--perform-one-approved-live-check"
  },"1379": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Use curl for an independent client check",
    "content": "The companion sendgrid_curl.py file runs curl with the proxy configuration and authorization header supplied through standard input. It avoids putting the secret-bearing proxy URL or API key in curl’s argument list. Use it when you want a curl-based check without changing the application’s HTTPX configuration: . python sendgrid_curl.py ip python sendgrid_curl.py sandbox . The helper accepts no live mode. It uses the same environment variables, disables ambient proxy bypasses, does not follow redirects, and does not retry. It does not print raw curl errors or response bodies because those can contain sensitive details. Keep the helper beside the application example or include it in your operational toolkit. The public IP check requires only Python and curl; it needs no SendGrid key. curl configuration reference . Save this helper as sendgrid_curl.py: . #!/usr/bin/env python3 \"\"\"Use curl for a QuotaGuard IP check or a non-delivering SendGrid sandbox request.\"\"\" import argparse import ipaddress import json import os import subprocess import sys from urllib.parse import urlsplit def required(name): value = os.environ.get(name, \"\") if not value or any(ord(c) &lt; 32 or ord(c) == 127 for c in value): raise ValueError(\"Missing or invalid configuration\") return value def quote(value): if any(ord(c) &lt; 32 or ord(c) == 127 for c in value): raise ValueError(\"Control characters are not allowed in curl configuration\") return '\"' + value.replace(\"\\\\\", \"\\\\\\\\\").replace('\"', '\\\\\"') + '\"' def configuration(mode): proxy = required(\"QUOTAGUARDSTATIC_URL\") parsed = urlsplit(proxy) if not (parsed.scheme == \"http\" and parsed.hostname and parsed.port and parsed.username and parsed.password and parsed.path in (\"\", \"/\") and not parsed.query and not parsed.fragment): raise ValueError(\"Use the dashboard HTTP proxy URL\") lines = [\"silent\", \"show-error\", \"connect-timeout = 10\", \"max-time = 30\", 'proto = \"=https\"', 'noproxy = \"\"', 'retry = 0', \"proxy = \" + quote(proxy), 'write-out = \"\\\\n%{http_code}\"'] if mode == \"ip\": lines.append('url = \"https://ip.quotaguard.com\"') else: origins = {\"global\": \"https://api.sendgrid.com\", \"eu\": \"https://api.eu.sendgrid.com\"} region = os.environ.get(\"SENDGRID_REGION\", \"global\") if region not in origins: raise ValueError(\"Invalid SendGrid region\") payload = { \"personalizations\": [{\"to\": [{\"email\": required(\"SENDGRID_TO_EMAIL\")}]}], \"from\": {\"email\": required(\"SENDGRID_FROM_EMAIL\")}, \"subject\": \"QuotaGuard SendGrid sandbox check\", \"content\": [{\"type\": \"text/plain\", \"value\": \"Sandbox validation only.\"}], \"mail_settings\": {\"sandbox_mode\": {\"enable\": True}}, } lines += [\"url = \" + quote(origins[region] + \"/v3/mail/send\"), 'request = \"POST\"', 'header = \"Content-Type: application/json\"', \"header = \" + quote(\"Authorization: Bearer \" + required(\"SENDGRID_API_KEY\")), \"data-raw = \" + quote(json.dumps(payload))] return \"\\n\".join(lines) + \"\\n\" def run(mode): allowed = None if mode == \"ip\": allowed = {str(ipaddress.ip_address(v.strip())) for v in required(\"QG_EXPECTED_IPS\").split(\",\")} if len(allowed) != 2: raise ValueError(\"Supply both assigned addresses\") config = configuration(mode) # Secrets enter curl over stdin, not argv. -q must be the first curl option. # Remove ambient proxy settings; noproxy=\"\" also prevents an ambient bypass. env = {k: v for k, v in os.environ.items() if k.lower() not in {\"http_proxy\", \"https_proxy\", \"all_proxy\", \"no_proxy\"} and not k.startswith((\"SENDGRID_\", \"QUOTAGUARD\", \"QG_\"))} result = subprocess.run([\"curl\", \"-q\", \"--config\", \"-\"], input=config, capture_output=True, text=True, env=env, timeout=35, check=False) if result.returncode: print(f\"curl failed with exit code {result.returncode}; details withheld to protect secrets\") return 3 body, separator, status = result.stdout.rpartition(\"\\n\") if not separator or status != \"200\": print(\"Request did not return expected HTTP 200; inspect routing or SendGrid configuration\") return 1 if mode == \"ip\": address = str(ipaddress.ip_address(json.loads(body)[\"ip\"])) if address not in allowed: print(\"IP check did not match an assigned QuotaGuard address\") return 1 print(f\"Verified assigned QuotaGuard egress IP: {address}\") else: print(\"SendGrid accepted the sandbox request; no email was delivered\") return 0 def main(): parser = argparse.ArgumentParser(description=__doc__) parser.add_argument(\"mode\", choices=[\"ip\", \"sandbox\"]) args = parser.parse_args() try: return run(args.mode) except (ValueError, KeyError, TypeError, OSError, subprocess.TimeoutExpired): print(\"Configuration, response, or process check failed; no automatic retry was made\", file=sys.stderr) return 2 if __name__ == \"__main__\": sys.exit(main()) . ",
    "url": "/docs/apis/sendgrid/quickstart/#use-curl-for-an-independent-client-check",
    "relUrl": "/docs/apis/sendgrid/quickstart/#use-curl-for-an-independent-client-check"
  },"1380": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Adapt the pattern to your application",
    "content": " ",
    "url": "/docs/apis/sendgrid/quickstart/#adapt-the-pattern-to-your-application",
    "relUrl": "/docs/apis/sendgrid/quickstart/#adapt-the-pattern-to-your-application"
  },"1381": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Background workers",
    "content": "Initialize or reuse a dedicated SendGrid client within the worker process according to the worker framework’s lifecycle. Do not share a live connection pool across process forks without following the client’s documented lifecycle guidance. Set the proxy secret on all workers that may process the queue. Use a minimal controlled job to verify the route after deployment. Check the worker that sends the message, not merely the web endpoint that returns “queued.” . ",
    "url": "/docs/apis/sendgrid/quickstart/#background-workers",
    "relUrl": "/docs/apis/sendgrid/quickstart/#background-workers"
  },"1382": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Other SendGrid API operations",
    "content": "The same routing pattern can be applied to HTTPS operations your application is authorized to perform, such as reading templates. Use the correct endpoint and permission scope. Do not expand a mail-only API key to full account access for convenience. Keep fixed, approved destination hosts in application configuration. Do not turn a SendGrid-specific helper into a general URL-fetching endpoint that can send credentials to arbitrary destinations. ",
    "url": "/docs/apis/sendgrid/quickstart/#other-sendgrid-api-operations",
    "relUrl": "/docs/apis/sendgrid/quickstart/#other-sendgrid-api-operations"
  },"1383": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "SDKs",
    "content": "If you use an official SendGrid SDK, inspect its supported HTTP transport options for the exact version installed. Configure the component that opens the socket. Run an egress check and an actual SendGrid sandbox call through that same transport. A successful curl check establishes the curl route. It does not prove an SDK uses the same route. A global proxy variable can also affect unrelated libraries, so prefer a scoped client when practical. ",
    "url": "/docs/apis/sendgrid/quickstart/#sdks",
    "relUrl": "/docs/apis/sendgrid/quickstart/#sdks"
  },"1384": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "SMTP and incoming webhooks",
    "content": "This guide’s code calls the HTTPS API. It does not configure SMTP, and an HTTP proxy argument should not be copied into an SMTP client’s configuration without reviewing the required protocol support. SendGrid Event Webhooks travel from SendGrid toward your application. They are a separate inbound path. Keep your existing webhook authentication and verification controls; changing the application’s outbound route does not authenticate incoming events. SendGrid Event Webhook security . ",
    "url": "/docs/apis/sendgrid/quickstart/#smtp-and-incoming-webhooks",
    "relUrl": "/docs/apis/sendgrid/quickstart/#smtp-and-incoming-webhooks"
  },"1385": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Operate and roll back deliberately",
    "content": "Record the expected IP pair, account owner, runtime, and change date in your internal runbook. Keep secrets in the secret manager rather than the runbook. Monitor status codes, latency, queue age, and retry volume. Track an internal job identifier without logging full message bodies or recipient lists. Do not silently switch to direct egress if the proxy fails. If a deployment fails, pause affected send workers when needed to avoid duplicate attempts. Restore the last known working client configuration or approved network path. Check whether requests may already have been accepted before replaying jobs. Do not disable SendGrid restrictions or remove the administrator’s allowed route as a routine rollback. If a security policy change is necessary, obtain approval from the account owner and document the temporary state. ",
    "url": "/docs/apis/sendgrid/quickstart/#operate-and-roll-back-deliberately",
    "relUrl": "/docs/apis/sendgrid/quickstart/#operate-and-roll-back-deliberately"
  },"1386": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Completion checklist",
    "content": ". | Both assigned QuotaGuard IPs are recorded and allowed. | The administrator’s approved browser path still works. | Every API-sending runtime uses the configured client. | A proxy IP check returns an assigned address. | A complete sandbox request returns HTTP 200. | An approved live check returns HTTP 202 and its downstream outcome is inspected. | No secret-bearing URL, authorization header, or full email payload appears in shared logs. | Retry, timeout, and rollback behavior match the application’s email requirements. | . See QuotaGuard plans for shared and dedicated IP options, and SendGrid’s access management documentation for the account-side controls. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/sendgrid/quickstart/#completion-checklist",
    "relUrl": "/docs/apis/sendgrid/quickstart/#completion-checklist"
  },"1387": {
    "doc": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "title": "Use QuotaGuard Static with the SendGrid HTTPS API",
    "content": "Configure a dedicated SendGrid HTTP client to use QuotaGuard Static, verify its outbound address, and validate a Mail Send request before sending an approved live message. The result is an explicit application egress path that you can register with SendGrid IP Access Management. This guide covers the connection from your server-side application to the SendGrid API. It includes a Python HTTPX implementation and a curl-based alternative. Keep using SendGrid for email delivery, sender authentication, and any dedicated sending IPs in your email program. ",
    "url": "/docs/apis/sendgrid/quickstart/",
    "relUrl": "/docs/apis/sendgrid/quickstart/"
  },"1388": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Why Use QuotaGuard on Railway?",
    "content": "Railway services without its Pro static-egress feature use dynamic outbound infrastructure. That becomes a blocker when an external system accepts requests only from pre-approved source addresses. Common examples include: . | a payment or banking API that requires registered source IPs; | MongoDB Atlas or another database protected by an IP access list; | a client API behind a corporate firewall; | an SFTP server or enterprise service that accepts only known senders; and | a partner that will approve two addresses but not a broad cloud range. | . QuotaGuard gives the connection a stable identity without tying that identity to a Railway region. Application-level configuration can also be selective: route the protected API client through QuotaGuard and leave unrelated OAuth, telemetry, internal service calls, and public traffic on their existing paths. Standard QuotaGuard plans provide a stable pair on shared managed proxy infrastructure. If a destination requires addresses used exclusively by your organization, contact QuotaGuard about an Enterprise dedicated deployment. ",
    "url": "/docs/platforms/railway/railway-integration/#why-use-quotaguard-on-railway",
    "relUrl": "/docs/platforms/railway/railway-integration/#why-use-quotaguard-on-railway"
  },"1389": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Railway’s Native Option",
    "content": "Railway Pro includes Static Outbound IPs. Railway currently assigns three permanent IPv4 addresses to a service and balances outbound traffic from its replicas across them. Railway says those addresses are not guaranteed to be dedicated and may be shared with other customers. They also change when the service moves to another Railway region. That native feature is useful when you already need Railway Pro and want service-wide platform routing. QuotaGuard is designed for the common alternative: two stable addresses, selective per-client or per-destination routing, portability outside Railway, and a managed egress provider that owns the proxy infrastructure and support path. ",
    "url": "/docs/platforms/railway/railway-integration/#railways-native-option",
    "relUrl": "/docs/platforms/railway/railway-integration/#railways-native-option"
  },"1390": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Follow the three steps below for an HTTP client, choosing the Node.js or Python example for your application. For raw database or TCP traffic, use QGTunnel. If a check fails, use Troubleshooting. ",
    "url": "/docs/platforms/railway/railway-integration/#guided-setup-quickstart",
    "relUrl": "/docs/platforms/railway/railway-integration/#guided-setup-quickstart"
  },"1391": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "1. Get Your QuotaGuard Connection",
    "content": ". | Create a QuotaGuard subscription. | Choose the closest practical one of QuotaGuard’s 12 AWS regions during signup. | Copy the complete connection URL and both static IP addresses from the QuotaGuard dashboard. | Add both IP addresses to the destination’s allowlist. | . The connection URL has this form: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Store the exact dashboard value in Railway as a secret variable named QUOTAGUARDSTATIC_URL. Do not assemble the hostname yourself or commit the credentials to source control. ",
    "url": "/docs/platforms/railway/railway-integration/#get-your-quotaguard-connection",
    "relUrl": "/docs/platforms/railway/railway-integration/#get-your-quotaguard-connection"
  },"1392": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "2. Recommended: Route One HTTP Client Through QuotaGuard",
    "content": "Explicit client configuration keeps the route narrow. Only the client used for the protected destination receives the QuotaGuard dispatcher or proxy session. ",
    "url": "/docs/platforms/railway/railway-integration/#recommended-route-one-http-client-through-quotaguard",
    "relUrl": "/docs/platforms/railway/railway-integration/#recommended-route-one-http-client-through-quotaguard"
  },"1393": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Node.js with Undici",
    "content": "Node’s built-in fetch is powered by Undici and does not use an agent option from https-proxy-agent. Use Undici’s ProxyAgent as the request dispatcher: . import { ProxyAgent, fetch } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const response = await fetch('https://api.your-partner.com/endpoint', { dispatcher, method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify(payload) }); if (!response.ok) { throw new Error(`Partner request failed: ${response.status}`); } . Reuse the dispatcher rather than creating one for every request. ",
    "url": "/docs/platforms/railway/railway-integration/#nodejs-with-undici",
    "relUrl": "/docs/platforms/railway/railway-integration/#nodejs-with-undici"
  },"1394": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Python with Requests",
    "content": "Create a session for the protected destination instead of changing proxy behavior for every HTTP client in the process: . import os import requests partner = requests.Session() partner.proxies.update({ \"http\": os.environ[\"QUOTAGUARDSTATIC_URL\"], \"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"], }) response = partner.post( \"https://api.your-partner.com/endpoint\", json=payload, timeout=30, ) response.raise_for_status() . ",
    "url": "/docs/platforms/railway/railway-integration/#python-with-requests",
    "relUrl": "/docs/platforms/railway/railway-integration/#python-with-requests"
  },"1395": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "3. Verify the Outbound Address",
    "content": "From inside the deployed Railway service, make an explicit proxy request: . curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . The returned address should match one of the two IPs shown in your QuotaGuard dashboard. A short test may repeatedly show the same address because connection reuse and load balancing do not guarantee that both appear. The destination must still allowlist both so the managed failover path remains approved. This check proves only that the test request used QuotaGuard. Verify that the production API or database client is configured to use the same route. ",
    "url": "/docs/platforms/railway/railway-integration/#verify-the-outbound-address",
    "relUrl": "/docs/platforms/railway/railway-integration/#verify-the-outbound-address"
  },"1396": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Programmatic reference",
    "content": "Use the shared connection and secret setup, Node.js and Python client examples and verification command above with the process-wide configuration, database/TCP setup, product distinctions and troubleshooting below. The early native-option comparison applies to both paths. ",
    "url": "/docs/platforms/railway/railway-integration/#programmatic-reference",
    "relUrl": "/docs/platforms/railway/railway-integration/#programmatic-reference"
  },"1397": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Optional: Proxy-Aware Environment Variables",
    "content": "If every compatible HTTP client in the service should use QuotaGuard, set these Railway variables and redeploy: . HTTP_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 HTTPS_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 NO_PROXY=localhost,127.0.0.1,.railway.internal . The bypass entry keeps Railway private-network traffic off the public proxy path. Environment variables affect only software that honors them, so they are not proof that every library or protocol is using QuotaGuard. Test the actual client that opens the protected connection. ",
    "url": "/docs/platforms/railway/railway-integration/#optional-proxy-aware-environment-variables",
    "relUrl": "/docs/platforms/railway/railway-integration/#optional-proxy-aware-environment-variables"
  },"1398": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Raw Database and TCP Connections",
    "content": "PostgreSQL, MySQL, native MongoDB drivers, Redis, SFTP, and other raw TCP protocols do not use an HTTP proxy merely because HTTP_PROXY or HTTPS_PROXY exists. On Railway, use a compatible SOCKS5 client or run QGTunnel with the application process. ",
    "url": "/docs/platforms/railway/railway-integration/#raw-database-and-tcp-connections",
    "relUrl": "/docs/platforms/railway/railway-integration/#raw-database-and-tcp-connections"
  },"1399": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Install QGTunnel",
    "content": "Download and extract QGTunnel into the application image: . RUN curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz -C /app . This package includes bin/qgtunnel and the files used by transparent mode. Make sure those files are present in the deployed image. ",
    "url": "/docs/platforms/railway/railway-integration/#install-qgtunnel",
    "relUrl": "/docs/platforms/railway/railway-integration/#install-qgtunnel"
  },"1400": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Configure the Destination",
    "content": "In the QuotaGuard dashboard, open Setup, select Tunnel, and create a tunnel for the actual database hostname and port. For a PostgreSQL example: . | Setting | Example | . | Remote destination | tcp://database.example.com:5432 | . | Local port | 5432 | . | Transparent | true | . Then prefix the Railway start command with QGTunnel: . bin/qgtunnel node server.js . Replace node server.js with the service’s normal start command. QGTunnel reads QUOTAGUARDSTATIC_URL, fetches the tunnel configuration, starts the local route, and then starts the application. Do not describe HTTP_PROXY as database configuration. Confirm the database’s actual connection logs show one of the two assigned QuotaGuard addresses before tightening its firewall. ",
    "url": "/docs/platforms/railway/railway-integration/#configure-the-destination",
    "relUrl": "/docs/platforms/railway/railway-integration/#configure-the-destination"
  },"1401": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "QuotaGuard Static or Shield?",
    "content": "QuotaGuard Static starts at $19 per month and is the normal choice for API and database allowlisting. For HTTPS, the client creates a blind CONNECT tunnel and TLS continues to the destination; QuotaGuard does not decrypt the HTTPS payload. The customer-to-proxy connection uses the standard HTTP proxy protocol. QuotaGuard Shield starts at $29 per month and adds TLS protection to the customer-to-proxy hop through its secure connection methods. Choose Shield when that protected first hop is required by the approved security or regulated-data architecture. Shield is not an inbound-IP product, and the presence of financial, health, or other sensitive data does not by itself prove which plan a customer’s review will approve. Both products provide two stable outbound IP addresses. Standard plans use shared managed proxy infrastructure; exclusive IPs require an Enterprise dedicated deployment. ",
    "url": "/docs/platforms/railway/railway-integration/#quotaguard-static-or-shield",
    "relUrl": "/docs/platforms/railway/railway-integration/#quotaguard-static-or-shield"
  },"1402": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Troubleshooting",
    "content": "The destination still sees a Railway address. The production client is bypassing the proxy. Configure that library explicitly and verify the exact call path rather than relying on an environment variable alone. Railway private service calls fail. If you use global proxy variables, confirm NO_PROXY includes localhost,127.0.0.1,.railway.internal. Prefer selective client configuration when only one external destination needs the static route. The request returns 407 Proxy Authentication Required. Copy the complete connection URL from the QuotaGuard dashboard again. Check that Railway preserved special characters correctly and that the service was redeployed after the variable changed. The database still refuses the connection. Confirm QGTunnel starts before the application, the tunnel matches the database hostname and port, and the destination has allowlisted both QuotaGuard addresses. Inspect the destination’s connection logs for the source it actually received. The IP check shows only one assigned address. That is normal. Do not wait for a short test to display both; allowlist both addresses for the managed pair. ",
    "url": "/docs/platforms/railway/railway-integration/#troubleshooting",
    "relUrl": "/docs/platforms/railway/railway-integration/#troubleshooting"
  },"1403": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "Start With One Protected Connection",
    "content": "Configure the API client or TCP route that actually needs the allowlist, verify it from the destination side, and leave unrelated Railway traffic unchanged. If the selected library or protocol needs a different proxy method, contact QuotaGuard support and include the Railway runtime, client library, destination hostname, and protocol. | View QuotaGuard plans | Railway Static Outbound IP documentation | Railway private-networking documentation | . ",
    "url": "/docs/platforms/railway/railway-integration/#start-with-one-protected-connection",
    "relUrl": "/docs/platforms/railway/railway-integration/#start-with-one-protected-connection"
  },"1404": {
    "doc": "QuotaGuard and Railway Integration Guide",
    "title": "QuotaGuard and Railway Integration Guide",
    "content": "Route the connections that need a fixed source identity from Railway through QuotaGuard. The destination sees one of the two stable IP addresses assigned to your subscription, while unrelated Railway traffic can keep its normal route. QuotaGuard is the normal fit when you need a small, managed allowlist without building and operating NAT or proxy infrastructure. QuotaGuard operates the egress service, load-balanced pair, monitoring, capacity, and incident response. Your application keeps the same allowlisted identity across Railway deploys and can keep it if you later change Railway regions or move the workload to another platform. You do not need QuotaGuard for traffic between services in the same Railway project and environment. Use Railway private networking and its .railway.internal hostnames for that traffic. ",
    "url": "/docs/platforms/railway/railway-integration/",
    "relUrl": "/docs/platforms/railway/railway-integration/"
  },"1405": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Give ETG a stable source address for your backend",
    "content": "ETG requires APIv3 callers to submit their source IPs. If your backend lacks stable outbound addresses, QuotaGuard can supply a managed pair for the connections you route through it, subject to ETG accepting that pair for your integration. ETG requirements, section 1.4, QuotaGuard outbound. The job is concrete: choose the outbound route, register its addresses, configure the supplier client, then verify Sandbox access. This guide covers server-side ETG APIv3 B2B access. It does not validate card processing, reservation workflows, or certification. Already seeing not_allowed_host? Jump to the failure table. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#give-etg-a-stable-source-address-for-your-backend",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#give-etg-a-stable-source-address-for-your-backend"
  },"1406": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Guided setup (Quickstart)",
    "content": " ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#guided-setup-quickstart",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#guided-setup-quickstart"
  },"1407": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "1. Choose your outbound route",
    "content": "Keep an existing stable, ETG-approved route if it already meets your needs. If you need managed egress, select the QuotaGuard product and region, then check whether ETG accepts its assigned pair for your integration. See route selection. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#1-choose-your-outbound-route",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#1-choose-your-outbound-route"
  },"1408": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "2. Submit both addresses and confirm access",
    "content": "For QuotaGuard, submit both dashboard-assigned outbound IPv4 addresses through your established ETG onboarding channel. Ask ETG to confirm shared-address acceptance where applicable, which keys and environments the approval covers, and that the addresses are active for your intended Sandbox access. See the registration checklist. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#2-submit-both-addresses-and-confirm-access",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#2-submit-both-addresses-and-confirm-access"
  },"1409": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "3. Configure the Sandbox client securely",
    "content": "Have your backend’s secret mechanism supply QUOTAGUARDSTATIC_URL, QG_IP_A, QG_IP_B, ETG_SANDBOX_KEY_ID and ETG_SANDBOX_API_KEY. The examples use Static’s HTTP proxy URL and explicitly attach it to the requesting client. Keep the Sandbox key with the Sandbox host; follow the client configuration and runtime setup for your chosen language. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#3-configure-the-sandbox-client-securely",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#3-configure-the-sandbox-client-securely"
  },"1410": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "4. Run the matching diagnostic from your backend",
    "content": "Follow the installation, save-file and invocation instructions in Python with Requests or Node.js with an explicit Undici dispatcher. After ETG confirms Sandbox access, run the saved example from the deployed worker. It checks an IP echo, then makes one read-only Sandbox overview request without making a reservation. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#4-run-the-matching-diagnostic-from-your-backend",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#4-run-the-matching-diagnostic-from-your-backend"
  },"1411": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "5. Check the result and retain a sanitized record",
    "content": "A passing example exits with status 0 and reports echo_in_assigned_pair: true, overview_accepted: true and diagnostic_passed: true. ETG overview must return HTTP 200, status: \"ok\", error: null and a data array. If a valid debug.real_ip is present, it must match either assigned address; absent or unusable metadata is non-fatal and leaves ETG’s observed source unconfirmed. See verification evidence and its limits, and use the failure table if a check fails. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#5-check-the-result-and-retain-a-sanitized-record",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#5-check-the-result-and-retain-a-sanitized-record"
  },"1412": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Programmatic setup and reference",
    "content": "Use the sections below for the full registration checklist, route and environment choices, copyable client examples, verification evidence, troubleshooting and operating considerations. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#programmatic-setup-and-reference",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#programmatic-setup-and-reference"
  },"1413": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Prepare IP registration before certification",
    "content": "ETG requires implementation of its integration requirements before certification starts. Production access follows certification and partnership formalisation. Treat IP registration as onboarding preparation, without promising an IP-approval turnaround. Certification. The registration requirement concerns your backend’s calling IPs. ETG can separately supply its IPs if your firewall needs to approve connections from ETG. Keep these directions separate. Its Security features page instead covers host/return_path validation. Requirements, Security features. For your onboarding record, prepare: . | ETG contract/account identifier and integration owner. Do not include the API secret. | Environment and nonsecret key identifier associated with the request. | Both dashboard-assigned outbound IPv4 addresses if using QuotaGuard. | Whether addresses are shared or customer-exclusive, and the requested cutover date. | A request for confirmation of address count, shared-address acceptance, and which keys/environments the approval covers. | . This is a proposed information checklist, not an ETG form or a prescribed support channel. Public requirements do not specify a self-service IP-registration screen, an address maximum, or shared-proxy acceptance. Prepare the list before certification, submit it through your established ETG onboarding channel, and obtain confirmation that it is active for the intended access before verification. Submission alone is not evidence of activation. The reviewed pages do not establish activation timing. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#prepare-ip-registration-before-certification",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#prepare-ip-registration-before-certification"
  },"1414": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Choose the route before you submit addresses",
    "content": "| Your situation | Practical choice | . | Your existing backend already exits through stable, ETG-approved addresses | Keep that route unless there is a concrete operating reason to change. | . | Your cloud architecture already has a public NAT gateway and allocated egress addresses | Register those addresses. Confirm all workers and failover routes use the approved set. | . | You control a proxy-capable backend but do not want to operate egress infrastructure | Evaluate QuotaGuard, subject to ETG’s address policy and your client/runtime support. | . | ETG requires customer-exclusive addresses | Evaluate dedicated QuotaGuard infrastructure or native dedicated egress. A shared plan does not meet exclusivity. | . | A hosted connector makes requests on infrastructure you cannot configure | Establish whether it offers a supported proxy or static-egress route before selecting a service. | . AWS documents public NAT gateways associated with Elastic IPs. QuotaGuard is an alternative operating model, not a required extra hop for a backend already meeting the requirement. No cost advantage is assumed. AWS NAT gateways. Each QuotaGuard subscription has a pair. Register both even if a short check observes only one. A shared pair is stable but used by other subscribers; ETG’s own authentication remains necessary. For exclusive addresses, request dedicated infrastructure through QuotaGuard Support; it is available on Enterprise and above and is manually provisioned on request, not automatically activated by a tier change. Dedicated infrastructure addresses exclusivity, but does not establish ETG approval or solve an unknown one-address limit. Do not promise acceptance before the customer’s policy is confirmed. QuotaGuard outbound. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#choose-the-route-before-you-submit-addresses",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#choose-the-route-before-you-submit-addresses"
  },"1415": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Keep the environment and authentication together",
    "content": "| Environment | Current host | Diagnostic policy | . | Sandbox | https://api-sandbox.ratehawk.com | Sandbox key only; use the read-only overview request below. | . | Test | https://api.ratehawk.com | Excluded from this diagnostic. | . | Production | https://api.ratehawk.com | Excluded from this diagnostic. | . ETG documents HTTP Basic authentication: KEY_ID is the username and API_KEY is the password. The worldota.net hosts are deprecated. Keep keys and data within their environment; separate environments alone do not establish a requirement for separate egress pairs. Authorization, Requirements. Important source conflict: Authorization warns that Test hotel bookings carry financial responsibility; Requirements describes Test as non-production. Use Sandbox for this exercise and make no booking calls. Authorization, Requirements. Keep ETG credentials and the proxy URL in server-side secrets. A browser must never receive them. Application authentication should protect whatever business operation invokes the supplier client. Use fixed destination URLs rather than exposing a caller-controlled forwarding endpoint. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#keep-the-environment-and-authentication-together",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#keep-the-environment-and-authentication-together"
  },"1416": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Route the client that actually calls ETG",
    "content": "Setting QUOTAGUARDSTATIC_URL stores configuration; your HTTP client must read and use it. Use the exact connection URL and both IPs from the dashboard. Do not register the addresses returned by resolving the proxy hostname. QuotaGuard outbound. Both Static and Shield preserve the HTTPS payload’s encryption to ETG. Shield adds TLS on the application-to-proxy connection. Choose the product and region before registration, since changing either can require new approved IPs. The examples below use Static’s HTTP proxy URL. How proxying works. Before either example, inject the following environment variables into the backend process using your deployment’s secret manager or approved local secret-loading tool. Both programs read these exact names; the commands below contain no credential values. | Variable | Required value and role | . | QUOTAGUARDSTATIC_URL | Exact authenticated Static HTTP proxy URL from your dashboard. Keep secret. | . | QG_IP_A | First assigned outbound IPv4 address from your dashboard. | . | QG_IP_B | Second assigned outbound IPv4 address from your dashboard. | . | ETG_SANDBOX_KEY_ID | Your existing Sandbox key’s Basic-auth username. | . | ETG_SANDBOX_API_KEY | That Sandbox key’s Basic-auth password. Keep secret. | . Before any network call, the programs validate all five variable names. A missing value produces only its known variable name and a configuration-stage failure, never arbitrary exception text. Each HTTP response emits its status and a normalized, allowlisted content type before JSON decoding. Parameters are removed, media types are limited to 64 characters, and unrecognized values become other; raw headers and bodies are not printed. JSON decoding failure is reported separately as json_parse: failed. Use the selected runtime releases below, with their normal trusted CA certificates and network access to the dashboard-specified proxy. Keep destination TLS verification enabled. The setup commands assume a POSIX shell; run them in your own example directory. Configure the same environment variables in the deployed worker before invoking the diagnostic there. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#route-the-client-that-actually-calls-etg",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#route-the-client-that-actually-calls-etg"
  },"1417": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Python with Requests",
    "content": "This setup selects CPython 3.14.10 and Requests 2.34.2. The Python release is published; Requests 2.34.2 declares Python &gt;=3.10 and lists Python 3.14 support. These exact versions were checked in primary release/package metadata for this guide. Install CPython 3.14.10 through your approved runtime image or the official release, with venv and pip available. Requests version metadata. In an empty Python example directory, confirm python3.14 --version reports 3.14.10, create an isolated environment and install the pinned top-level dependency: . python3.14 --version python3.14 -m venv .venv .venv/bin/python -m pip install 'requests==2.34.2' . The remaining imports are Python standard-library modules. This pins Requests; its transitive dependencies are resolved by pip, not supplied as a frozen environment here. Python venv, PyPA installation guidance. Supply existing Sandbox credentials through your deployment’s secret mechanism. This deliberately uses an explicit proxy for each request, disables environment proxy inheritance, and sends ETG authentication only to ETG. Requests documents per-request proxies and Basic authentication; this is a REST client, not the ETG SDK. Requests documentation. Save the following code as ratehawk_overview.py in that directory. import ipaddress import json import os import requests from urllib.parse import urlsplit SETTING_NAMES = (\"QUOTAGUARDSTATIC_URL\", \"QG_IP_A\", \"QG_IP_B\", \"ETG_SANDBOX_KEY_ID\", \"ETG_SANDBOX_API_KEY\") class ConfigurationError(Exception): def __init__(self, variable): super().__init__(\"Missing required setting\") self.variable = variable if variable in SETTING_NAMES else \"unknown_setting\" def required(name): value = os.environ.get(name) if not value: raise ConfigurationError(name) return value def http_metadata(stage, status, raw_type): media = raw_type.split(\";\", 1)[0].strip().lower() if isinstance(raw_type, str) else \"\" allowed = {\"application/json\", \"application/problem+json\", \"text/html\", \"text/plain\", \"application/octet-stream\"} content_type = media if len(media) &lt;= 64 and media in allowed else \"other\" if not media: content_type = \"unavailable\" return {\"stage\": stage if stage in (\"echo\", \"etg\") else \"unknown\", \"http_status\": status if type(status) is int and 100 &lt;= status &lt;= 599 else None, \"content_type\": content_type} def read_json_response(stage, response): print(json.dumps(http_metadata(stage, response.status_code, response.headers.get(\"content-type\")))) try: result = json.loads(response.content) except (ValueError, UnicodeError, TypeError): print(json.dumps({\"stage\": stage, \"json_parse\": \"failed\"})) return None, False print(json.dumps({\"stage\": stage, \"json_parse\": \"ok\"})) return result, True def source_evidence(result, approved): debug = result.get(\"debug\") raw = debug.get(\"real_ip\") if isinstance(debug, dict) else None if raw is None: return \"unavailable\" if not isinstance(raw, str): return \"unusable\" try: observed = str(ipaddress.ip_address(raw)) except ValueError: return \"unusable\" return \"match\" if observed in approved else \"mismatch\" def overview_outcome(status, result, approved): shape_ok = isinstance(result, dict) evidence = source_evidence(result, approved) if shape_ok else \"unavailable\" accepted = (shape_ok and status == 200 and result.get(\"status\") == \"ok\" and result.get(\"error\") is None and isinstance(result.get(\"data\"), list)) return {\"overview_accepted\": accepted, \"etg_source_evidence\": evidence, \"diagnostic_passed\": accepted and evidence != \"mismatch\"} def failure_summary(error): if isinstance(error, ConfigurationError): return {\"stage\": \"configuration\", \"missing_variable\": error.variable, \"diagnostic_passed\": False} return {\"stage\": \"transport_or_validation\", \"diagnostic_passed\": False} def main(): config = {name: required(name) for name in SETTING_NAMES} proxy = config[\"QUOTAGUARDSTATIC_URL\"] if urlsplit(proxy).scheme != \"http\": raise ValueError(\"Static HTTP proxy URL required\") approved = {str(ipaddress.IPv4Address(config[name])) for name in (\"QG_IP_A\", \"QG_IP_B\")} with requests.Session() as session: session.trust_env = False options = {\"proxies\": {\"https\": proxy}, \"timeout\": (10, 20), \"allow_redirects\": False} echo = session.get(\"https://ip.quotaguard.com\", **options) echo_data, parsed = read_json_response(\"echo\", echo) if not parsed or echo.status_code != 200 or not isinstance(echo_data, dict): return 1 observed = str(ipaddress.IPv4Address(echo_data[\"ip\"])) if observed not in approved: print(json.dumps({\"stage\": \"echo\", \"echo_in_assigned_pair\": False})) return 1 response = session.get( \"https://api-sandbox.ratehawk.com/api/b2b/v3/overview/\", auth=(config[\"ETG_SANDBOX_KEY_ID\"], config[\"ETG_SANDBOX_API_KEY\"]), **options) result, parsed = read_json_response(\"etg\", response) if not parsed: return 1 outcome = overview_outcome(response.status_code, result, approved) print(json.dumps({\"echo_in_assigned_pair\": True, **outcome})) return 0 if outcome[\"diagnostic_passed\"] else 1 try: raise SystemExit(main()) except Exception as exc: print(json.dumps(failure_summary(exc))) raise SystemExit(1) . After the five environment variables are supplied and ETG has confirmed Sandbox access for the addresses, invoke the saved file from that directory: .venv/bin/python ratehawk_overview.py . ETG’s overview success example uses a data array and places real_ip directly under debug, beside request. The rejection example also uses debug.real_ip. Both clients check that optional value without printing it. Missing, null or unparseable metadata leaves source corroboration unavailable and does not fail an otherwise accepted request; a valid address outside the assigned pair stops the diagnostic for investigation. No debug.request.real_ip path is assumed. Overview example, rejection example. Treat an unexpected body as a diagnostic failure to inspect privately, not proof of an IP rejection. These illustrative timeouts are for this metadata diagnostic, not recommended booking timeouts. Retrieve endpoints. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#python-with-requests",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#python-with-requests"
  },"1418": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Node.js with an explicit Undici dispatcher",
    "content": "This setup selects Node.js 26.13.0 LTS, its bundled npm 11.20.0, and Undici 8.12.3. Undici’s exact-version metadata requires Node &gt;=22.19.0, which the selected Node release satisfies. Install Node using your approved runtime image or official release. Its release index records the bundled npm version. On Linux, follow the release’s system-library requirements, including libatomic where needed. Undici version metadata, ProxyAgent documentation for v8.12.3. In a separate empty Node example directory, confirm the versions below report v26.13.0 and 11.20.0, then initialize the local package and install Undici exactly: . node --version npm --version npm init -y npm install --save-exact undici@8.12.3 . This creates local package.json and package-lock.json files for the example. The .mjs filename explicitly selects ES modules, so no type edit is required. node:net is built into Node. npm initialization, exact dependency installation, Node module selection. Use the undici package with a compatible Node runtime. The ProxyAgent token belongs to the proxy; the Authorization header belongs to ETG. The same dispatcher serves both destinations, but they may use different connections and therefore different members of the assigned pair. Undici ProxyAgent. Save the following code as ratehawk-overview.mjs in that directory. import { ProxyAgent, fetch } from 'undici'; import { isIP, isIPv4 } from 'node:net'; const SETTING_NAMES = ['QUOTAGUARDSTATIC_URL', 'QG_IP_A', 'QG_IP_B', 'ETG_SANDBOX_KEY_ID', 'ETG_SANDBOX_API_KEY']; class ConfigurationError extends Error { constructor(variable) { super('Missing required setting'); this.variable = SETTING_NAMES.includes(variable) ? variable : 'unknown_setting'; } } function required(name) { const value = process.env[name]; if (!value) throw new ConfigurationError(name); return value; } function httpMetadata(stage, status, rawType) { const media = typeof rawType === 'string' ? rawType.split(';', 1)[0].trim().toLowerCase() : ''; const allowed = new Set(['application/json', 'application/problem+json', 'text/html', 'text/plain', 'application/octet-stream']); const contentType = !media ? 'unavailable' : media.length &lt;= 64 &amp;&amp; allowed.has(media) ? media : 'other'; return { stage: ['echo', 'etg'].includes(stage) ? stage : 'unknown', http_status: Number.isInteger(status) &amp;&amp; status &gt;= 100 &amp;&amp; status &lt;= 599 ? status : null, content_type: contentType }; } async function readJsonResponse(stage, response) { console.log(JSON.stringify(httpMetadata(stage, response.status, response.headers.get('content-type')))); try { const result = JSON.parse(await response.text()); console.log(JSON.stringify({ stage, json_parse: 'ok' })); return { result, parsed: true }; } catch { console.log(JSON.stringify({ stage, json_parse: 'failed' })); return { result: null, parsed: false }; } } function sourceEvidence(result, approved) { const raw = result?.debug?.real_ip; if (raw === undefined || raw === null) return 'unavailable'; if (typeof raw !== 'string' || isIP(raw) === 0) return 'unusable'; return approved.has(raw) ? 'match' : 'mismatch'; } function overviewOutcome(status, result, approved) { const shapeOK = result !== null &amp;&amp; typeof result === 'object' &amp;&amp; !Array.isArray(result); const evidence = shapeOK ? sourceEvidence(result, approved) : 'unavailable'; const accepted = shapeOK &amp;&amp; status === 200 &amp;&amp; result.status === 'ok' &amp;&amp; result.error === null &amp;&amp; Array.isArray(result.data); return { overview_accepted: accepted, etg_source_evidence: evidence, diagnostic_passed: accepted &amp;&amp; evidence !== 'mismatch' }; } function failureSummary(error) { return error instanceof ConfigurationError ? { stage: 'configuration', missing_variable: error.variable, diagnostic_passed: false } : { stage: 'transport_or_validation', diagnostic_passed: false }; } let dispatcher; try { const config = Object.fromEntries(SETTING_NAMES.map(name =&gt; [name, required(name)])); const proxy = new URL(config.QUOTAGUARDSTATIC_URL); if (proxy.protocol !== 'http:') throw new Error('Static URL required'); const credentials = decodeURIComponent(proxy.username) + ':' + decodeURIComponent(proxy.password); proxy.username = ''; proxy.password = ''; dispatcher = new ProxyAgent({ uri: proxy.href, token: 'Basic ' + Buffer.from(credentials).toString('base64') }); const approved = new Set([config.QG_IP_A, config.QG_IP_B]); if (![...approved].every(isIPv4)) throw new Error('IPv4 values required'); const options = () =&gt; ({ dispatcher, redirect: 'error', signal: AbortSignal.timeout(30000) }); const echo = await fetch('https://ip.quotaguard.com', options()); const echoBody = await readJsonResponse('echo', echo); if (!echoBody.parsed || echo.status !== 200 || !echoBody.result || typeof echoBody.result !== 'object') throw new Error('Echo failed'); if (!approved.has(echoBody.result.ip)) { console.log(JSON.stringify({ stage: 'echo', echo_in_assigned_pair: false })); throw new Error('Unexpected egress'); } const response = await fetch( 'https://api-sandbox.ratehawk.com/api/b2b/v3/overview/', { ...options(), headers: { Authorization: 'Basic ' + Buffer.from( config.ETG_SANDBOX_KEY_ID + ':' + config.ETG_SANDBOX_API_KEY).toString('base64') } }); const decoded = await readJsonResponse('etg', response); if (!decoded.parsed) { process.exitCode = 1; } else { const outcome = overviewOutcome(response.status, decoded.result, approved); console.log(JSON.stringify({ echo_in_assigned_pair: true, ...outcome })); process.exitCode = outcome.diagnostic_passed ? 0 : 1; } } catch (error) { console.error(JSON.stringify(failureSummary(error))); process.exitCode = 1; } finally { try { await dispatcher?.close(); } catch { console.error(JSON.stringify({ stage: 'cleanup', diagnostic_passed: false })); process.exitCode = 1; } } . After supplying the same five environment variables and confirming ETG’s Sandbox approval, run: . node ratehawk-overview.mjs . ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#nodejs-with-an-explicit-undici-dispatcher",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#nodejs-with-an-explicit-undici-dispatcher"
  },"1419": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Other clients and ETG SDKs",
    "content": "| Client | Documented attachment point and limitation | . | curl | Explicit –proxy; –noproxy “” overrides bypass rules. Keep credentials out of pasted command arguments. curl manual. | . | Go net/http | Attach http.ProxyURL(parsedProxyURL) to a dedicated Transport. Configure the ETG request’s Basic auth separately. net/http. | . | PHP Guzzle | Explicit proxy request option; keep auth separate, disable redirects for this diagnostic. Guzzle options. | . | Official ETG Python SDK, inspected revision | overview forwards request kwargs to Requests; BASE_PATH is read at import, with a deprecated default. Set the correct Sandbox base before import and attach proxies explicitly. Verify the installed revision. Client, endpoints. | . | Official ETG PHP SDK, inspected revision | Constructor forwards Guzzle defaults, but overview($options) discards its options. Absolute endpoint constants use the deprecated host, so base_uri alone cannot replace them. Use an updated, reviewed implementation or direct Guzzle for this diagnostic. Client, endpoints. | . Use the attachment point supported by your installed client version and verify the deployed process. Node’s built-in fetch can use environment proxies on documented versions when enabled: NODE_USE_ENV_PROXY=1 supports fetch in v22.21.0 and v24.0.0+, while –use-env-proxy is documented from v22.21.0 and v24.5.0. Custom dispatchers and NO_PROXY affect the route. The example above explicitly uses Undici. Node proxy configuration, CLI flag. If adapting this to axios, its current Node http adapter’s httpVersion: 2 path ignores environment proxies and rejects an explicit proxy configuration. That is a documented adapter limitation, not a claim that every custom HTTP/2 transport is impossible. axios configuration, HTTP/2 scope, v1.13.0+. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#other-clients-and-etg-sdks",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#other-clients-and-etg-sdks"
  },"1420": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Verify in layers without making a reservation",
    "content": "Use this procedure from the deployed backend: . | Obtain ETG’s confirmation for the selected addresses and Sandbox access. Confirm overview is available to the Sandbox key. | Run an IP-echo check from the deployed worker using the intended supplier client’s proxy configuration, without ETG credentials on that request. The returned address must belong to the dashboard pair. | Issue one authenticated GET to https://api-sandbox.ratehawk.com/api/b2b/v3/overview/. No body, guest data, card data, booking identifiers, or write endpoints are needed. | Check the HTTP result and ETG’s status/error fields. Success establishes this key’s access to overview over this route at that time. If present and parseable, debug.real_ip corroborates ETG’s observed source. Compare it with both assigned addresses, not just the echo result. Missing debug must not prevent an otherwise successful access result; a valid mismatch requires investigation. The field is optional and may change. | Retain only a sanitized internal record: UTC time, deployment/client versions, environment, method/path, HTTP status, ETG error and request ID if supplied, and whether the observed address belongs to the assigned pair. | . The endpoint and its limited availability are documented under Retrieve endpoints. Sandbox restrictions are documented under Sandbox. An echo success is routing evidence for the echo destination. An overview success is access evidence for that ETG endpoint; a matching debug.real_ip adds destination-reported source evidence. Without that metadata, the response alone does not independently establish the source address ETG observed. Neither demonstrates both proxy nodes, booking behavior, production permission, retries, or failover. Repeated checks may remain on one IP because connections and DNS are reused. Obtain approval of both addresses; plan any controlled per-node verification separately using supported QuotaGuard connection details. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#verify-in-layers-without-making-a-reservation",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#verify-in-layers-without-making-a-reservation"
  },"1421": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Match the failure to the responsible layer",
    "content": "| Observation | Next diagnostic action | . | Proxy 407 | Inspect proxy authentication before investigating ETG credentials. | . | Echo outside assigned pair | Stop. Inspect the actual client, deployment secrets, dispatcher/transport attachment and bypass rules. | . | ETG not_allowed_host | Documented host/IP permission failure, listed under HTTP 400. Compare ETG’s observed address if supplied and the registration record. | . | no_auth_header / invalid_auth_header / incorrect_credentials | Inspect ETG Basic auth and the environment/key pairing. | . | not_allowed / endpoint_not_found / endpoint_not_active / api_access_disabled | Inspect key permissions, endpoint activation or account access. | . | endpoint_exceeded_limit, HTTP 429 | Respect the key’s current endpoint limit; stop rapid retries. | . | lock / overdue_debt | Treat as a duplicate-request state or account billing issue respectively, not an IP diagnosis. | . | DNS, TLS or connection timeout | Inspect the network/client layer. A timeout alone does not establish an allowlist failure. | . | Generic 401/403 or a non-JSON response | Preserve a sanitized diagnostic privately. Do not label it an IP rejection without specific evidence. | . ETG error names and meanings come from Errors; 407 is a proxy-layer signal documented in the curl manual. Resolve unauthorized errors before repeating requests; ETG warns prolonged unauthorized traffic can lead to an IP ban. With shared addresses, an IP-level restriction could affect more than one subscriber. That is a risk inference, not evidence of an ETG collateral-ban incident. Dedicated addresses can address exclusivity, but do not bypass ETG policy. This guide does not prescribe booking retries. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#match-the-failure-to-the-responsible-layer",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#match-the-failure-to-the-responsible-layer"
  },"1422": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Size and operate the chosen route",
    "content": "Budget for request and response bandwidth, including TLS/tunnel overhead. Hotel content transfers can make bandwidth more relevant than call count. Keep large downloads out of this metadata diagnostic. For production content or dump retrieval, establish the endpoint-specific approved route before deciding whether to proxy it; do not switch it directly merely to avoid metering if source-IP registration still applies. With HTTPS CONNECT, a metered QuotaGuard request is a tunnel opening, so pooled API calls are not necessarily billed individually. Account for reconnects and compare total operating costs with existing native egress. Public request-counting rules. HTTPS CONNECT tunnels have a 600-second maximum lifetime. Retire pooled connections before that age and use endpoint-appropriate timeouts; a timeout or disconnect during an eventual booking workflow needs ETG’s operation-specific handling. Do not add automatic booking retries based on this connectivity guide. QuotaGuard also documents SOCKS5 and QGTunnel as options without this fixed lifetime cap, using the same assigned static IPs. Their suitability for a particular ETG client and workflow still needs verification; this is not an ETG compatibility claim. Technical FAQ, longer time-outs. Before changing region, shared/dedicated allocation or Static/Shield product, arrange approval of the new addresses and coordinate the cutover. Keep rollback possible until the new route is verified. Confirm the exact new connection details and overlap arrangement with Support for the specific move. Dedicated-move credential behavior is operation-specific. Address stability is scoped to the active subscription and allocation, not ownership after cancellation. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#size-and-operate-the-chosen-route",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#size-and-operate-the-chosen-route"
  },"1423": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "Questions before selecting QuotaGuard",
    "content": "Do I need a separate pair for every ETG environment? Public documentation establishes environment separation, not an address-allocation rule. Confirm how approvals attach to keys and contracts. Can shared addresses work? They are a candidate only if ETG accepts them for your case. If exclusivity is required, use dedicated infrastructure and still confirm address count and approval. Do fixed IPs replace API credentials? No. Keep destination HTTPS, ETG Basic auth and key permissions. What should I bring to QuotaGuard? Your runtime/client version, region, whether ETG accepts a shared pair, expected bandwidth and sanitized error details. Never include API or proxy secrets in a public ticket or screenshot. For the broader app architecture, see connecting a Lovable travel app. This guide covers the ETG-specific registration and diagnostic details. If your backend needs managed outbound identity and ETG accepts the proposed route, compare QuotaGuard plans or discuss the client setup. If your existing NAT route meets the need, keep it. ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#questions-before-selecting-quotaguard",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/#questions-before-selecting-quotaguard"
  },"1424": {
    "doc": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "title": "RateHawk API IP Whitelisting: Register Source IPs and Fix not_allowed_host",
    "content": " ",
    "url": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/",
    "relUrl": "/docs/apis/ratehawk/ratehawk-etg-ip-whitelisting/"
  },"1425": {
    "doc": "Reactivating 6+ Months Dormant Starters",
    "title": "Reactivating 6+ Months Dormant Starters",
    "content": "Q: How to reactivate dormant Heroku Accounts? . A: If a Heroku Account is on a Starter payment plan and had no activity for 6 months, QuotaGuard deactivates them. To reactivate the account: . It’s simple…just login to QuotaGuard system via Heroku Dashboard or CLI. Deactivated accounts cannot use the proxy, but will be able to once it is reactivated . If you have questions, or if this solution doesn’t work or fit your use case, please reach out to us at Support so we can help figure it out with you. ",
    "url": "/docs/platforms/heroku/reactivating-dormant-apps/",
    "relUrl": "/docs/platforms/heroku/reactivating-dormant-apps/"
  },"1426": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "The Problem: A CIDR Allow List Needs an Address You Do Not Have",
    "content": "Redis Cloud’s CIDR allow list restricts traffic to your database. Redis’s documentation states that when an allow list is configured, only the IP addresses defined in it can connect, and traffic from every other address is blocked. That is the control your security review asks for. It is also unusable on a platform whose egress IPs rotate, because there is no stable CIDR to enter. The failure looks like a network problem rather than an authentication problem: . Error: connect ETIMEDOUT . redis.exceptions.ConnectionError: Error 110 connecting to redis-12345.c1.us-east-1-2.ec2.redns.redis-cloud.com:12345. Connection timed out. redis: dial tcp: i/o timeout . The tell is a timeout rather than WRONGPASS or NOAUTH. A credential error means you reached the database. A timeout at connect time usually means the allow list refused you first. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-problem-a-cidr-allow-list-needs-an-address-you-do-not-have",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-problem-a-cidr-allow-list-needs-an-address-you-do-not-have"
  },"1427": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "The Common Workaround",
    "content": "The usual response is to allow 0.0.0.0/0, or to leave the CIDR allow list turned off entirely. Redis Cloud databases are reachable on a public endpoint. With no network restriction, your password is the only thing between the internet and your data, and the control your compliance reviewer asked about is not actually in place. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-common-workaround",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-common-workaround"
  },"1428": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "The QuotaGuard Solution",
    "content": "Route your Redis connections through QuotaGuard’s SOCKS5 proxy. Traffic exits from one of the two static IP addresses assigned to your subscription. Add those two addresses to the allow list. | Network-level protection is real, not nominal | The same two IPs work from every platform in your stack | Adding a worker on Fly.io or moving off Heroku changes nothing on the Redis side | The allow list stops being a maintenance burden | . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-quotaguard-solution",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-quotaguard-solution"
  },"1429": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Native Redis Cloud Options (What They Cover)",
    "content": "| Option | Requirements | Best for | . | Database-level CIDR allow list | Paid Redis Cloud Essentials or Redis Cloud Pro | Any application that can present a stable source address | . | Subscription-level CIDR allow list | Bring Your Own Cloud subscriptions | BYOC deployments that want one list across every database | . | VPC peering | Redis Cloud Pro, same cloud provider | Teams already operating inside a matching VPC | . | Transit Gateway | AWS, Redis Cloud Pro | Enterprise AWS networking already in place | . Two details from Redis’s documentation are worth knowing before you start. The CIDR allow list is not available on free Redis Cloud Essentials plans. You need a paid Essentials plan or Redis Cloud Pro. The database allow list applies to both the public endpoint and the private endpoint. If you reach the database over VPC peering or Transit Gateway, those addresses must be on the list too. Turning on the allow list does not exempt private connectivity. Use QuotaGuard when: . | Your application runs on a platform with dynamic egress IPs you cannot enumerate | Your platform does not support VPC peering at all, which covers Heroku, Render, Railway, Vercel, and most serverless runtimes | Your stack spans several platforms and you want one pair of allow list entries for all of them | You want the allow list on today without an infrastructure project | You need the same static identity for other destinations too, not just Redis | . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#native-redis-cloud-options-what-they-cover",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#native-redis-cloud-options-what-they-cover"
  },"1430": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard, where you can find your proxy credentials and the two static IP addresses assigned to your subscription. Choose the right proxy region. Redis is used for latency-sensitive work. Cache reads, session lookups, and queue polling happen constantly, so an extra hop across regions is felt more here than almost anywhere else. Match your QuotaGuard region to the cloud region hosting your Redis Cloud database. QuotaGuard proxies run in 12 AWS regions: . | Region | Location | . | US-East-1 | N. Virginia | . | US-East-2 | Ohio | . | US-West-2 | Oregon | . | CA-Central-1 | Montreal | . | EU-West-1 | Ireland | . | EU-West-2 | London | . | EU-Central-1 | Frankfurt | . | AP-Northeast-1 | Tokyo | . | AP-Southeast-1 | Singapore | . | AP-Southeast-2 | Sydney | . | AP-South-1 | Mumbai | . | SA-East-1 | Sao Paulo | . Your Redis Cloud database’s region appears on its Configuration screen, and it is also encoded in the endpoint hostname. Pick the matching QuotaGuard region, or the nearest available one, from the region list in your dashboard. Your QuotaGuard SOCKS5 credentials look like this: . Host: &lt;region&gt;-static-01.quotaguard.com Port: 1080 Username: your-username Password: your-password . For example, us-east-static-01.quotaguard.com. Use the exact host and credentials shown in your QuotaGuard dashboard rather than assembling a hostname by hand. Finding your static IPs: both addresses are shown in the QuotaGuard dashboard. Allowlist both. The dashboard pair is the single source of truth. Do not resolve the proxy hostname to obtain an address, and do not allowlist only one of the two. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#getting-started",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#getting-started"
  },"1431": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Note Your Redis Cloud Endpoint Port",
    "content": "Redis Cloud assigns each database its own endpoint and port. The port is generally not 6379. It looks like this: . redis-12345.c1.us-east-1-2.ec2.redns.redis-cloud.com:12345 . Copy the exact host and port from your database’s Configuration screen. You will need both for the tunnel mapping below, and the local port you map should match the port your client expects. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#note-your-redis-cloud-endpoint-port",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#note-your-redis-cloud-endpoint-port"
  },"1432": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Configuring the Redis Cloud CIDR Allow List",
    "content": " ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#configuring-the-redis-cloud-cidr-allow-list",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#configuring-the-redis-cloud-cidr-allow-list"
  },"1433": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 1: Open the Database Security Settings",
    "content": ". | Select Databases from the Redis Cloud console menu | Select your database from the list | On the database’s Configuration screen, select Edit database | Find the Security section | . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-1-open-the-database-security-settings",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-1-open-the-database-security-settings"
  },"1434": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 2: Turn On the CIDR Allow List",
    "content": "Turn on the CIDR allow list toggle, then enter each address in CIDR notation and confirm it with the check mark. Use Add CIDR to add the second one. Add both static IPs from your QuotaGuard dashboard as /32 entries: . 203.0.113.10/32 203.0.113.11/32 . Substitute the actual addresses shown in your dashboard. A /32 mask means exactly that one address. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-2-turn-on-the-cidr-allow-list",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-2-turn-on-the-cidr-allow-list"
  },"1435": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 3: Add Any Other Sources Before You Save",
    "content": "Anything not on the list is blocked. If your application also connects from an office network, a CI runner, or a bastion host, add those CIDRs in the same pass. If you reach the database over VPC peering or Transit Gateway, add those addresses too, because the database allow list applies to the private endpoint as well as the public one. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-3-add-any-other-sources-before-you-save",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-3-add-any-other-sources-before-you-save"
  },"1436": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 4: Verify Before You Rely on It",
    "content": "Confirm a successful connection through the proxy before you decommission whatever access path you were using previously. Add the pair, deploy the proxy configuration, confirm the application connects, then tighten. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-4-verify-before-you-rely-on-it",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-4-verify-before-you-rely-on-it"
  },"1437": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Configuring Your Application",
    "content": "Redis speaks its own protocol over a plain TCP port. This needs a SOCKS5 proxy, not an HTTP proxy. QuotaGuard’s SOCKS5 service runs on port 1080. Redis is friendlier here than Postgres is. Several Redis clients are written in the host language rather than wrapping a C library, so a socket-level proxy actually reaches them. | Language or stack | Recommended approach | . | Go (go-redis) | Direct SOCKS5 with a custom dialer | . | Python (redis-py) | Direct SOCKS5 with PySocks, or QGTunnel | . | Ruby (redis-rb) | Direct SOCKS5 with socksify, or QGTunnel | . | Java (Jedis, Lettuce) | JVM SOCKS system properties, or QGTunnel | . | Node.js (ioredis, node-redis) | QGTunnel | . | PHP (phpredis) | QGTunnel | . | Elixir (Redix) | QGTunnel | . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#configuring-your-application",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#configuring-your-application"
  },"1438": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Go with go-redis",
    "content": "go-redis accepts a custom dialer on its options struct, which makes this the cleanest integration of the set. go get golang.org/x/net/proxy . package main import ( \"context\" \"fmt\" \"log\" \"net\" \"os\" \"github.com/redis/go-redis/v9\" \"golang.org/x/net/proxy\" ) func main() { auth := &amp;proxy.Auth{ User: os.Getenv(\"QUOTAGUARD_SOCKS_USER\"), Password: os.Getenv(\"QUOTAGUARD_SOCKS_PASS\"), } socksAddr := fmt.Sprintf(\"%s:%s\", os.Getenv(\"QUOTAGUARD_SOCKS_HOST\"), os.Getenv(\"QUOTAGUARD_SOCKS_PORT\"), ) socksDialer, err := proxy.SOCKS5(\"tcp\", socksAddr, auth, proxy.Direct) if err != nil { log.Fatal(\"socks5 dialer:\", err) } opt, err := redis.ParseURL(os.Getenv(\"REDIS_URL\")) if err != nil { log.Fatal(\"parse redis url:\", err) } opt.Dialer = func(ctx context.Context, network, addr string) (net.Conn, error) { return socksDialer.Dial(network, addr) } rdb := redis.NewClient(opt) defer rdb.Close() if err := rdb.Set(context.Background(), \"quotaguard:test\", \"ok\", 0).Err(); err != nil { log.Fatal(\"set:\", err) } val, err := rdb.Get(context.Background(), \"quotaguard:test\").Result() if err != nil { log.Fatal(\"get:\", err) } fmt.Println(\"Connected to Redis Cloud through QuotaGuard:\", val) } . If your database has TLS enabled, redis.ParseURL on a rediss:// URL sets the TLS config for you, and the dialer still applies underneath it. The hostname stays intact, so certificate verification behaves normally. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#go-with-go-redis",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#go-with-go-redis"
  },"1439": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Python with redis-py",
    "content": "redis-py is pure Python and opens its sockets through the standard socket module, so PySocks reaches it. This is a real difference from Postgres, where psycopg2 wraps libpq and never passes through Python’s socket layer. pip install redis PySocks . import os import socket import socks import redis socks.set_default_proxy( socks.SOCKS5, os.environ[\"QUOTAGUARD_SOCKS_HOST\"], int(os.environ.get(\"QUOTAGUARD_SOCKS_PORT\", 1080)), username=os.environ[\"QUOTAGUARD_SOCKS_USER\"], password=os.environ[\"QUOTAGUARD_SOCKS_PASS\"], ) socket.socket = socks.socksocket r = redis.from_url(os.environ[\"REDIS_URL\"]) r.set(\"quotaguard:test\", \"ok\") print(\"Connected to Redis Cloud through QuotaGuard:\", r.get(\"quotaguard:test\")) . socks.set_default_proxy() affects every socket in the process. If your application also talks to services that must not go through the proxy, that global patch will catch them too. Where that matters, use QGTunnel instead so the routing is scoped to one port rather than the whole runtime. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#python-with-redis-py",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#python-with-redis-py"
  },"1440": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Ruby with redis-rb",
    "content": "gem install redis socksify . require 'redis' require 'socksify' TCPSocket.socks_server = ENV['QUOTAGUARD_SOCKS_HOST'] TCPSocket.socks_port = ENV['QUOTAGUARD_SOCKS_PORT'].to_i TCPSocket.socks_username = ENV['QUOTAGUARD_SOCKS_USER'] TCPSocket.socks_password = ENV['QUOTAGUARD_SOCKS_PASS'] redis = Redis.new(url: ENV['REDIS_URL']) redis.set('quotaguard:test', 'ok') puts \"Connected to Redis Cloud through QuotaGuard: #{redis.get('quotaguard:test')}\" . For Rails, put the socksify configuration in an initializer that runs before anything opens a Redis connection: . # config/initializers/socks_proxy.rb require 'socksify' if ENV['QUOTAGUARD_SOCKS_HOST'].present? TCPSocket.socks_server = ENV['QUOTAGUARD_SOCKS_HOST'] TCPSocket.socks_port = ENV['QUOTAGUARD_SOCKS_PORT'].to_i TCPSocket.socks_username = ENV['QUOTAGUARD_SOCKS_USER'] TCPSocket.socks_password = ENV['QUOTAGUARD_SOCKS_PASS'] end . As with PySocks, this patches TCPSocket process-wide. Sidekiq and ActionCable will route through the proxy too, which is usually what you want when they share the same Redis, but confirm it is what you want. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#ruby-with-redis-rb",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#ruby-with-redis-rb"
  },"1441": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Java with Jedis or Lettuce",
    "content": "The JVM’s SOCKS system properties apply to plain socket connections, which covers both Jedis and Lettuce’s default transport. System.setProperty(\"socksProxyHost\", System.getenv(\"QUOTAGUARD_SOCKS_HOST\")); System.setProperty(\"socksProxyPort\", System.getenv(\"QUOTAGUARD_SOCKS_PORT\")); Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication( System.getenv(\"QUOTAGUARD_SOCKS_USER\"), System.getenv(\"QUOTAGUARD_SOCKS_PASS\").toCharArray() ); } }); JedisPool pool = new JedisPool(URI.create(System.getenv(\"REDIS_URL\"))); try (Jedis jedis = pool.getResource()) { jedis.set(\"quotaguard:test\", \"ok\"); System.out.println(\"Connected to Redis Cloud through QuotaGuard: \" + jedis.get(\"quotaguard:test\")); } . These properties are JVM-wide. If Lettuce is configured with a Netty native transport rather than the default NIO socket, the system properties may not apply. Confirm against your configuration, and fall back to QGTunnel if the source address does not change. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#java-with-jedis-or-lettuce",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#java-with-jedis-or-lettuce"
  },"1442": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Using QGTunnel",
    "content": "QGTunnel maps a local port to a remote destination through the QuotaGuard proxy. Your application connects to localhost. No client proxy support is needed, and the routing is scoped to one port instead of the whole process. This is the right choice for Node.js and PHP, where the clients have no usable proxy hook, and for any runtime where a process-wide socket patch would catch traffic you did not intend to route. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#using-qgtunnel",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#using-qgtunnel"
  },"1443": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 1: Download QGTunnel",
    "content": "curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . This creates bin/qgtunnel and supporting files under vendor/nss_wrapper/. The binary targets Linux. If you develop on macOS or Windows, test tunnel configuration inside a Linux container or VM so your local environment matches production. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-1-download-qgtunnel",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-1-download-qgtunnel"
  },"1444": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 2: Create the Tunnel in Your Dashboard",
    "content": "In your QuotaGuard dashboard, go to Setup (the gear icon, top-right) &gt; QGTunnel Configuration &gt; Create a Tunnel. | Setting | Value | . | Remote Destination | tcp://&lt;your-redis-cloud-endpoint&gt;:&lt;your-port&gt; | . | Local Port | the same port your client expects | . | Transparent | false | . | Encrypted | false | . Take the endpoint and port from your Redis Cloud database’s Configuration screen, not from this page. Set Encrypted to true only if your Redis Cloud database does not have TLS enabled and you want the tunnel to encrypt the hop itself. If TLS is already on, the connection is encrypted end to end and the tunnel’s own encryption is redundant. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-2-create-the-tunnel-in-your-dashboard",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-2-create-the-tunnel-in-your-dashboard"
  },"1445": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 3: Download the Configuration File",
    "content": "Download the configuration file from the dashboard and save it as .qgtunnel in your project root, then commit it. With the file present, your application does not depend on reaching the QuotaGuard API at startup. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-3-download-the-configuration-file",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-3-download-the-configuration-file"
  },"1446": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 4: Point Your Application at the Tunnel",
    "content": "Original: . redis://default:&lt;password&gt;@redis-12345.c1.us-east-1-2.ec2.redns.redis-cloud.com:12345 . Through the tunnel: . redis://default:&lt;password&gt;@localhost:12345 . If your database uses TLS, connecting to localhost breaks certificate hostname verification. Use QGTunnel’s transparent mode instead, which overrides DNS for the Redis Cloud hostname and keeps your original connection string untouched. Do not disable certificate verification to work around this. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-4-point-your-application-at-the-tunnel",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-4-point-your-application-at-the-tunnel"
  },"1447": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Step 5: Run Your Application Under QGTunnel",
    "content": "Local or generic: . bin/qgtunnel node server.js . Heroku (Procfile): . web: bin/qgtunnel node server.js worker: bin/qgtunnel node worker.js . Render (start command): . bin/qgtunnel npm start . Railway (start command): . bin/qgtunnel npm start . Fly.io (fly.toml): . [processes] app = \"bin/qgtunnel npm start\" . Docker: . ENTRYPOINT [\"/app/bin/qgtunnel\"] CMD [\"node\", \"server.js\"] . Kubernetes (container spec): . command: [\"/app/bin/qgtunnel\"] args: [\"node\", \"server.js\"] . QGTunnel must be the entrypoint so it is listening before your application opens its first connection. If you run background workers as separate processes, each one needs its own QGTunnel wrapper. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-5-run-your-application-under-qgtunnel",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#step-5-run-your-application-under-qgtunnel"
  },"1448": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Testing Your Implementation",
    "content": " ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#testing-your-implementation",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#testing-your-implementation"
  },"1449": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Confirm the Source Address Redis Sees",
    "content": "Redis reports the address of each connected client. Run CLIENT LIST from your application and read the addr field: . Python: . info = r.client_list() for client in info: print(client[\"addr\"]) . Go: . out, err := rdb.ClientList(context.Background()).Result() if err != nil { log.Fatal(err) } fmt.Println(out) . Your own connection’s address should match one of the two static IPs in your QuotaGuard dashboard. Which one you get is decided per connection and can be either, so allowlist both. Repeated tests may show the same address or different ones, and both are normal. If the service you are allowlisting can only accept a single address, you can connect to one node of the pair directly and always use that IP, at the cost of the pair’s failover. See How to use one static IP address. Note that CLIENT LIST is restricted on some Redis Cloud plans and roles. If it is unavailable, use the check below instead. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#confirm-the-source-address-redis-sees",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#confirm-the-source-address-redis-sees"
  },"1450": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Confirm the Outbound IP Separately",
    "content": "An independent check that does not depend on the Redis connection at all: . import os import requests proxy_url = os.environ[\"QUOTAGUARDSTATIC_URL\"] proxies = {\"http\": proxy_url, \"https\": proxy_url} response = requests.get(\"https://ip.quotaguard.com\", proxies=proxies) print(\"Outbound IP:\", response.json()[\"ip\"]) . A connection that succeeds while reporting an address not in your dashboard means the proxy configuration was not applied to that connection. A successful PING is not by itself proof that traffic went through the proxy, so check the address rather than assuming. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#confirm-the-outbound-ip-separately",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#confirm-the-outbound-ip-separately"
  },"1451": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Latency Considerations",
    "content": "Redis is the most latency-sensitive destination in a typical stack. A cache lookup that took a millisecond now takes a round trip through an extra hop, and applications often make many Redis calls per request. To keep the impact small: . | Match all three regions. Application, QuotaGuard proxy, and Redis Cloud database in the same cloud region wherever possible. This matters more for Redis than for anything else you will proxy. | Use connection pooling. Let the client hold persistent connections. Through a proxy you pay the setup cost on every new connection, so per-request connections are the worst case. | Use pipelining and MULTI where you already can. Batching commands reduces the number of round trips the extra hop applies to. | Reconsider what belongs in Redis. If a code path makes dozens of sequential Redis calls per request, the added hop multiplies across all of them. | . Measure against your own workload and region pairing rather than assuming a fixed figure. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#latency-considerations",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#latency-considerations"
  },"1452": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#troubleshooting",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#troubleshooting"
  },"1453": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Connection times out, no authentication error",
    "content": "The allow list is refusing you before the password is checked. In order: . | Confirm both QuotaGuard IPs are on the list, not just one | Confirm the addresses match your dashboard exactly, including the /32 mask | Confirm the CIDR allow list toggle is actually on and the change was saved | Confirm the connection is going through the proxy using the checks above | Confirm you are using SOCKS5 on port 1080, not the HTTP proxy on 9293 | . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#connection-times-out-no-authentication-error",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#connection-times-out-no-authentication-error"
  },"1454": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "The CIDR allow list option is not available",
    "content": "Redis’s documentation states the CIDR allow list requires a paid Redis Cloud Essentials plan or Redis Cloud Pro. It is not supported on free Essentials plans. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-cidr-allow-list-option-is-not-available",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#the-cidr-allow-list-option-is-not-available"
  },"1455": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "It worked over VPC peering and broke after enabling the allow list",
    "content": "The database allow list applies to the private endpoint as well as the public one. Peered or Transit Gateway source addresses must be on the list too. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#it-worked-over-vpc-peering-and-broke-after-enabling-the-allow-list",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#it-worked-over-vpc-peering-and-broke-after-enabling-the-allow-list"
  },"1456": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "WRONGPASS or NOAUTH",
    "content": "A Redis credential error, not a proxy or allow list problem. You reached the database. Check the password and, if you use RBAC, the username and its role. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#wrongpass-or-noauth",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#wrongpass-or-noauth"
  },"1457": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "TLS certificate verification fails after adding the tunnel",
    "content": "You are connecting to localhost while the certificate is issued for the Redis Cloud hostname. Switch QGTunnel to transparent mode so the original hostname is preserved. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#tls-certificate-verification-fails-after-adding-the-tunnel",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#tls-certificate-verification-fails-after-adding-the-tunnel"
  },"1458": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "TLS is not available on a Heroku add-on database",
    "content": "Redis’s support documentation notes that Redis Cloud databases provisioned through the Heroku add-on do not expose the option to enable TLS, regardless of the add-on plan size. Moving to a direct Redis Cloud subscription is the path to TLS. This is separate from the proxy configuration. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#tls-is-not-available-on-a-heroku-add-on-database",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#tls-is-not-available-on-a-heroku-add-on-database"
  },"1459": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "SOCKS authentication failed",
    "content": ". | Check the SOCKS username and password against your dashboard | Check for characters in the password that need URL encoding when embedded in a URL | Confirm SOCKS5, not SOCKS4 | . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#socks-authentication-failed",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#socks-authentication-failed"
  },"1460": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Other outbound traffic started routing through the proxy unexpectedly",
    "content": "socks.set_default_proxy() in Python and TCPSocket.socks_server in Ruby patch sockets process-wide. Every outbound connection in that process now goes through the proxy, which consumes bandwidth against your plan and may break services that expect a different source address. Use QGTunnel instead to scope the routing to a single port. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#other-outbound-traffic-started-routing-through-the-proxy-unexpectedly",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#other-outbound-traffic-started-routing-through-the-proxy-unexpectedly"
  },"1461": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "ECONNREFUSED 127.0.0.1",
    "content": "QGTunnel is not listening. It either did not start, started after your application, or has no mapping for that local port. Make QGTunnel the process entrypoint so it initializes first. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#econnrefused-127001",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#econnrefused-127001"
  },"1462": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Environment Variables Reference",
    "content": "# SOCKS5 proxy (port 1080) - used for Redis and other TCP connections QUOTAGUARD_SOCKS_HOST=&lt;region&gt;-static-01.quotaguard.com QUOTAGUARD_SOCKS_PORT=1080 QUOTAGUARD_SOCKS_USER=your-username QUOTAGUARD_SOCKS_PASS=your-password # HTTP proxy (port 9293) - used for HTTP and HTTPS requests QUOTAGUARDSTATIC_URL=http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 # Your Redis Cloud connection string, copied from the console REDIS_URL=redis://default:&lt;password&gt;@&lt;your-redis-cloud-endpoint&gt;:&lt;your-port&gt; . Use the exact values from your QuotaGuard dashboard and your Redis Cloud console. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#environment-variables-reference",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#environment-variables-reference"
  },"1463": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Security Best Practices",
    "content": ". | Turn the CIDR allow list on and keep it narrow. A list containing 0.0.0.0/0 provides no protection. | Allowlist both static IPs. Allowlisting one produces intermittent failures that are hard to diagnose. | Enable TLS where your plan supports it. The allow list controls who can connect. TLS controls what an observer on the path can read. They solve different problems. | Use RBAC rather than one shared password. Give each application its own user and role. | Never commit credentials. Use your platform’s secret storage for both the Redis URL and the proxy credentials. | Rotate credentials periodically, on both the Redis Cloud and QuotaGuard sides. | . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#security-best-practices",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#security-best-practices"
  },"1464": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price (direct) | $19/month | $29/month | . Static is right for most applications connecting to Redis Cloud. Choose Shield if the workload handles regulated data under HIPAA, PCI-DSS, or SOC 2, or if your environment requires TLS between your app and the proxy itself. Redis deserves a specific note here. A Redis Cloud database without TLS enabled carries commands and values in the clear, and session tokens, personal data, and cached API responses routinely live in Redis. If TLS is not available on your plan and the data is sensitive, either move to a plan that supports it or use QGTunnel’s encrypted mode so the hop is not plaintext. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#quotaguard-static-vs-quotaguard-shield"
  },"1465": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Turn on your CIDR allow list without locking your own application out. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/#ready-to-get-started",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/#ready-to-get-started"
  },"1466": {
    "doc": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "title": "QuotaGuard and Redis Cloud CIDR Allow List Integration Guide",
    "content": "QuotaGuard Static IPs let your cloud application connect to a Redis Cloud database that has a CIDR allow list enabled. You add the two static IPs assigned to your subscription, and every connection arrives from a known address no matter which platform your app runs on. You do not need QuotaGuard for local development or for infrastructure with stable IPs. This guide is for applications on Heroku, Render, Railway, Fly.io, Vercel, AWS Lambda, Google Cloud Run, Kubernetes, and other platforms where outbound IPs are dynamic. ",
    "url": "/docs/databases/redis/redis-cloud-cidr-allow-list/",
    "relUrl": "/docs/databases/redis/redis-cloud-cidr-allow-list/"
  },"1467": {
    "doc": "Registering an Account",
    "title": "Free Trial with No Restrictions",
    "content": "    If you are working on getting your connection(s) setup and need a longer trial to get everything configured and tested, send us an email to our Support team so we can push that date out for you.     We are only interested in your business if we’re the right solution for the long term, so please let us know if you need a longer trial to determine if we’re the right solution for your use case. You can use the full functionality of the service as soon as you register with QuotaGuard. You can trial QuotaGuard with: . | Multiple Resources . | Multiple Endpoints . | Multiple Connections . | Multiple Applications . | Multiple Users . | . There are no unique limitations during the trial period. ",
    "url": "/docs/getting-started/register-account/#free-trial-with-no-restrictions",
    "relUrl": "/docs/getting-started/register-account/#free-trial-with-no-restrictions"
  },"1468": {
    "doc": "Registering an Account",
    "title": "Register Your Account",
    "content": "Step One: Navigate to the Pricing Page . Navigate to the Pricing Page to start the account registration process. Step Two: Select the Appropriate QuotaGuard Service (Shield vs. Static) . At the top of the pricing page, both QuotaGuard Static and QuotaGuard Shield are presented side-by-side with a short summary of when each is the right fit. Click See Static Plans or See Shield Plans to jump to the plan tiers for that product. If you need assistance determining which service you need, please see our document What is the Difference between QuotaGuard Static and QuotaGuard Shield? . Step Three: Select the Appropriate Plan . Each product offers four plan tiers (Starter, Production, Business, and Enterprise) with increasing request and bandwidth limits. Click Start free trial on the plan that fits your expected usage. Note: Don’t worry if you don’t know your expected usage or exactly what plan to start on, payment and usage plans can be adjusted at any time. Changing plans does not affect your Static IP’s or require any configuration changes, so it is safe to make any type of plan change in the future once you have a better idea of your usage requirements. The Starter plan is the most common starting point for smaller projects and evaluations, while Enterprise is the right fit for customers that need dedicated resources or higher request and bandwidth limits. Step Four: Enter Company / Name Details . Fill in your email, create a secure password (and confirm it), select a Region, review and agree to the Terms and Privacy Policy, and select Get Started. Step Five: Enter Payment Details for Stripe . Add your payment details for Stripe and review that you have the correct plan and know the trial length. Once you click “Start Trial” it will take about 5 seconds for your account to be created. From there, you are ready to start configuring your settings… . Next: Default Subscription Dashboard ",
    "url": "/docs/getting-started/register-account/#register-your-account",
    "relUrl": "/docs/getting-started/register-account/#register-your-account"
  },"1469": {
    "doc": "Registering an Account",
    "title": "Registering an Account",
    "content": "Registering on behalf of a customer as an automated agent? See Signing Up as an Agent. Previous: Welcome to QuotaGuard Static IP's To use QuotaGuard Static IP’s, you need to register an account. To explore the service, we offer you a free three-or-seven day trial. ",
    "url": "/docs/getting-started/register-account/",
    "relUrl": "/docs/getting-started/register-account/"
  },"1470": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "Setup overview",
    "content": "Relay.app’s Custom HTTP Request step has no HTTP proxy setting and cannot run a sidecar, so it cannot point directly at QuotaGuard. Instead you host a tiny relay function (AWS Lambda or a Google Cloud Function) that egresses through QuotaGuard, and you point the Relay.app HTTP step at that function’s URL. Every downstream API call then exits from one of your two QuotaGuard static IPs. Allowlist both IP addresses from your QuotaGuard dashboard at the destination and you are done. ",
    "url": "/docs/automation/relay-app-integration/#answer-capsule",
    "relUrl": "/docs/automation/relay-app-integration/#answer-capsule"
  },"1471": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "Why Relay.app needs a static IP",
    "content": "Relay.app runs your automations on managed cloud infrastructure. The outbound IP address of a Custom HTTP Request is not fixed and can change between runs, which breaks any destination that authenticates or filters by source IP. A static IP gives every call a stable, allowlistable origin. Common destinations that require a fixed source IP: . | Financial and banking APIs with IP allowlists | Partner and supplier APIs that gate access by source IP | Payment gateways and processors | Internal or on-prem systems reachable only from known IPs | Databases and data APIs behind an IP firewall (MongoDB Atlas, Amazon RDS, Supabase, Neon) | Government, healthcare, and enterprise endpoints with strict network rules | . ",
    "url": "/docs/automation/relay-app-integration/#why-relayapp-needs-a-static-ip",
    "relUrl": "/docs/automation/relay-app-integration/#why-relayapp-needs-a-static-ip"
  },"1472": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "How the relay pattern works",
    "content": "Relay.app’s outbound mechanism is the Custom HTTP Request action. You set the URL, the method (GET, POST, PUT, or PATCH), custom headers as key-value pairs, and an optional JSON or Form payload. There is no field for an HTTP proxy, and the automation runtime does not let you install a proxy client or sidecar. A proxy URL alone cannot be used here. The fix is a relay. You deploy a small serverless function that receives a request from Relay.app, then forwards it to the real target API through the QuotaGuard proxy. The target API sees the request coming from one of your two QuotaGuard static IPs. The function is stateless and does one job: read two headers, forward the call through QUOTAGUARDSTATIC_URL, and return the response. This is a reusable pattern that works for any automation platform without a proxy setting. The full walkthrough and a ready-to-run example live here. Use them as the source of truth for the function itself, then wire up the Relay.app call below. | Relay pattern (concept and setup): Static IP for platforms with no HTTP proxy | Ready-to-run Lambda example: quotaguard/static-examples lambda-relay | . ",
    "url": "/docs/automation/relay-app-integration/#how-the-relay-pattern-works",
    "relUrl": "/docs/automation/relay-app-integration/#how-the-relay-pattern-works"
  },"1473": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "Step 1: deploy the relay function",
    "content": "Deploy the relay function from the example repo to AWS Lambda (with a Function URL) or to a Google Cloud Function (HTTP trigger). Set two things on the function: . | QUOTAGUARDSTATIC_URL, the connection string from your QuotaGuard dashboard, of the form http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293. Use the exact value shown in your dashboard. | RELAY_KEY, a secret string you choose. The function checks it against the X-Relay-Key header on every request so that only your Relay.app automation can use it. | . The relay reads two request headers on each call: . | X-Relay-Key, the shared secret above. | X-Target-URL, the real API endpoint you want to reach. | . It forwards the request body, method, and the Content-Type and Authorization headers to X-Target-URL through the QuotaGuard proxy, then returns the target’s response. If the target needs a different custom header, add that header name to the forwarding list in the relay function. See the repo for the code and deploy steps. ",
    "url": "/docs/automation/relay-app-integration/#step-1-deploy-the-relay-function",
    "relUrl": "/docs/automation/relay-app-integration/#step-1-deploy-the-relay-function"
  },"1474": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "Step 2: point the Relay.app Custom HTTP Request at the relay",
    "content": "In your Relay.app workflow, add a Custom HTTP Request step. Configure it to call your relay function URL instead of the target API directly. | URL: your deployed relay function URL (the Lambda Function URL or Cloud Function URL). | Method: the method your target API expects (GET, POST, PUT, or PATCH). | Headers (key-value pairs): . | X-Relay-Key: your shared secret. Store this in the Relay.app Secret Store and reference it here rather than pasting it in plaintext. | X-Target-URL: the real API endpoint, for example https://api.example.com/v1/orders. | . | Body: the JSON or Form payload your target API expects. Relay.app always sends a Content-type header, and the relay passes your body straight through to the target. | . Concretely, a POST to a partner API becomes a POST to your relay with these two headers set: . POST https://your-relay-function-url/ X-Relay-Key: your-shared-secret X-Target-URL: https://api.example.com/v1/orders Content-type: application/json { \"order_id\": \"12345\", \"status\": \"shipped\" } . The relay forwards this to https://api.example.com/v1/orders through QuotaGuard, and the partner API sees one of your two static IPs. ",
    "url": "/docs/automation/relay-app-integration/#step-2-point-the-relayapp-custom-http-request-at-the-relay",
    "relUrl": "/docs/automation/relay-app-integration/#step-2-point-the-relayapp-custom-http-request-at-the-relay"
  },"1475": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "Testing",
    "content": "Before pointing the relay at a real API, confirm traffic exits from your static IPs. Set the Relay.app step’s X-Target-URL header to the QuotaGuard IP check endpoint and run the workflow. | URL: your relay function URL | Method: GET | Headers: . | X-Relay-Key: your shared secret | X-Target-URL: https://ip.quotaguard.com | . | . The response body is: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match either of the two assigned IPs listed in your QuotaGuard dashboard. You can repeat the call, but observing both addresses is not required for success. Allowlist both assigned IPs at the destination. ",
    "url": "/docs/automation/relay-app-integration/#testing",
    "relUrl": "/docs/automation/relay-app-integration/#testing"
  },"1476": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "Troubleshooting",
    "content": "403 Forbidden from the relay function. The X-Relay-Key header sent by Relay.app does not match the secret set on the function. Confirm the value in the Relay.app Secret Store matches X-Relay-Key on the function exactly, with no trailing whitespace. Wrong or unexpected IP returned by ip.quotaguard.com. The function is egressing directly instead of through the proxy. Confirm QUOTAGUARDSTATIC_URL is set on the function and that the function code routes the outbound request through it. A returned IP that is not in your dashboard means the proxy was bypassed. 407 Proxy Authentication Required. The QUOTAGUARDSTATIC_URL credentials are wrong or truncated. Copy the full connection string from your dashboard, including username and password, and redeploy the function. Destination still returns 401 or 403 after routing through the relay. Check destination authentication, authorization and IP policy separately. Confirm the required Authorization header is forwarded by the relay and that both assigned IPs are allowlisted. A 401 or 403 alone does not establish an IP-allowlist failure. Relay.app step times out. Relay.app applies a fixed 3-minute timeout to Custom HTTP Requests and this cannot be changed. If the target API plus proxy hop is slow, reduce payload size or check the target’s own latency. A cold serverless function can add a first-call delay, so a warm function responds faster. Connection timeout to the target. The relay reached QuotaGuard but the target did not respond. Confirm X-Target-URL is a full URL including https://, and that the target is reachable from the proxy region. ",
    "url": "/docs/automation/relay-app-integration/#troubleshooting",
    "relUrl": "/docs/automation/relay-app-integration/#troubleshooting"
  },"1477": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "Most Relay.app automations should use QuotaGuard Static. Choose Shield only when the workload handles regulated data (HIPAA, PCI-DSS, SOC 2) or the environment requires TLS on every hop between the relay function and the proxy itself. | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static is right for standard HTTPS API calls from your relay function. The payload is tunneled end to end and is never decrypted at the proxy. Choose Shield (SSL passthrough) if the workload handles regulated data or the environment requires TLS between the relay and the proxy. ",
    "url": "/docs/automation/relay-app-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/automation/relay-app-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1478": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: Static IP for platforms with no HTTP proxy . Contact Support . ",
    "url": "/docs/automation/relay-app-integration/#ready-to-get-started",
    "relUrl": "/docs/automation/relay-app-integration/#ready-to-get-started"
  },"1479": {
    "doc": "QuotaGuard and Relay.app Integration Guide",
    "title": "QuotaGuard and Relay.app Integration Guide",
    "content": "Relay.app sends every Custom HTTP Request from shared, rotating cloud infrastructure, so the API you call sees a different source IP each time. When your destination API requires an allowlisted source IP, you need those calls to exit from a fixed address. QuotaGuard gives your subscription two load-balanced static IP addresses. This guide shows how to send Relay.app HTTP traffic through them. ",
    "url": "/docs/automation/relay-app-integration/",
    "relUrl": "/docs/automation/relay-app-integration/"
  },"1480": {
    "doc": "QuotaGuard and Render Integration Guide",
    "title": "Choose Render Dedicated IPs or QuotaGuard",
    "content": "Render now offers native dedicated outbound IPs for Pro and higher workspaces. Each $100-per-month IP set contains three IPv4 addresses in one Render region and can apply to an entire workspace or selected environments. This is the direct Render option when you want exclusive addresses and are comfortable routing the scoped services through Render’s regional IP set. QuotaGuard remains useful when you want to route only selected HTTP, HTTPS, or supported TCP connections through a stable egress path, need an option that does not require Render’s Pro-only dedicated-IP add-on, or want the same managed egress identity across more than one hosting platform. Render maintains its own QuotaGuard setup documentation. QuotaGuard’s standard plans provide a stable load-balanced pair on shared proxy infrastructure. If a destination requires addresses exclusive to your organization, compare Render’s native dedicated set with a QuotaGuard Enterprise dedicated deployment. ",
    "url": "/docs/platforms/render/render-integration/#choose-render-dedicated-ips-or-quotaguard",
    "relUrl": "/docs/platforms/render/render-integration/#choose-render-dedicated-ips-or-quotaguard"
  },"1481": {
    "doc": "QuotaGuard and Render Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard, where you can find all the information needed to proxy your traffic through QuotaGuard’s static IPs. For more information on navigating the QuotaGuard Dashboard, including how to manage your Account Information, Subscription Configuration, Proxy Connection Strings, and Static IP Addresses, please visit our QuotaGuard Account Administration Dashboard documentation . ",
    "url": "/docs/platforms/render/render-integration/#getting-started",
    "relUrl": "/docs/platforms/render/render-integration/#getting-started"
  },"1482": {
    "doc": "QuotaGuard and Render Integration Guide",
    "title": "Configuring Your Application",
    "content": "You can configure QuotaGuard the same way you would configure your app to use any HTTP proxy. QuotaGuard provides examples for common languages: . | QuotaGuard for Ruby | QuotaGuard for Node.js | QuotaGuard for Python | QuotaGuard for PHP | . Most of these examples involve adding the QUOTAGUARDSTATIC_URL environment variable to your service in the Render Dashboard. Set the value to the HTTP/HTTPS URL from your QuotaGuard Outbound Proxy Setup page. Any requests your application makes using QuotaGuard’s proxy URL will be routed through one of the IPs displayed in your QuotaGuard configuration. Store the full connection URL in the service’s environment variables, or place it in a Render environment group when multiple services need the same value. Do not commit the proxy username and password to render.yaml or application source. An environment variable does not redirect traffic by itself; configure the HTTP client that opens the protected connection to use it. This lets you route one destination through QuotaGuard while unrelated traffic keeps its normal Render path. ",
    "url": "/docs/platforms/render/render-integration/#configuring-your-application",
    "relUrl": "/docs/platforms/render/render-integration/#configuring-your-application"
  },"1483": {
    "doc": "QuotaGuard and Render Integration Guide",
    "title": "Example: Monnify live disbursements",
    "content": "Monnify requires merchants using its live disbursement APIs to register static server IP addresses. Requests from another source are rejected with a D06 error. A Render application can route its Monnify authentication and disbursement requests through QuotaGuard, then give Monnify both addresses shown in the QuotaGuard dashboard. This requirement applies to the application’s outbound API calls. Monnify webhooks travel in the opposite direction and use Monnify’s separate webhook security controls. See Give a Render App a Static IP for Monnify Disbursements for the complete setup and the native-Render comparison. Using QuotaGuard Static IPs will add an additional hop to your network requests and can affect response times for your application. Make sure to test application response times before and after enabling QuotaGuard. ",
    "url": "/docs/platforms/render/render-integration/#example-monnify-live-disbursements",
    "relUrl": "/docs/platforms/render/render-integration/#example-monnify-live-disbursements"
  },"1484": {
    "doc": "QuotaGuard and Render Integration Guide",
    "title": "Testing Your Implementation",
    "content": "Requests to https://ip.quotaguard.com return the request client’s public IP address. Requests made to this address with your QuotaGuard proxy configuration will return one of the static IPs listed in your configuration. $ curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com =&gt; {\"ip\":\"52.34.188.175\"} . Allowlist both assigned addresses. A short test might display only one because load balancing and connection reuse do not guarantee that both appear during repeated checks. ",
    "url": "/docs/platforms/render/render-integration/#testing-your-implementation",
    "relUrl": "/docs/platforms/render/render-integration/#testing-your-implementation"
  },"1485": {
    "doc": "QuotaGuard and Render Integration Guide",
    "title": "QuotaGuard and Render Integration Guide",
    "content": "QuotaGuard Static IP Static IPs allow your services on Render to send outbound traffic through a load balanced pair of static IP addresses. Once set up, you can use QuotaGuard’s IPs to connect to IP-restricted environments outside your Render network. You do not need QuotaGuard to connect to your databases or private services on Render. ",
    "url": "/docs/platforms/render/render-integration/",
    "relUrl": "/docs/platforms/render/render-integration/"
  },"1486": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Why Replit Apps Need a Static IP",
    "content": "Replit advertises native static outbound IPs on its custom-priced Enterprise plan. Its public documentation does not define the deployment coverage, number of IPs, exclusivity, or routing behavior of that feature. QuotaGuard is the self-service alternative when you need two stable addresses without moving the organization to Replit Enterprise, want to route only selected destinations, or want an outbound identity that is portable beyond Replit. On Replit plans without a documented static-egress feature, do not treat an observed outbound address as permanent. Dynamic cloud infrastructure can change the address used by a deployment, which becomes a problem when a destination allowlists callers by source IP. These are the connections that break when the IP rotates: . | External databases behind a firewall or security group (PostgreSQL on RDS, MongoDB Atlas, a publicly accessible Redshift cluster) | Partner and enterprise APIs that restrict access by source IP | Payment providers and banking APIs that require a registered IP (Stripe Connect, Adyen) | AI agent workflows where Replit Agent calls protected APIs or enterprise data sources | Any internal API behind a firewall your organization controls | . When the source IP changes, the destination can reject the request. You may see a timeout, a 403, or a generic authentication error. Routing the connection through QuotaGuard gives the destination a stable pair to allowlist while QuotaGuard operates the proxy infrastructure, availability, monitoring, and failover. ",
    "url": "/docs/platforms/replit/replit-integration/#why-replit-apps-need-a-static-ip",
    "relUrl": "/docs/platforms/replit/replit-integration/#why-replit-apps-need-a-static-ip"
  },"1487": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Start with the connection and deployment details, then follow Steps 1–4 below. Step 2 keeps all seven language choices together; Step 3 covers database connections. If a check fails, use Troubleshooting. ",
    "url": "/docs/platforms/replit/replit-integration/#guided-setup-quickstart",
    "relUrl": "/docs/platforms/replit/replit-integration/#guided-setup-quickstart"
  },"1488": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to the service your Replit app talks to, to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. | Replit Publishing Geography | Recommended QuotaGuard Region | . | North America | The closest US or Canada region to the destination | . | Europe (EU) | EU-West (Ireland) or EU-Central (Frankfurt) | . | Asia | AP-Northeast (Tokyo) or AP-Southeast (Singapore) | . | South America or Australia | Choose the QuotaGuard region closest to the destination and confirm latency during testing | . Deployment types: This guide applies to backend workloads such as Autoscale, Reserved VM, and Scheduled deployments. Static deployments serve frontend files and have no backend runtime. Replit can expose deployment secrets to a static site’s build command, but browser traffic after publication does not gain a server-side outbound identity. Replit Agent’s full-stack applications use Autoscale or Reserved VM deployments rather than Static deployments. ",
    "url": "/docs/platforms/replit/replit-integration/#getting-started",
    "relUrl": "/docs/platforms/replit/replit-integration/#getting-started"
  },"1489": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Step 1: Add the Proxy URL as a Secret",
    "content": "In your Replit project, open the Secrets panel under Tools, the lock icon in the sidebar. Add your QuotaGuard connection URL. This keeps the credential out of your code and out of version control. QUOTAGUARDSTATIC_URL=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Use the exact value from your QuotaGuard dashboard. The HTTP/HTTPS port is 9293. Replit Secrets are available as environment variables at runtime in both development and production deployments. A Secret stores the credential; it does not automatically proxy every outbound request. Configure each HTTP client that needs the static route, or use QGTunnel for the supported TCP connection. ",
    "url": "/docs/platforms/replit/replit-integration/#step-1-add-the-proxy-url-as-a-secret",
    "relUrl": "/docs/platforms/replit/replit-integration/#step-1-add-the-proxy-url-as-a-secret"
  },"1490": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Step 2: Route HTTP and HTTPS Traffic",
    "content": "How you apply the proxy depends on your language and what you are connecting to. ",
    "url": "/docs/platforms/replit/replit-integration/#step-2-route-http-and-https-traffic",
    "relUrl": "/docs/platforms/replit/replit-integration/#step-2-route-http-and-https-traffic"
  },"1491": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Python",
    "content": "With requests: . import os import requests proxy_url = os.environ['QUOTAGUARDSTATIC_URL'] proxies = {'http': proxy_url, 'https': proxy_url} response = requests.get('https://api.example.com/data', proxies=proxies) print(response.json()) . With HTTPX (sync and async): . import os import httpx proxy_url = os.environ['QUOTAGUARDSTATIC_URL'] # Sync with httpx.Client(proxy=proxy_url) as client: response = client.get('https://api.example.com/data') # Async async with httpx.AsyncClient(proxy=proxy_url) as client: response = await client.get('https://api.example.com/data') . With aiohttp (async): . import os import aiohttp proxy_url = os.environ['QUOTAGUARDSTATIC_URL'] async with aiohttp.ClientSession() as session: async with session.get('https://api.example.com/data', proxy=proxy_url) as response: data = await response.json() . ",
    "url": "/docs/platforms/replit/replit-integration/#python",
    "relUrl": "/docs/platforms/replit/replit-integration/#python"
  },"1492": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Node.js",
    "content": "Node’s native fetch does not read proxy environment variables on its own. Pass the Secret into a proxy agent. With undici (built-in HTTP stack): . import { ProxyAgent, fetch } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const response = await fetch('https://api.example.com/data', { dispatcher }); const data = await response.json(); . With Axios: . const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const response = await axios.get('https://api.example.com/data', { httpsAgent: agent }); console.log(response.data); . With node-fetch: . const fetch = require('node-fetch'); const { HttpsProxyAgent } = require('https-proxy-agent'); const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const response = await fetch('https://api.example.com/data', { agent }); const data = await response.json(); . ",
    "url": "/docs/platforms/replit/replit-integration/#nodejs",
    "relUrl": "/docs/platforms/replit/replit-integration/#nodejs"
  },"1493": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Ruby",
    "content": "With Net::HTTP: . require 'net/http' require 'uri' proxy_uri = URI.parse(ENV['QUOTAGUARDSTATIC_URL']) http = Net::HTTP.new( 'api.example.com', 443, proxy_uri.host, proxy_uri.port, proxy_uri.user, proxy_uri.password ) http.use_ssl = true response = http.get('/data') puts response.body . With Faraday: . require 'faraday' conn = Faraday.new(proxy: ENV['QUOTAGUARDSTATIC_URL']) do |f| f.request :json f.response :json end response = conn.get('https://api.example.com/data') . ",
    "url": "/docs/platforms/replit/replit-integration/#ruby",
    "relUrl": "/docs/platforms/replit/replit-integration/#ruby"
  },"1494": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Go",
    "content": "package main import ( \"fmt\" \"net/http\" \"net/url\" \"os\" ) func main() { proxyURL, _ := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) client := &amp;http.Client{ Transport: &amp;http.Transport{ Proxy: http.ProxyURL(proxyURL), }, } resp, err := client.Get(\"https://api.example.com/data\") if err != nil { panic(err) } defer resp.Body.Close() fmt.Println(\"Status:\", resp.Status) } . ",
    "url": "/docs/platforms/replit/replit-integration/#go",
    "relUrl": "/docs/platforms/replit/replit-integration/#go"
  },"1495": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "PHP",
    "content": "With cURL: . &lt;?php $proxyUrl = getenv('QUOTAGUARDSTATIC_URL'); $proxy = parse_url($proxyUrl); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.example.com/data'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_PROXY, $proxy['host'] . ':' . $proxy['port']); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxy['user'] . ':' . $proxy['pass']); $response = curl_exec($ch); curl_close($ch); print_r(json_decode($response, true)); . With Guzzle: . use GuzzleHttp\\Client; $client = new Client([ 'proxy' =&gt; getenv('QUOTAGUARDSTATIC_URL') ]); $response = $client-&gt;get('https://api.example.com/data'); . ",
    "url": "/docs/platforms/replit/replit-integration/#php",
    "relUrl": "/docs/platforms/replit/replit-integration/#php"
  },"1496": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Java (OkHttp)",
    "content": "import okhttp3.*; import java.net.*; public class ProxiedClient { public static OkHttpClient createClient() throws Exception { String proxyUrlStr = System.getenv(\"QUOTAGUARDSTATIC_URL\"); URL proxyUrl = new URL(proxyUrlStr); String[] userInfo = proxyUrl.getUserInfo().split(\":\"); Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyUrl.getHost(), proxyUrl.getPort())); Authenticator proxyAuth = (route, response) -&gt; { String credential = Credentials.basic(userInfo[0], userInfo[1]); return response.request().newBuilder() .header(\"Proxy-Authorization\", credential) .build(); }; return new OkHttpClient.Builder() .proxy(proxy) .proxyAuthenticator(proxyAuth) .build(); } } . ",
    "url": "/docs/platforms/replit/replit-integration/#java-okhttp",
    "relUrl": "/docs/platforms/replit/replit-integration/#java-okhttp"
  },"1497": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "C# / .NET",
    "content": "var proxyUrl = Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\"); var proxyUri = new Uri(proxyUrl); var proxy = new WebProxy(proxyUri.GetLeftPart(UriPartial.Authority)) { Credentials = new NetworkCredential( Uri.UnescapeDataString(proxyUri.UserInfo.Split(':')[0]), Uri.UnescapeDataString(proxyUri.UserInfo.Split(':')[1]) ) }; var handler = new HttpClientHandler { Proxy = proxy, UseProxy = true }; var client = new HttpClient(handler); var response = await client.GetAsync(\"https://api.example.com/data\"); . ",
    "url": "/docs/platforms/replit/replit-integration/#c--net",
    "relUrl": "/docs/platforms/replit/replit-integration/#c--net"
  },"1498": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Step 3: Route Databases With QGTunnel",
    "content": "For raw TCP connections to PostgreSQL, MySQL, or MongoDB, an HTTP proxy is not enough. Use QGTunnel, which routes the connection through your static IPs over SOCKS5. Download it into the root of your project. curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . This creates bin/qgtunnel and vendor/nss_wrapper/. In your QuotaGuard dashboard, go to Setup &gt; QGTunnel Configuration &gt; Create a Tunnel, and point it at your database host and port. | Setting | Value | . | Remote Destination | tcp://your-db-host.example.com:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Leave Encrypted off if your database protocol is already encrypted, which Postgres and most managed databases are. Then prepend your run command with bin/qgtunnel. With transparent mode and matching ports, your code connects to the normal database hostname and needs no change. Allowlist your two static IPs in the database firewall or security group once. If you prefer to configure SOCKS5 directly in your driver, the SOCKS5 endpoint is on port 1080 on the same proxy host. ",
    "url": "/docs/platforms/replit/replit-integration/#step-3-route-databases-with-qgtunnel",
    "relUrl": "/docs/platforms/replit/replit-integration/#step-3-route-databases-with-qgtunnel"
  },"1499": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Step 4: Testing the Connection",
    "content": "Confirm your traffic leaves from a QuotaGuard static IP. Route a request to the IP check endpoint and read the response. import os, requests proxies = {\"http\": os.environ[\"QUOTAGUARDSTATIC_URL\"], \"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"]} print(requests.get(\"https://ip.quotaguard.com\", proxies=proxies).json()) . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your dashboard. Add both addresses to the destination’s allowlist. A short test can return the same address repeatedly because of load balancing and connection reuse; it does not need to display both addresses to prove the configured request used QuotaGuard. ",
    "url": "/docs/platforms/replit/replit-integration/#testing-the-connection",
    "relUrl": "/docs/platforms/replit/replit-integration/#testing-the-connection"
  },"1500": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Programmatic reference",
    "content": "The shared implementation above covers deployment types and connection details, Secret configuration, HTTP clients in seven languages, database/SOCKS5 setup, and verification and expected output. Continue below for selective routing, inbound versus outbound behavior, troubleshooting and product distinctions. ",
    "url": "/docs/platforms/replit/replit-integration/#programmatic-reference",
    "relUrl": "/docs/platforms/replit/replit-integration/#programmatic-reference"
  },"1501": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Selective Proxying",
    "content": "Only route requests that need static IPs through the proxy. This minimizes latency for requests to public APIs while ensuring protected services always receive requests from your allowlisted addresses. const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const proxyAgent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); // Only these domains route through the static IP proxy const PROTECTED_DOMAINS = [ 'api.paymentprovider.com', 'api.partner.com' ]; function needsStaticIP(url) { const hostname = new URL(url).hostname.toLowerCase(); return PROTECTED_DOMAINS.some(domain =&gt; hostname === domain || hostname.endsWith(`.${domain}`) ); } async function smartRequest(url, options = {}) { const config = { ...options }; if (needsStaticIP(url)) { config.httpsAgent = proxyAgent; } return axios(url, config); } . ",
    "url": "/docs/platforms/replit/replit-integration/#selective-proxying",
    "relUrl": "/docs/platforms/replit/replit-integration/#selective-proxying"
  },"1502": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Outbound and Inbound",
    "content": "Outbound is the main case for Replit. Your app calls out to a database or API, and the destination checks the source IP. Everything above covers this direction. Inbound applies when a partner or enterprise system needs to reach your Replit app from a known address. QuotaGuard includes inbound proxy on all direct plans (Starter and above), and QuotaGuard Shield covers the inbound path when that incoming traffic is regulated. ",
    "url": "/docs/platforms/replit/replit-integration/#outbound-and-inbound",
    "relUrl": "/docs/platforms/replit/replit-integration/#outbound-and-inbound"
  },"1503": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Troubleshooting",
    "content": "The request still comes from a Replit IP, not a QuotaGuard IP The client is not using the proxy. For Node’s native fetch, confirm an Undici ProxyAgent is passed as the dispatcher. For Axios or node-fetch, confirm the appropriate proxy agent is attached. For Python requests, confirm the proxies argument is passed. Check that the Secret is set in the deployment, not only in the development workspace. Connection times out to a database HTTP proxy settings do not cover raw TCP databases. Use QGTunnel for PostgreSQL, MySQL, or MongoDB, and confirm the tunnel’s remote host and port match your database. 407 Proxy Authentication Required The proxy credentials are wrong. Recheck the username and password in your QUOTAGUARDSTATIC_URL Secret against the dashboard. A credential with a special character may need URL-encoding. It works in the editor but not in the deployment Secrets set in the editor are not always present in a deployment. Confirm the Secret exists for the deployed app, then redeploy. A Static deployment cannot make the runtime request Static deployments can use secrets during their build, but they do not run backend code after publication. Use an Autoscale or Reserved VM deployment when the published application must make a server-side outbound call from a stable identity. SSL/TLS errors in Node.js Make sure you are using httpsAgent (not httpAgent) for HTTPS requests when configuring Axios or similar clients. ",
    "url": "/docs/platforms/replit/replit-integration/#troubleshooting",
    "relUrl": "/docs/platforms/replit/replit-integration/#troubleshooting"
  },"1504": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most API and database allowlisting | Policies or approved architectures that require TLS on the customer-to-proxy hop | . | Starting price | $19/month | $29/month | . Static is right for most Replit apps. HTTPS payloads remain encrypted through Static’s blind CONNECT tunnel and are not decrypted by the proxy; the HTTP proxy protocol on the Replit-to-proxy hop is not itself TLS-wrapped. Choose Shield when a security policy or approved compliance architecture requires TLS on that customer-to-proxy hop. Regulated data alone does not make Shield an automatic requirement; use the product and architecture approved for the workload. ",
    "url": "/docs/platforms/replit/replit-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/replit/replit-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1505": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/platforms/replit/replit-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/replit/replit-integration/#ready-to-get-started"
  },"1506": {
    "doc": "QuotaGuard and Replit Integration Guide",
    "title": "QuotaGuard and Replit Integration Guide",
    "content": "QuotaGuard gives selected outbound connections from your Replit backend two fixed IP addresses. Add the QuotaGuard connection URL as a Secret, explicitly configure the HTTP clients that need it, use QGTunnel for raw TCP databases, and register both static IPs with the destination once. Those routed connections then keep the same outbound identity across deployments. This guide covers Secret setup, per-language configuration, QGTunnel for databases, supported Replit deployment types, testing, and troubleshooting. ",
    "url": "/docs/platforms/replit/replit-integration/",
    "relUrl": "/docs/platforms/replit/replit-integration/"
  },"1507": {
    "doc": "Getting started with the rest-client gem",
    "title": "Getting started with the rest-client gem",
    "content": "Integrating with the rest-client gem is a one-liner. This will print out one of your QuotaGuard IPs: . Copy require \"rest-client\" RestClient.proxy = ENV[\"QUOTAGUARDSTATIC_URL\"] if ENV[\"QUOTAGUARDSTATIC_URL\"] res = RestClient.get(\"http://ip.jsontest.com\") puts \"Your IP was: #{res.body}\" . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get the right one sent to you. ",
    "url": "/docs/outbound-proxy/ruby/rest-client-gem/",
    "relUrl": "/docs/outbound-proxy/ruby/rest-client-gem/"
  },"1508": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Why Retool Apps Need Static IPs",
    "content": "Retool Cloud runs on shared AWS infrastructure with dynamic outbound IPs. Retool does not publish these IPs or make them predictable. They can change at any time without notice. This creates problems in the following scenarios: . | Database security groups: RDS, Cloud SQL, and other managed databases commonly restrict inbound connections to a list of trusted IP addresses. Retool’s dynamic IPs cannot maintain a stable entry on that list. | MongoDB Atlas IP access controls: Atlas requires every connecting IP to be explicitly listed. Retool’s rotating addresses make that list impossible to maintain without disabling the control entirely. | Enterprise APIs in finance, healthcare, and logistics: These APIs frequently require you to pre-register a source IP before issuing credentials. A changed IP causes the API to reject requests with a 403 or connection refusal. | Partner APIs that use source IP as a second authentication factor: Payment processors, insurance carriers, and similar services treat an unrecognized source IP as an unauthorized caller. | Corporate internal APIs behind firewalls: Firewalls that block unrecognized cloud IP ranges will drop requests from Retool’s shared infrastructure. | . Retool does publish a broad list of shared IP ranges, and some teams add those ranges to database allowlists as a workaround. The problem: doing so opens access to every other Retool customer running on that same infrastructure. QuotaGuard provides two load-balanced static IPs per subscription. Dedicated IPs are included on Enterprise plans. ",
    "url": "/docs/platforms/retool/retool-integration/#why-retool-apps-need-static-ips",
    "relUrl": "/docs/platforms/retool/retool-integration/#why-retool-apps-need-static-ips"
  },"1509": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Deployment Type Determines Setup Method",
    "content": "How you integrate QuotaGuard with Retool depends on how Retool is deployed. | Deployment Type | Setup Method | . | Retool Cloud | Lightweight middleware service proxies requests through QuotaGuard | . | Self-hosted Retool | Set HTTP_PROXY and HTTPS_PROXY environment variables directly | . Why Retool Cloud requires a different approach: Retool Cloud does not expose the underlying server environment, so standard proxy environment variables cannot be set. The middleware pattern routes requests through a small service that you control, which sits between Retool and the destination API or database. From the destination’s perspective, the request arrives from a QuotaGuard static IP. Self-hosted Retool runs in Docker or Kubernetes, where the container environment is fully accessible. Environment variables can be set directly on the Retool container, and all outbound traffic routes through the proxy without any middleware layer. ",
    "url": "/docs/platforms/retool/retool-integration/#deployment-type-determines-setup-method",
    "relUrl": "/docs/platforms/retool/retool-integration/#deployment-type-determines-setup-method"
  },"1510": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Getting Started",
    "content": "Create a QuotaGuard account at quotaguard.com. During setup, choose a proxy region closest to the external service you are connecting to, not closest to Retool’s infrastructure, because latency is determined by the hop from the proxy to the destination. | Primary User / API Location | Recommended QuotaGuard Region | . | United States (East) | US-East | . | United States (West) | US-West | . | Europe | EU (Ireland or Frankfurt) | . | Asia-Pacific | AP-Southeast (Singapore) or AP-Northeast (Tokyo) | . After account creation, your proxy URL will look like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . Each subscription includes two static IPs, both active simultaneously. Traffic is load-balanced across them. You cannot control which IP a given request uses. When submitting IPs to a firewall allowlist or database security group, always add both. They are listed in the QuotaGuard dashboard under your account overview. ",
    "url": "/docs/platforms/retool/retool-integration/#getting-started",
    "relUrl": "/docs/platforms/retool/retool-integration/#getting-started"
  },"1511": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Option A: Retool Cloud Setup (Middleware Pattern)",
    "content": "Because Retool Cloud does not expose server environment variables, the approach is to deploy a lightweight Node.js service on any platform that supports environment variables: Heroku, Render, Railway, Fly.io, or similar. Retool calls this middleware, the middleware forwards the request through QuotaGuard, and the response returns to Retool. From the destination API’s perspective, the request arrives from a QuotaGuard static IP. ",
    "url": "/docs/platforms/retool/retool-integration/#option-a-retool-cloud-setup-middleware-pattern",
    "relUrl": "/docs/platforms/retool/retool-integration/#option-a-retool-cloud-setup-middleware-pattern"
  },"1512": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Step 1: Deploy the Middleware",
    "content": "Create and deploy a Node.js/Express service with the following code: . import express from 'express'; import { HttpsProxyAgent } from 'https-proxy-agent'; const app = express(); app.use(express.json()); const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const agent = new HttpsProxyAgent(proxyUrl); app.post('/proxy', async (req, res) =&gt; { const { url, method = 'GET', headers = {}, body } = req.body; try { const response = await fetch(url, { method, headers, agent, body: body ? JSON.stringify(body) : undefined }); const data = await response.json(); res.json(data); } catch (err) { res.status(500).json({ error: err.message }); } }); app.listen(process.env.PORT || 3000); . ",
    "url": "/docs/platforms/retool/retool-integration/#step-1-deploy-the-middleware",
    "relUrl": "/docs/platforms/retool/retool-integration/#step-1-deploy-the-middleware"
  },"1513": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Step 2: Set the Environment Variable",
    "content": "On the middleware host platform, set QUOTAGUARDSTATIC_URL to the full proxy URL from your QuotaGuard dashboard: . QUOTAGUARDSTATIC_URL=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . ",
    "url": "/docs/platforms/retool/retool-integration/#step-2-set-the-environment-variable",
    "relUrl": "/docs/platforms/retool/retool-integration/#step-2-set-the-environment-variable"
  },"1514": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Step 3: Create a Retool Resource",
    "content": "In Retool, create a REST API resource pointing at your middleware URL. When you build a query in Retool, send the target URL and any payload as the request body. The middleware forwards the request through QuotaGuard and returns the result. Example request body from a Retool query: . { \"url\": \"https://api.your-partner.com/endpoint\", \"method\": \"POST\", \"headers\": { \"Content-Type\": \"application/json\" }, \"body\": { \"key\": \"value\" } } . ",
    "url": "/docs/platforms/retool/retool-integration/#step-3-create-a-retool-resource",
    "relUrl": "/docs/platforms/retool/retool-integration/#step-3-create-a-retool-resource"
  },"1515": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Step 4: Verify",
    "content": "Create a Retool query against the middleware that calls https://ip.quotaguard.com: . { \"url\": \"https://ip.quotaguard.com\", \"method\": \"GET\" } . The response is JSON, {\"ip\":\"...\"}, and the address should be one of the two static IPs from your QuotaGuard dashboard. Which one you get is decided per connection and can be either, so allowlist both. Repeated tests may show the same address or different ones, and both are normal. If the service you are allowlisting can only accept a single address, you can connect to one node of the pair directly and always use that IP, at the cost of the pair’s failover. See How to use one static IP address. ",
    "url": "/docs/platforms/retool/retool-integration/#step-4-verify",
    "relUrl": "/docs/platforms/retool/retool-integration/#step-4-verify"
  },"1516": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Option B: Self-Hosted Retool Setup",
    "content": "Self-hosted Retool runs in Docker or Kubernetes, giving you direct access to the container environment. Set these environment variables in the Retool container configuration: . HTTP_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 HTTPS_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 QUOTAGUARDSTATIC_URL=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . ",
    "url": "/docs/platforms/retool/retool-integration/#option-b-self-hosted-retool-setup",
    "relUrl": "/docs/platforms/retool/retool-integration/#option-b-self-hosted-retool-setup"
  },"1517": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Docker Compose",
    "content": "Add the variables to the environment block of your Retool service: . services: retool: environment: HTTP_PROXY: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" HTTPS_PROXY: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" QUOTAGUARDSTATIC_URL: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/platforms/retool/retool-integration/#docker-compose",
    "relUrl": "/docs/platforms/retool/retool-integration/#docker-compose"
  },"1518": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Kubernetes",
    "content": "Add the variables to the env section of the Retool container in your deployment manifest: . env: - name: HTTP_PROXY value: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" - name: HTTPS_PROXY value: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" - name: QUOTAGUARDSTATIC_URL value: \"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . Restart the Retool container after adding the variables. To verify, create a Retool REST API resource that queries https://ip.quotaguard.com directly. The response should match one of the two static IPs in the QuotaGuard dashboard. ",
    "url": "/docs/platforms/retool/retool-integration/#kubernetes",
    "relUrl": "/docs/platforms/retool/retool-integration/#kubernetes"
  },"1519": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Database Connections via QGTunnel",
    "content": "The HTTP proxy handles web requests: HTTP, HTTPS, and any protocol that rides over those. It does not help with raw TCP connections. If your Retool instance connects to PostgreSQL, MySQL, MongoDB (native driver), Redis, or any other database using a direct socket connection, the HTTP proxy does not apply. QGTunnel applies to self-hosted Retool only. Retool Cloud connects to databases through Retool’s own database connector infrastructure. You cannot insert QGTunnel into that path. For Retool Cloud database connections that require a static IP, the middleware pattern (Option A) is the correct approach: route database queries through a middleware API rather than connecting directly from Retool. This works for HTTP-based database APIs such as MongoDB Atlas Data API, Supabase REST, and PlanetScale HTTP. It does not work for native TCP drivers. ",
    "url": "/docs/platforms/retool/retool-integration/#database-connections-via-qgtunnel",
    "relUrl": "/docs/platforms/retool/retool-integration/#database-connections-via-qgtunnel"
  },"1520": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Installing QGTunnel (Self-Hosted)",
    "content": "Add this to your Dockerfile to install the binary: . RUN curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz -C /app/bin . ",
    "url": "/docs/platforms/retool/retool-integration/#installing-qgtunnel-self-hosted",
    "relUrl": "/docs/platforms/retool/retool-integration/#installing-qgtunnel-self-hosted"
  },"1521": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Configuring the Tunnel",
    "content": "In the QuotaGuard dashboard, go to Settings &gt; Setup &gt; Tunnel &gt; Create Tunnel and enter the following: . | Setting | Value | . | Remote Destination | tcp://your-database.rds.amazonaws.com:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Use the actual hostname and port for your database. Repeat for each database host if you have more than one. ",
    "url": "/docs/platforms/retool/retool-integration/#configuring-the-tunnel",
    "relUrl": "/docs/platforms/retool/retool-integration/#configuring-the-tunnel"
  },"1522": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Updating the Start Command",
    "content": "Wrap the Retool start command with qgtunnel: . /app/bin/qgtunnel node_modules/.bin/retool-start . With transparent mode enabled, your Retool instance connects to the database using the original hostname, exactly as configured. QGTunnel intercepts that connection and routes it through your QuotaGuard static IPs. From the database’s perspective, the connection arrives from one of those two IPs. Add both static IPs to the database security group. Because traffic is load-balanced, either IP may be the source of any given connection. ",
    "url": "/docs/platforms/retool/retool-integration/#updating-the-start-command",
    "relUrl": "/docs/platforms/retool/retool-integration/#updating-the-start-command"
  },"1523": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Troubleshooting",
    "content": "Retool Cloud: IP still shows as Retool’s IP after middleware setup The middleware is not routing the request through the proxy agent. Confirm QUOTAGUARDSTATIC_URL is set on the middleware host and that the agent is being passed to the fetch call. Add a test endpoint to the middleware that calls https://ip.quotaguard.com directly and verify it returns a QuotaGuard IP before involving Retool at all. Self-hosted: wrong IP after adding environment variables The container must be restarted after adding variables. They are not picked up by a running process. Confirm the variables are set inside the container: . docker exec retool-container env | grep PROXY . If the variables are absent, check that they are defined in the correct service block in your Compose file or deployment manifest. 407 Proxy Authentication Required The credentials in the proxy URL are incorrect. Copy the full URL directly from the QuotaGuard dashboard. Do not retype it manually. The correct format is http://username:password@hostname:port, with a colon between username and password and an @ before the hostname. Database connection still refused after QGTunnel setup Both static IPs must be in the database security group, not just one. Connections are load-balanced across the IP pair, so either address may be the source. Allowlisting only one IP causes roughly half of connection attempts to be refused. Middleware returns timeout on database queries The middleware pattern works for HTTP/REST database APIs (MongoDB Atlas Data API, Supabase REST, PlanetScale HTTP). It is not suitable for native TCP database drivers. For those, use QGTunnel on self-hosted Retool, or consider migrating to an HTTP-based API layer in front of the database. ",
    "url": "/docs/platforms/retool/retool-integration/#troubleshooting",
    "relUrl": "/docs/platforms/retool/retool-integration/#troubleshooting"
  },"1524": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Encryption | Outbound payload never decrypted (both products) | Outbound payload never decrypted; Shield adds a TLS-encrypted app-to-proxy hop | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . For most Retool use cases, Static is the right choice. Choose Shield when transmitting PHI, payment card data, or any data under a compliance framework such as HIPAA or PCI. Neither product decrypts your payload; Shield encrypts the hop between your app and the proxy with TLS. ",
    "url": "/docs/platforms/retool/retool-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/retool/retool-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1525": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "Ready to Get Started?",
    "content": ". | Start a free QuotaGuard trial → | Contact support if you have questions about your specific integration or need help choosing a plan. | . ",
    "url": "/docs/platforms/retool/retool-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/retool/retool-integration/#ready-to-get-started"
  },"1526": {
    "doc": "QuotaGuard and Retool Integration Guide",
    "title": "QuotaGuard and Retool Integration Guide",
    "content": "QuotaGuard gives Retool applications a stable, static outbound IP address for requests that leave Retool and reach external services: things like third-party APIs, cloud databases behind security group rules, and partner services that require a pre-registered source address. QuotaGuard is not needed for internal Retool-to-Retool operations, Retool’s own built-in database, or Retool resource connections where the destination does not enforce IP allowlisting. ",
    "url": "/docs/platforms/retool/retool-integration/",
    "relUrl": "/docs/platforms/retool/retool-integration/"
  },"1527": {
    "doc": "Access RETS via Static IP with ruby-rets gem",
    "title": "Access RETS via Static IP with ruby-rets gem",
    "content": "ruby-rets is a Ruby client to allow you retrieve real estate data from RETS servers. You can easily integrate it with QuotaGuard for IP locked RETS servers: . Copy require \"ruby-rets\" proxy = URI(ENV[\"QUOTAGUARDSTATIC_URL\"]) client = RETS::Client.login(:url =&gt; \"http://rets.example.com:6103/rets2_1/Login\", :username =&gt; \"&lt;retsuser&gt;\", :password =&gt; \"&lt;rets-password&gt;\", :http =&gt; { :proxy =&gt; { :address =&gt; proxy.host, :port =&gt; proxy.port, :username =&gt; proxy.user, :password =&gt; proxy.password } }) p client . We have examples for other common libraries as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get the right one sent to you. ",
    "url": "/docs/outbound-proxy/ruby/rets-gem/",
    "relUrl": "/docs/outbound-proxy/ruby/rets-gem/"
  },"1528": {
    "doc": "Ruby Geocoding Quick Start Guide - QuotaGuard",
    "title": "Installation",
    "content": "When you sign up with QuotaGuard on Heroku, you will be provided with a unique username and password that you can use when configuring your proxy service in your application: . http://username:password@proxy.quotaguard.com:9292 . We recommend you store the connection string in an environment variable QUOTAGUARD_URL to maintain compatibility with platforms like Heroku. You can test your proxy setup using curl: . $ curl -x username:password@proxy.quotaguard.com:9292 http://www.google.com/ . ",
    "url": "/docs/outbound-proxy/dynamic-ip-geocoding/ruby-guide/#installation",
    "relUrl": "/docs/outbound-proxy/dynamic-ip-geocoding/ruby-guide/#installation"
  },"1529": {
    "doc": "Ruby Geocoding Quick Start Guide - QuotaGuard",
    "title": "Integration",
    "content": "Ruby Geocoder is the leading geocoding solution for Ruby and Rails and works seamlessly with QuotaGuard. Simply add your authenticated connection string in to the geocoder initializer. Copy # config/initializers/geocoder.rb Geocoder.configure( ... :http_proxy =&gt; ENV[\"QUOTAGUARD_URL\"], :timeout =&gt; 5 ) . ",
    "url": "/docs/outbound-proxy/dynamic-ip-geocoding/ruby-guide/#integration",
    "relUrl": "/docs/outbound-proxy/dynamic-ip-geocoding/ruby-guide/#integration"
  },"1530": {
    "doc": "Ruby Geocoding Quick Start Guide - QuotaGuard",
    "title": "Ruby Geocoding Quick Start Guide - QuotaGuard",
    "content": " ",
    "url": "/docs/outbound-proxy/dynamic-ip-geocoding/ruby-guide/",
    "relUrl": "/docs/outbound-proxy/dynamic-ip-geocoding/ruby-guide/"
  },"1531": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "1) Download QGTunnel",
    "content": "Download and extract the qgtunnel package in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#1-download-qgtunnel",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#1-download-qgtunnel"
  },"1532": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "2) Setup the Tunnel",
    "content": "Login to our Admin Dashboard and begin to setup the tunnel. At the top right, click Settings, then Setup. On the left, click Tunnel, then Create Tunnel. You should reach this screen below. SOCKS Quick Start Guide - Add Tunnel . For example, this assumes outbound email is being sent through Gmail’s SMTP server. Copy Remote Destination: tcp://smtp.gmail.com:465 Local Port: 4650 Transparent: true Encrypted: false . This setup assumes that your mail is sent through “smtp.gmail.com”, which listens on port 465 (the default SMTP over SSL port; use 587 if you connect with STARTTLS). Use the same port for the local port, unless you are using that port or it is below 1024, then you will have to change this to some other port. Since port 465 is below 1024, this example uses 4650 as the local port. Transparent mode allows QuotaGuard to override the DNS for smtp.gmail.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either smtp.gmail.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. We have more details on end-to-end encryption as you follow along in these instructions. Creating the tunnels in the dashboard is for convenience. Please see the last step (“Harden your Setup”) for how to remove a dependency from your system. ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#2-setup-the-tunnel",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#2-setup-the-tunnel"
  },"1533": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "3) Change your code (maybe)",
    "content": "You may have to change your code to connect through QGTunnel. With transparent mode, and when using the same local and remote port, you should not have to change your code. In this example the local port differs, so configure your mailer to connect to smtp.gmail.com:4650. Without transparent mode, you will want to connect to 127.0.0.1:4650 (in this example). If you changed the local port, then you will need to change the port number to match. ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#3-change-your-code-maybe",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#3-change-your-code-maybe"
  },"1534": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "4) Change your Procfile",
    "content": "Heroku Users: You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, and you will see a list of your dyno processes. The text you see (like web npm start) next to each one acts as your Procfile if you do not have one explicitly in your code base. Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: your-application your arguments . After: . web: bin/qgtunnel your-application your arguments . ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#4-change-your-procfile",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#4-change-your-procfile"
  },"1535": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "5) Deploy",
    "content": "Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#5-deploy",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#5-deploy"
  },"1536": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "6) (Optional) If problems arise…",
    "content": "By default all fatal errors encountered by the qgtunnel will be logged to your logs. If this information is not enough you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true and restart the application while watching the logs. Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to our Support so we can help figure out the problem. ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#6-optional-if-problems-arise",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#6-optional-if-problems-arise"
  },"1537": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "7) IMPORTANT: Harden Your Setup.",
    "content": "This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance at any time. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You can download a configuration file from the Dashboard by pressing Download configuration on the Tunnel page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#7-important-harden-your-setup",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#7-important-harden-your-setup"
  },"1538": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "Getting Help",
    "content": "The SOCKS wrapper is not straight forward to set up, or debug, so if you have any issues just get in contact with our Support and we’ll help you out. ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/#getting-help",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/#getting-help"
  },"1539": {
    "doc": "Setting up Outbound Email Using Corporate Gmail",
    "title": "Setting up Outbound Email Using Corporate Gmail",
    "content": "To accomplish this goal, we suggest using a SOCKS proxy with our QGTunnel software. Here are some setup instruction to get you started. ",
    "url": "/docs/protocols/smtp/ruby-heroku-outbound-email/",
    "relUrl": "/docs/protocols/smtp/ruby-heroku-outbound-email/"
  },"1540": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Keep the original reference files",
    "content": "The packet preserves config/quotaguard.php, app/Support/QuotaGuardHttp.php, and routes/console-snippet.php. Add them using the technical guide. The optional files below extend the diagnostic workflow rather than replacing those originals. ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/#keep-the-original-reference-files",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/#keep-the-original-reference-files"
  },"1541": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Compare the echoed address automatically",
    "content": "Add these two files from the packet: . code/config/quotaguard_checks.php code/app/Support/QuotaGuardEgressProbe.php . Set QUOTAGUARD_EXPECTED_IPV4S to the subscription’s two IPv4 addresses, separated by a comma. Use the real assigned pair. Do not use the documentation addresses from the unit tests. The pair is operational configuration, not a proxy password, but should still be managed with the correct environment rather than copied into unrelated deployments. The configuration file reads the value through env() at configuration-load time. The probe then checks that there are exactly two distinct valid IPv4 addresses before constructing a request. Call it from application code: . use App\\Support\\QuotaGuardEgressProbe; $ip = app(QuotaGuardEgressProbe::class)-&gt;check(); . The returned string is a validated address that matched the configured pair. The function makes one fixed GET to the echo service through QuotaGuardHttp. It does not attach a provider token, follow redirects, make a provider API call, or return a raw response body. The expected pair comparison proves only that the echo request used one of those addresses. A separate provider connection may use the other address. Keep both registered and obtain destination-side evidence for the provider path when available. ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/#compare-the-echoed-address-automatically",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/#compare-the-echoed-address-automatically"
  },"1542": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Run a real queue diagnostic",
    "content": "Add code/app/Jobs/CheckQuotaGuardEgress.php. Merge code/routes/queue-check-snippet.php into routes/console.php, retaining existing commands and avoiding repeated imports. Use a real, configured queue connection consumed by the intended worker cluster. The command permits the database, redis, sqs, and beanstalkd drivers and refuses other drivers before dispatch, including sync. A custom driver needs a separate review before extending that list. If the integration uses a named connection or queue, adapt both the validation and dispatch to that same supported queue and verify the worker consumes it. Do not change a production queue’s configuration just to satisfy the example. Calling the job directly with a synchronous dispatch elsewhere still does not validate a worker. Run: . php artisan quotaguard:check-queue . A dispatch message means the job was submitted, not that it ran. Confirm a quotaguard_egress_check_passed entry in private worker logs and correlate it with the diagnostic run. The entry contains only the queue path label and matched echo IPv4 address. The job makes one attempt; its 40-second worker timeout leaves room around the client’s 30-second overall request timeout. Check that the actual queue retry and visibility settings remain compatible with your existing worker policy. Laravel queue documentation explains timeout coordination. The probe converts transport failures to a fixed error without retaining a previous exception. This avoids putting a credential-bearing connection URL in a failed-job record. It also means the public example intentionally does not diagnose the exact network failure for you. Investigate privately using the troubleshooting guide. ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/#run-a-real-queue-diagnostic",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/#run-a-real-queue-diagnostic"
  },"1543": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Check an authenticated web execution path",
    "content": "Use the probe inside an existing internal, authorized diagnostic action or an existing test harness. Do not paste it into a public unauthenticated route. Keep access control, rate limiting, response handling, and logging appropriate to the application. This confirms a web process can construct the selected client. It does not establish that another controller or SDK used by the business integration does so. Exercise a harmless provider-approved request through that actual service after the echo check. ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/#check-an-authenticated-web-execution-path",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/#check-an-authenticated-web-execution-path"
  },"1544": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Check scheduled execution",
    "content": "If scheduled work calls the protected API through a separate service or process, invoke the probe from an operator-approved one-off diagnostic on that execution path. Retain the existing schedule and business logic. Do not add a permanently recurring echo call merely to demonstrate a one-time rollout. For a scheduled job that dispatches to a queue, record both scheduling and worker completion. The scheduler deciding to enqueue a job is different from the worker making the outbound request. ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/#check-scheduled-execution",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/#check-scheduled-execution"
  },"1545": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Add application tests without sending traffic",
    "content": "The packet includes code/tests/Feature/QuotaGuardEgressProbeTest.php, a PHPUnit test class for a Laravel test application with cURL installed. It uses Laravel HTTP fakes and stray-request prevention. The placeholder proxy host ends in .invalid, and the example IPv4s are documentation values. The nine tests cover each expected address, an unexpected address, invalid response shapes, a non-2xx response, missing and duplicate pair configuration, and a missing proxy setting. They check that the echo receives no provider Authorization header. Run them inside the application’s normal isolated test environment: . php artisan test --filter=QuotaGuardEgressProbeTest . Fakes test application decisions, not a CONNECT exchange, proxy authentication, TLS, network timeouts, or failover. Keep separate deployed acceptance checks for those behaviors. Review custom service providers that globally change HTTP options or headers before adopting the example. ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/#add-application-tests-without-sending-traffic",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/#add-application-tests-without-sending-traffic"
  },"1546": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Preserve the real integration contract",
    "content": "A generic echo example should not invent a partner’s API path or authentication pattern. When wiring the application, retain the provider’s exact supported endpoint, authorization, headers, data schema, idempotency behavior, and response handling. Use the selected client as the transport change, then separately prove that the provider request remains valid. Download the reference examples · Integration overview . ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/#preserve-the-real-integration-contract",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/#preserve-the-real-integration-contract"
  },"1547": {
    "doc": "Laravel Cloud runtime examples",
    "title": "Laravel Cloud runtime examples",
    "content": "These examples make route verification repeatable without sending a request to a partner API. They use the existing selected client, a fixed HTTPS echo destination, and a configured expected pair. No example creates a public diagnostic endpoint or accepts an arbitrary destination URL. ",
    "url": "/docs/platforms/laravel-cloud/runtime-examples/",
    "relUrl": "/docs/platforms/laravel-cloud/runtime-examples/"
  },"1548": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Salesforce’s Refresh Token IP Allowlist Blocks Rotating Cloud IPs",
    "content": "Salesforce’s May 11, 2026 OAuth security update added a Refresh Token IP Allowlist for AppExchange ISVs. When your integration calls /services/oauth2/token to redeem a refresh token, Salesforce checks the source IP against the allowlist registered for your External Client App. If the source IP is not on the allowlist, the redemption is a hard block. A cloud platform like Heroku, Render, AWS Lambda, or Fly.io assigns a rotating outbound IP, so the redemption fails the moment the allowlist is enforced. The fix is two static IPs you register once. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#salesforces-refresh-token-ip-allowlist-blocks-rotating-cloud-ips",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#salesforces-refresh-token-ip-allowlist-blocks-rotating-cloud-ips"
  },"1549": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "This Applies to OAuth Web Server Flows That Issue Refresh Tokens",
    "content": "The requirement applies only to OAuth flows that issue refresh tokens, which is the authorization code flow, also called the OAuth web server flow. Two common cases are exempt: . | JWT Bearer flow does not issue refresh tokens. The integration signs a short-lived JWT and exchanges it for an access token on every call, so there is nothing to allowlist. | Public mobile apps connect from arbitrary consumer IPs and are not in scope. | . The audience that needs this is AppExchange ISVs running OAuth web server flows from server-side infrastructure. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#this-applies-to-oauth-web-server-flows-that-issue-refresh-tokens",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#this-applies-to-oauth-web-server-flows-that-issue-refresh-tokens"
  },"1550": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your integration runs. The region is set at sign-up. Changes after sign-up require contacting support. QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . ",
    "url": "/docs/apis/salesforce/salesforce-integration/#getting-started",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#getting-started"
  },"1551": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Add Both IPs in External Client Apps Manager",
    "content": "In Salesforce Setup, open External Client Apps Manager, open your External Client App, choose Edit Settings, and turn on Enforce Refresh Token IP Allowlist. Add both QuotaGuard IP addresses. Salesforce supports up to 128 IP ranges with a maximum of 256 total addresses, and both IPv4 and IPv6. Enter a single IP by using the same address as the start and end of a range. The official mechanics are at Set IP Allowlist Ranges for Refresh Tokens. Add both IPs. QuotaGuard load-balances across the pair, so registering only one causes redemptions to fail intermittently in ways that look random in your logs. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#add-both-ips-in-external-client-apps-manager",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#add-both-ips-in-external-client-apps-manager"
  },"1552": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Route Refresh Token Redemptions Through the Proxy",
    "content": "Route calls to /services/oauth2/token through the proxy. Use login.salesforce.com for production and test.salesforce.com for sandbox. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#route-refresh-token-redemptions-through-the-proxy",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#route-refresh-token-redemptions-through-the-proxy"
  },"1553": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Python (requests)",
    "content": "import os, requests proxies = { \"http\": os.environ[\"QUOTAGUARDSTATIC_URL\"], \"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"], } resp = requests.post( \"https://login.salesforce.com/services/oauth2/token\", data={ \"grant_type\": \"refresh_token\", \"client_id\": os.environ[\"SF_CLIENT_ID\"], \"client_secret\": os.environ[\"SF_CLIENT_SECRET\"], \"refresh_token\": stored_refresh_token, }, proxies=proxies, ).json() # Persist resp[\"refresh_token\"] immediately. Under Refresh Token Rotation the # old refresh token is invalidated the moment the new one issues. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#python-requests",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#python-requests"
  },"1554": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Node.js (undici)",
    "content": "import { ProxyAgent, fetch } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const res = await fetch('https://login.salesforce.com/services/oauth2/token', { method: 'POST', dispatcher, headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: new URLSearchParams({ grant_type: 'refresh_token', client_id: process.env.SF_CLIENT_ID, client_secret: process.env.SF_CLIENT_SECRET, refresh_token: storedRefreshToken, }), }); const tokens = await res.json(); // Persist tokens.refresh_token transactionally before continuing. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#nodejs-undici",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#nodejs-undici"
  },"1555": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Java (HttpClient with proxy)",
    "content": "// Java disables Basic auth on HTTPS CONNECT tunnels by default. Run the JVM with: // -Djdk.http.auth.tunneling.disabledSchemes=\"\" URI proxyUri = URI.create(System.getenv(\"QUOTAGUARDSTATIC_URL\")); String[] creds = proxyUri.getUserInfo().split(\":\", 2); HttpClient client = HttpClient.newBuilder() .proxy(ProxySelector.of(new InetSocketAddress(proxyUri.getHost(), proxyUri.getPort()))) .authenticator(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(creds[0], creds[1].toCharArray()); } }) .build(); . Salesforce ISV integrations are frequently Java. The JVM flag above is required because Java disables proxy Basic authentication over HTTPS tunnels by default. Apache HttpClient 5 is an alternative that handles proxy auth without the flag. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#java-httpclient-with-proxy",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#java-httpclient-with-proxy"
  },"1556": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "QuotaGuard Solves the IP Layer, Not PKCE or Token Rotation",
    "content": "The May 11 mandate has five controls. QuotaGuard solves one: the Refresh Token IP Allowlist. PKCE and Refresh Token Rotation are code changes in your OAuth client and token storage, the 30-day idle timeout is a Salesforce-side setting plus an optional heartbeat, and IP Monitoring is a Salesforce alerting feature. QuotaGuard handles the network layer only. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#quotaguard-solves-the-ip-layer-not-pkce-or-token-rotation",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#quotaguard-solves-the-ip-layer-not-pkce-or-token-rotation"
  },"1557": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Legacy Connected Apps Need a Different Path",
    "content": "The Refresh Token IP Allowlist UI is documented for External Client Apps Manager. If your package is still on a legacy 1GP Connected App, that UI is not available in the same form. The QuotaGuard side is identical, but confirm the Salesforce-side path with your account team: migrate to an External Client App in a 2GP package, ship a sidecar 2GP package containing only an External Client App, or open a Salesforce support case to register IP ranges manually. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#legacy-connected-apps-need-a-different-path",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#legacy-connected-apps-need-a-different-path"
  },"1558": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Testing Your Integration Is Using the Static IP",
    "content": "curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your QuotaGuard dashboard, and both must be on your External Client App’s Refresh Token IP Allowlist. Run it more than once to confirm both (load-balanced). ",
    "url": "/docs/apis/salesforce/salesforce-integration/#testing-your-integration-is-using-the-static-ip",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#testing-your-integration-is-using-the-static-ip"
  },"1559": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/apis/salesforce/salesforce-integration/#troubleshooting",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#troubleshooting"
  },"1560": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Redemption hard-blocks with an IP error",
    "content": "The source IP is not on the allowlist. Confirm both QuotaGuard IPs are registered under Enforce Refresh Token IP Allowlist, and that the redemption call actually routed through the proxy. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#redemption-hard-blocks-with-an-ip-error",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#redemption-hard-blocks-with-an-ip-error"
  },"1561": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Intermittent, random-looking redemption failures",
    "content": "You registered only one of the two IPs. Add both. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#intermittent-random-looking-redemption-failures",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#intermittent-random-looking-redemption-failures"
  },"1562": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "invalid_grant after a successful redemption",
    "content": "This is Refresh Token Rotation, not the IP allowlist. You did not persist the new refresh token returned on the last redemption, so you replayed an invalidated one. Persist the new token transactionally on every redemption. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#invalid_grant-after-a-successful-redemption",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#invalid_grant-after-a-successful-redemption"
  },"1563": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "This is the QuotaGuard proxy, not Salesforce. Your QUOTAGUARDSTATIC_URL credentials are wrong. Confirm them against your dashboard. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#407-proxy-authentication-required"
  },"1564": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . The IP allowlist requirement is a network-layer fix, so Static is right for most Salesforce ISVs. Choose QuotaGuard Shield if your listing also handles regulated data such as healthcare records or payment information, or if your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/apis/salesforce/salesforce-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1565": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Salesforce Integration Features . Read: Static IP for Salesforce Connected Apps and External Client Apps . Contact Support . ",
    "url": "/docs/apis/salesforce/salesforce-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/#ready-to-get-started"
  },"1566": {
    "doc": "QuotaGuard and Salesforce Integration Guide",
    "title": "QuotaGuard and Salesforce Integration Guide",
    "content": "QuotaGuard Static IPs give your AppExchange ISV integration two fixed addresses to register in your External Client App’s Refresh Token IP Allowlist. Route your refresh token redemptions through QuotaGuard Static, set QUOTAGUARDSTATIC_URL, and add both IPs to the allowlist in External Client Apps Manager so redemptions keep working from cloud infrastructure. Scope: This applies to OAuth web server flows that issue refresh tokens. JWT Bearer flow and public mobile apps are exempt. See the audience section below. ",
    "url": "/docs/apis/salesforce/salesforce-integration/",
    "relUrl": "/docs/apis/salesforce/salesforce-integration/"
  },"1567": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Why Scalingo Apps Often Need Static Outbound IPs",
    "content": "Scalingo publishes its regional egress IPs through a domain like egress.osc-fr1.scalingo.com, so you can allowlist them. Two things push teams to bring their own pair instead. Those IPs are shared by every app in the region, so a destination that allowlists one is trusting every other Scalingo tenant on it, which many security teams reject. Scalingo also states the egress IPs may change with at least 30 days’ notice, which puts you on a clock to update partner allowlists on Scalingo’s schedule. QuotaGuard gives you two static IPs assigned to your subscription that stay the same unless you ask to change them. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#why-scalingo-apps-often-need-static-outbound-ips",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#why-scalingo-apps-often-need-static-outbound-ips"
  },"1568": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to your Scalingo region (for example osc-fr1, hosted on Outscale eu-west-2) to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#getting-started",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#getting-started"
  },"1569": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Step 1: Set the Proxy with the Scalingo CLI",
    "content": "Most runtimes and HTTP clients read the standard HTTP_PROXY and HTTPS_PROXY variables automatically. Set them using the proxy URL from your QuotaGuard dashboard, then restart, because Scalingo does not automatically restart your app when environment variables change. scalingo --app my-app env-set \\ \"HTTP_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ \"HTTPS_PROXY=http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" \\ \"NO_PROXY=localhost,127.0.0.1\" scalingo --app my-app restart . Use the exact value of QUOTAGUARDSTATIC_URL from your dashboard. You can also set these in the Environment tab of the dashboard. Either way, the restart is required for the app to pick them up. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#step-1-set-the-proxy-with-the-scalingo-cli",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#step-1-set-the-proxy-with-the-scalingo-cli"
  },"1570": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Step 2: Route Outbound Traffic Through the Proxy",
    "content": "With the variables set, most clients route automatically. To be explicit per request: . Python: . import os, requests p = os.environ[\"HTTPS_PROXY\"] r = requests.get(\"https://api.example.com/data\", proxies={\"http\": p, \"https\": p}) print(r.json()) . Node.js: . const { ProxyAgent, fetch } = require('undici'); const dispatcher = new ProxyAgent(process.env.HTTPS_PROXY); const r = await fetch('https://api.example.com/data', { dispatcher }); console.log(await r.json()); . Ruby: . require 'net/http' require 'uri' proxy = URI.parse(ENV['HTTPS_PROXY']) http = Net::HTTP.new('api.example.com', 443, proxy.host, proxy.port, proxy.user, proxy.password) http.use_ssl = true puts http.get('/data').body . For a tool that ignores the standard variables, pass it explicitly, for example curl -x \"$HTTPS_PROXY\" https://api.example.com/data. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#step-2-route-outbound-traffic-through-the-proxy",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#step-2-route-outbound-traffic-through-the-proxy"
  },"1571": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Connecting to Firewalled Databases with QGTunnel",
    "content": "For database connections such as PostgreSQL, MySQL, or MongoDB, use QuotaGuard’s SOCKS5 proxy through QGTunnel, which routes traffic through your static IPs without changing your connection code. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#connecting-to-firewalled-databases-with-qgtunnel",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#connecting-to-firewalled-databases-with-qgtunnel"
  },"1572": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Step 1: Include QGTunnel in your app",
    "content": "Add the binary to your repository so it is present at runtime: . curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . This creates bin/qgtunnel and vendor/nss_wrapper/. Commit them. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#step-1-include-qgtunnel-in-your-app",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#step-1-include-qgtunnel-in-your-app"
  },"1573": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Step 2: Prefix your start command in the Procfile",
    "content": "web: bin/qgtunnel &lt;your normal start command&gt; . ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#step-2-prefix-your-start-command-in-the-procfile",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#step-2-prefix-your-start-command-in-the-procfile"
  },"1574": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Step 3: Configure the tunnel in the dashboard",
    "content": "In your QuotaGuard dashboard, go to Setup &gt; QGTunnel Configuration &gt; Create a Tunnel. | Setting | Value | . | Remote Destination | tcp://your-database.example.com:5432 | . | Local Port | 5432 | . | Transparent | true | . | Encrypted | false | . Transparent mode overrides DNS so your driver connects to the original hostname while traffic exits from your static IPs. QGTunnel reads QUOTAGUARDSTATIC_URL, so set that variable as well if you use the tunnel. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#step-3-configure-the-tunnel-in-the-dashboard",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#step-3-configure-the-tunnel-in-the-dashboard"
  },"1575": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Testing Your App Is Using the Static IP",
    "content": "Run a one-off container in your app’s environment and check the egress IP: . scalingo --app my-app run bash # inside the container: curl -x \"$HTTPS_PROXY\" https://ip.quotaguard.com . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must match one of the two static IPs in your QuotaGuard dashboard. Run it again to see both (load-balanced). ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#testing-your-app-is-using-the-static-ip",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#testing-your-app-is-using-the-static-ip"
  },"1576": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#troubleshooting",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#troubleshooting"
  },"1577": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Proxy not applied after setting the variable",
    "content": "Scalingo does not restart on env changes. Run scalingo --app my-app restart and retest. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#proxy-not-applied-after-setting-the-variable",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#proxy-not-applied-after-setting-the-variable"
  },"1578": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "The credentials are wrong. Confirm the values with scalingo --app my-app env and match them to your QuotaGuard dashboard. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#407-proxy-authentication-required"
  },"1579": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Wrong IP returned",
    "content": "The client is not honoring the variables. Pass the proxy explicitly per request, as shown above. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#wrong-ip-returned",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#wrong-ip-returned"
  },"1580": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Connection timeout",
    "content": "Confirm the app can reach external networks and that nothing blocks port 9293. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#connection-timeout",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#connection-timeout"
  },"1581": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most Scalingo apps, Static is the right product. Choose QuotaGuard Shield if your app handles regulated data or your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1582": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/platforms/scalingo/scalingo-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/#ready-to-get-started"
  },"1583": {
    "doc": "QuotaGuard and Scalingo Integration Guide",
    "title": "QuotaGuard and Scalingo Integration Guide",
    "content": "QuotaGuard Static gives your Scalingo apps two static outbound IP addresses. Set HTTP_PROXY and HTTPS_PROXY with the Scalingo CLI, restart the app, and every outbound request exits from one of your two static IPs. ",
    "url": "/docs/platforms/scalingo/scalingo-integration/",
    "relUrl": "/docs/platforms/scalingo/scalingo-integration/"
  },"1584": {
    "doc": "How to send Outbound Traffic through Proxies?",
    "title": "How to send Outbound Traffic through Proxies?",
    "content": "If you want to send ALL outbound traffic through our proxies, you can achieve this with the QGSocksify application. First, follow the directions to get QGSocksify setup in your application. The mask you want for all outbound traffic is: . Copy QUOTAGUARDSTATIC_MASK=\"0.0.0.0/5,8.0.0.0/7,11.0.0.0/8,12.0.0.0/6,16.0.0.0/4,32.0.0.0/3,64.0.0.0/3,96.0.0.0/4,112.0.0.0/5,120.0.0.0/6,124.0.0.0/7,126.0.0.0/8,128.0.0.0/3,160.0.0.0/5,168.0.0.0/6,172.0.0.0/12,172.32.0.0/11,172.64.0.0/10,172.128.0.0/9,173.0.0.0/8,174.0.0.0/7,176.0.0.0/4,192.0.0.0/9,192.128.0.0/11,192.160.0.0/13,192.169.0.0/16,192.170.0.0/15,192.172.0.0/14,192.176.0.0/12,192.192.0.0/10,193.0.0.0/8,194.0.0.0/7,196.0.0.0/6,200.0.0.0/5,208.0.0.0/4\" . This will allow all LAN, loopback, and multicast traffic to not use the proxy. ",
    "url": "/docs/outbound-proxy/concepts/send-all-traffic-through-proxy/",
    "relUrl": "/docs/outbound-proxy/concepts/send-all-traffic-through-proxy/"
  },"1585": {
    "doc": "What is the QuotaGuard Support SLA?",
    "title": "Support for all plans",
    "content": "QuotaGuard support is provided by ticket at support@quotaguard.com. Business hours are Monday to Friday, 9:00 to 17:00 US Eastern, excluding US public holidays. Outside business hours, QuotaGuard monitors the service through automated alerting and responds to instability on a commercially reasonable, best-effort basis. QuotaGuard does not provide staffed 24/7 support. Response times outside a contractual SLA are targets based on typical practice, not commitments. Current operational status is published at health.quotaguard.com. ",
    "url": "/docs/support/service-level-agreement/#support-for-all-plans",
    "relUrl": "/docs/support/service-level-agreement/#support-for-all-plans"
  },"1586": {
    "doc": "What is the QuotaGuard Support SLA?",
    "title": "Contractual Service Level Agreement",
    "content": "A contractual SLA with an availability commitment and service credits is available on Enterprise plans and above purchased directly from QuotaGuard, and applies only where it is expressly incorporated into that customer’s agreement. It does not apply to other plans, or to free, trial, or evaluation accounts. Where a signed SLA is in place, it provides: . | An availability commitment of 99.95% of total monthly minutes, measured per calendar month | Initial-response targets during business hours by severity: 1 business hour for a service outage with no workaround, 4 business hours for impaired service with a workaround, 1 business day for intermittent or minor issues | Service credits of 10%, 25%, or 50% of the monthly fee for the affected service, depending on the availability shortfall, subject to the claim procedure in the agreement “Initial response” means acknowledgment and the opening of a ticket. It is not a commitment to resolution within that window. Response targets do not carry a service credit. | . Availability is measured using QuotaGuard’s own monitoring systems, which are the contractual measurement source. The public status page is informational only. The SLA excludes downtime caused by scheduled or emergency maintenance, upstream cloud or infrastructure provider failure, customer configuration or network issues, force majeure, and other causes set out in the agreement. To request the full SLA document, contact support@quotaguard.com. ",
    "url": "/docs/support/service-level-agreement/#contractual-service-level-agreement",
    "relUrl": "/docs/support/service-level-agreement/#contractual-service-level-agreement"
  },"1587": {
    "doc": "What is the QuotaGuard Support SLA?",
    "title": "Marketplace customers",
    "content": "Customers who purchased through the Heroku, AWS, or Azure marketplaces are governed by the terms of that marketplace listing. Contact support@quotaguard.com to confirm what applies to your subscription. ",
    "url": "/docs/support/service-level-agreement/#marketplace-customers",
    "relUrl": "/docs/support/service-level-agreement/#marketplace-customers"
  },"1588": {
    "doc": "What is the QuotaGuard Support SLA?",
    "title": "What is the QuotaGuard Support SLA?",
    "content": " ",
    "url": "/docs/support/service-level-agreement/",
    "relUrl": "/docs/support/service-level-agreement/"
  },"1589": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Why ServiceNow needs a static IP",
    "content": "ServiceNow lets an administrator restrict instance access by source IP, and that restriction applies to API traffic, not just human logins. When it is active, a request from an address that is not on the allowed list is refused even when the credentials are valid. An integration running on a cloud platform egresses from an IP that changes on every deploy, scale event, and sometimes every request, so there is no stable address to register. A static outbound IP is the fixed address you register once and never revisit. This affects any integration that has to reach an IP-restricted ServiceNow instance, including: . | iPaaS and workflow tools (Workato, Mulesoft, Boomi, n8n, Make, Zapier) calling the Table API | Custom apps and microservices on Heroku, Render, Railway, Fly.io, AWS Lambda, Google Cloud Run, or Azure Functions | Data-sync and ETL jobs pulling incident, CMDB, or user data on a schedule | AI agents that open, update, or look up ServiceNow tickets | CI and serverless functions that touch ServiceNow during a pipeline | . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#why-servicenow-needs-a-static-ip",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#why-servicenow-needs-a-static-ip"
  },"1590": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Where ServiceNow’s IP restriction is configured",
    "content": "This is set on the ServiceNow side by an instance administrator, not in QuotaGuard. Two controls apply, and an instance may use either or both. Add your two QuotaGuard IPs to whichever is in force. | IP Address Access Control (All &gt; System Security &gt; IP Address Access Control). Allow and Deny rules by IP range across the whole instance. ServiceNow blocks an address only when a Deny rule matches and no Allow rule matches, and Allow rules supersede Deny rules. The common pattern is to allow your trusted ranges, then add a Deny-all rule (0.0.0.0 to 255.255.255.255). ServiceNow will not let an admin insert a rule that would lock out their own current address. The IP Range Based Authentication plugin (com.snc.ipauthenticator) backs this and is present by default on modern instances. | REST API Access Policies (All &gt; System Web Services &gt; API Access Policies). Authentication policies attached here can restrict access by IP, role, or group, scoped to specific REST APIs rather than the whole instance. This is the granular option when you want only your integration’s APIs IP-locked while the rest of the instance stays open. | . Some instances instead migrate these into Adaptive Authentication (IP filter criteria). The effect for you is identical: register both QuotaGuard IPs in the allowed set and your integration’s traffic is accepted. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#where-servicenows-ip-restriction-is-configured",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#where-servicenows-ip-restriction-is-configured"
  },"1591": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to where your application runs to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. QuotaGuard runs in 12 AWS regions: US-East-1 (N. Virginia), US-East-2 (Ohio), US-West-2 (Oregon), CA-Central-1 (Montreal), EU-West-1 (Ireland), EU-West-2 (London), EU-Central-1 (Frankfurt), AP-Northeast-1 (Tokyo), AP-Southeast-1 (Singapore), AP-Southeast-2 (Sydney), AP-South-1 (Mumbai), and SA-East-1 (Sao Paulo). ",
    "url": "/docs/apis/servicenow/servicenow-integration/#getting-started",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#getting-started"
  },"1592": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Step 1: Set the proxy",
    "content": "Store your QuotaGuard connection string as an environment variable on the host that runs your integration. The proxy host is region-specific, so copy the exact value from your dashboard. QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . Keep it in the environment, not in source control, alongside your ServiceNow credentials. If your platform has a secret store (Fly secrets, Heroku config vars, AWS Secrets Manager, and so on), use it rather than a plaintext variable. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#step-1-set-the-proxy",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#step-1-set-the-proxy"
  },"1593": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "ServiceNow authentication, in brief",
    "content": "The REST Table API lives at https://{instance}.service-now.com/api/now/table/{tableName} and supports GET, POST, PUT, PATCH, and DELETE. It accepts: . | OAuth 2.0, recommended for production. Request a token from https://{instance}.service-now.com/oauth_token.do (the authorization endpoint is https://{instance}.service-now.com/oauth_auth.do). Inbound OAuth supports the password and authorization_code grants. Access tokens are short-lived (the ServiceNow default is around 30 minutes) and refresh tokens are long-lived; both are configurable in System OAuth &gt; Application Registry. | Basic Auth, the username and password of a ServiceNow user. Simplest to start with. Note that newer ServiceNow releases can restrict inbound Basic Auth through API Access Policies, so confirm it is permitted on your instance, or use OAuth. | Mutual auth and inbound API keys are also supported on current releases. | . Whichever you use, the rule for this guide is the same: route both the auth call and the data call through the proxy so every request to ServiceNow leaves from your static IPs. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#servicenow-authentication-in-brief",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#servicenow-authentication-in-brief"
  },"1594": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Step 2: Route your ServiceNow calls through the proxy",
    "content": "Attach the proxy to the requests that reach ServiceNow. The examples below use Basic Auth and the incident table for brevity. Swap in your Authorization: Bearer &lt;token&gt; header if you use OAuth, and route the token request through the same proxy. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#step-2-route-your-servicenow-calls-through-the-proxy",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#step-2-route-your-servicenow-calls-through-the-proxy"
  },"1595": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "curl",
    "content": "curl -x \"$QUOTAGUARDSTATIC_URL\" \\ -u \"$SNOW_USER:$SNOW_PASSWORD\" \\ -H \"Accept: application/json\" \\ \"https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1\" . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#curl",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#curl"
  },"1596": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Python (requests)",
    "content": "import os, requests proxies = { \"http\": os.environ[\"QUOTAGUARDSTATIC_URL\"], \"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"], } resp = requests.get( \"https://your-instance.service-now.com/api/now/table/incident\", params={\"sysparm_limit\": 1}, auth=(os.environ[\"SNOW_USER\"], os.environ[\"SNOW_PASSWORD\"]), headers={\"Accept\": \"application/json\"}, proxies=proxies, ) print(resp.status_code, resp.json()) . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#python-requests",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#python-requests"
  },"1597": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Python (httpx)",
    "content": "import os, httpx with httpx.Client(proxy=os.environ[\"QUOTAGUARDSTATIC_URL\"]) as client: resp = client.get( \"https://your-instance.service-now.com/api/now/table/incident\", params={\"sysparm_limit\": 1}, auth=(os.environ[\"SNOW_USER\"], os.environ[\"SNOW_PASSWORD\"]), headers={\"Accept\": \"application/json\"}, ) print(resp.status_code) . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#python-httpx",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#python-httpx"
  },"1598": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Node.js (node-fetch)",
    "content": "Node’s built-in fetch ignores a proxy agent. Use node-fetch with https-proxy-agent, which honors it. const fetch = require('node-fetch'); const { HttpsProxyAgent } = require('https-proxy-agent'); const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const auth = Buffer.from(`${process.env.SNOW_USER}:${process.env.SNOW_PASSWORD}`).toString('base64'); const resp = await fetch( 'https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1', { agent, headers: { Authorization: `Basic ${auth}`, Accept: 'application/json' } }, ); console.log(resp.status, await resp.json()); . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#nodejs-node-fetch",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#nodejs-node-fetch"
  },"1599": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Node.js (axios)",
    "content": "axios honors a proxy most reliably through an agent rather than its proxy option for HTTPS targets. const axios = require('axios'); const { HttpsProxyAgent } = require('https-proxy-agent'); const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); const resp = await axios.get( 'https://your-instance.service-now.com/api/now/table/incident', { params: { sysparm_limit: 1 }, auth: { username: process.env.SNOW_USER, password: process.env.SNOW_PASSWORD }, httpsAgent: agent, proxy: false, }, ); console.log(resp.status); . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#nodejs-axios",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#nodejs-axios"
  },"1600": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Go (net/http)",
    "content": "package main import ( \"fmt\" \"net/http\" \"net/url\" \"os\" ) func main() { proxyURL, _ := url.Parse(os.Getenv(\"QUOTAGUARDSTATIC_URL\")) client := &amp;http.Client{ Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyURL)}, } req, _ := http.NewRequest(\"GET\", \"https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1\", nil) req.SetBasicAuth(os.Getenv(\"SNOW_USER\"), os.Getenv(\"SNOW_PASSWORD\")) req.Header.Set(\"Accept\", \"application/json\") resp, err := client.Do(req) if err != nil { panic(err) } defer resp.Body.Close() fmt.Println(resp.Status) } . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#go-nethttp",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#go-nethttp"
  },"1601": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Ruby (Net::HTTP)",
    "content": "require \"net/http\" require \"uri\" proxy = URI.parse(ENV[\"QUOTAGUARDSTATIC_URL\"]) target = URI.parse(\"https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1\") http = Net::HTTP.new(target.host, target.port, proxy.host, proxy.port, proxy.user, proxy.password) http.use_ssl = true req = Net::HTTP::Get.new(target) req.basic_auth(ENV[\"SNOW_USER\"], ENV[\"SNOW_PASSWORD\"]) req[\"Accept\"] = \"application/json\" puts http.request(req).code . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#ruby-nethttp",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#ruby-nethttp"
  },"1602": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Ruby (Faraday)",
    "content": "require \"faraday\" conn = Faraday.new( url: \"https://your-instance.service-now.com\", proxy: ENV[\"QUOTAGUARDSTATIC_URL\"], ) resp = conn.get(\"/api/now/table/incident\") do |req| req.params[\"sysparm_limit\"] = 1 req.headers[\"Accept\"] = \"application/json\" req.headers[\"Authorization\"] = \"Basic \" + [\"#{ENV['SNOW_USER']}:#{ENV['SNOW_PASSWORD']}\"].pack(\"m0\") end puts resp.status . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#ruby-faraday",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#ruby-faraday"
  },"1603": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "PHP (Guzzle)",
    "content": "&lt;?php require 'vendor/autoload.php'; $client = new GuzzleHttp\\Client(); $resp = $client-&gt;get( 'https://your-instance.service-now.com/api/now/table/incident', [ 'proxy' =&gt; getenv('QUOTAGUARDSTATIC_URL'), 'query' =&gt; ['sysparm_limit' =&gt; 1], 'auth' =&gt; [getenv('SNOW_USER'), getenv('SNOW_PASSWORD')], 'headers' =&gt; ['Accept' =&gt; 'application/json'], ] ); echo $resp-&gt;getStatusCode(); . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#php-guzzle",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#php-guzzle"
  },"1604": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "PHP (cURL)",
    "content": "&lt;?php $ch = curl_init('https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1'); curl_setopt_array($ch, [ CURLOPT_PROXY =&gt; getenv('QUOTAGUARDSTATIC_URL'), CURLOPT_USERPWD =&gt; getenv('SNOW_USER') . ':' . getenv('SNOW_PASSWORD'), CURLOPT_HTTPHEADER =&gt; ['Accept: application/json'], CURLOPT_RETURNTRANSFER =&gt; true, ]); $body = curl_exec($ch); echo curl_getinfo($ch, CURLINFO_HTTP_CODE); . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#php-curl",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#php-curl"
  },"1605": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Java (java.net.http)",
    "content": "Proxy authentication with the built-in client is supplied through an Authenticator. Note that the JDK requires a system property to send proxy Basic credentials over HTTPS tunnels. import java.net.*; import java.net.http.*; import java.util.Base64; // Run with: -Djdk.http.auth.tunneling.disabledSchemes=\"\" URI proxyUri = URI.create(System.getenv(\"QUOTAGUARDSTATIC_URL\")); Authenticator auth = new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { String[] u = proxyUri.getUserInfo().split(\":\", 2); return new PasswordAuthentication(u[0], u[1].toCharArray()); } }; HttpClient client = HttpClient.newBuilder() .proxy(ProxySelector.of(new InetSocketAddress(proxyUri.getHost(), proxyUri.getPort()))) .authenticator(auth) .build(); String snow = Base64.getEncoder().encodeToString( (System.getenv(\"SNOW_USER\") + \":\" + System.getenv(\"SNOW_PASSWORD\")).getBytes()); HttpRequest req = HttpRequest.newBuilder() .uri(URI.create(\"https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1\")) .header(\"Authorization\", \"Basic \" + snow) .header(\"Accept\", \"application/json\") .build(); HttpResponse&lt;String&gt; resp = client.send(req, HttpResponse.BodyHandlers.ofString()); System.out.println(resp.statusCode()); . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#java-javanethttp",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#java-javanethttp"
  },"1606": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": ".NET (HttpClient)",
    "content": "using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; var proxyUri = new Uri(Environment.GetEnvironmentVariable(\"QUOTAGUARDSTATIC_URL\")); var userInfo = proxyUri.UserInfo.Split(':', 2); var handler = new HttpClientHandler { Proxy = new WebProxy(proxyUri.GetLeftPart(UriPartial.Authority)) { Credentials = new NetworkCredential(userInfo[0], userInfo[1]) }, UseProxy = true }; using var client = new HttpClient(handler); var snow = Convert.ToBase64String(Encoding.ASCII.GetBytes( $\"{Environment.GetEnvironmentVariable(\"SNOW_USER\")}:{Environment.GetEnvironmentVariable(\"SNOW_PASSWORD\")}\")); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(\"Basic\", snow); var resp = await client.GetAsync( \"https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1\"); Console.WriteLine((int)resp.StatusCode); . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#net-httpclient",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#net-httpclient"
  },"1607": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Elixir (Req)",
    "content": "proxy_url = System.get_env(\"QUOTAGUARDSTATIC_URL\") snow = Base.encode64(\"#{System.get_env(\"SNOW_USER\")}:#{System.get_env(\"SNOW_PASSWORD\")}\") Req.get!( \"https://your-instance.service-now.com/api/now/table/incident\", params: [sysparm_limit: 1], headers: [{\"authorization\", \"Basic #{snow}\"}, {\"accept\", \"application/json\"}], connect_options: [proxy: proxy_url] ) |&gt; Map.get(:status) |&gt; IO.inspect() . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#elixir-req",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#elixir-req"
  },"1608": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Elixir (HTTPoison)",
    "content": "uri = URI.parse(System.get_env(\"QUOTAGUARDSTATIC_URL\")) [user, pass] = String.split(uri.userinfo, \":\") snow = Base.encode64(\"#{System.get_env(\"SNOW_USER\")}:#{System.get_env(\"SNOW_PASSWORD\")}\") opts = [ proxy: {String.to_charlist(uri.host), uri.port}, proxy_auth: {String.to_charlist(user), String.to_charlist(pass)} ] {:ok, resp} = HTTPoison.get( \"https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1\", [{\"Authorization\", \"Basic #{snow}\"}, {\"Accept\", \"application/json\"}], opts ) IO.inspect(resp.status_code) . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#elixir-httpoison",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#elixir-httpoison"
  },"1609": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Rust (reqwest)",
    "content": "use reqwest::Proxy; use std::env; #[tokio::main] async fn main() -&gt; Result&lt;(), Box&lt;dyn std::error::Error&gt;&gt; { let proxy = Proxy::all(&amp;env::var(\"QUOTAGUARDSTATIC_URL\")?)?; let client = reqwest::Client::builder().proxy(proxy).build()?; let resp = client .get(\"https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1\") .basic_auth(env::var(\"SNOW_USER\")?, Some(env::var(\"SNOW_PASSWORD\")?)) .header(\"Accept\", \"application/json\") .send() .await?; println!(\"{}\", resp.status()); Ok(()) } . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#rust-reqwest",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#rust-reqwest"
  },"1610": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "OAuth token request through the proxy (Python)",
    "content": "If you use OAuth, route the token call through the proxy too, so it also leaves from your static IPs. import os, requests proxies = {\"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"]} token = requests.post( \"https://your-instance.service-now.com/oauth_token.do\", data={ \"grant_type\": \"password\", \"client_id\": os.environ[\"SNOW_CLIENT_ID\"], \"client_secret\": os.environ[\"SNOW_CLIENT_SECRET\"], \"username\": os.environ[\"SNOW_USER\"], \"password\": os.environ[\"SNOW_PASSWORD\"], }, proxies=proxies, ).json()[\"access_token\"] resp = requests.get( \"https://your-instance.service-now.com/api/now/table/incident\", headers={\"Authorization\": f\"Bearer {token}\", \"Accept\": \"application/json\"}, proxies=proxies, ) print(resp.status_code) . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#oauth-token-request-through-the-proxy-python",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#oauth-token-request-through-the-proxy-python"
  },"1611": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Inbound: a fixed IP for ServiceNow to call your app",
    "content": "The reverse direction is covered too. If you configure ServiceNow outbound REST messages, business rules, or Flow Designer actions to call your application, and your app runs behind a firewall or on a platform with rotating IPs, QuotaGuard’s static inbound entry point gives ServiceNow one permanent address to reach, which the receiving side allowlists once. Inbound is configured from your dashboard on all direct plans (Starter and above); on Heroku, AWS, and Azure marketplaces it requires Micro plans and above. Contact support if you want help wiring an inbound endpoint for ServiceNow callbacks. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#inbound-a-fixed-ip-for-servicenow-to-call-your-app",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#inbound-a-fixed-ip-for-servicenow-to-call-your-app"
  },"1612": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Testing",
    "content": "After configuring the proxy, confirm the IP your traffic uses. Route a request to the IP check endpoint through the proxy: . curl -x \"$QUOTAGUARDSTATIC_URL\" https://ip.quotaguard.com . Expected response: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The returned IP must be one of the two static IPs in your dashboard. Call it more than once and you will see both, because traffic is load-balanced across the pair. Register both in ServiceNow. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#testing",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#testing"
  },"1613": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Application-level test",
    "content": "Confirm the proxy is wired into your own code, not just your shell, with a small endpoint that reports the egress IP your app actually uses. import os, requests from flask import Flask, jsonify app = Flask(__name__) @app.route(\"/test-proxy\") def test_proxy(): proxies = {\"https\": os.environ[\"QUOTAGUARDSTATIC_URL\"]} ip = requests.get(\"https://ip.quotaguard.com\", proxies=proxies).json()[\"ip\"] return jsonify({\"static_ip\": ip, \"proxy_configured\": True}) . If the IP it reports is one of your two static IPs, your ServiceNow calls will leave from the same pair. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#application-level-test",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#application-level-test"
  },"1614": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Latency Considerations",
    "content": "Routing through QuotaGuard adds one network hop. For ServiceNow REST calls, which are not latency-critical, this is rarely a factor. Pick the QuotaGuard region closest to where your integration runs to keep it minimal. | Configuration | Added latency | . | Same region (app and proxy co-located) | 10-20 ms | . | Cross-region | 50-100 ms | . Every request uses the same two static IPs regardless of where your app scales, so one allowlist entry pair covers every region you run in. That is the advantage over standing up a separate static-egress IP per region. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#latency-considerations",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#latency-considerations"
  },"1615": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Self-managed alternatives (honest, demoted)",
    "content": "ServiceNow has no native feature that gives your application a static egress IP, because the IP that matters is your side, not theirs. You can get one without QuotaGuard by running your integration on a VM with a reserved IP, or by routing a serverless workload through a NAT gateway with a reserved address. Both work and are the right choice for some architectures. They also carry real weight: a VM is yours to patch, monitor, and keep available, and a NAT gateway adds base hourly and per-GB charges plus the VPC plumbing to route through it, and it only fixes the egress for workloads inside that one network. QuotaGuard is the managed version. It gives you two IPs that work across every region and every other platform you run, supports inbound as well as outbound, and adds nothing to your network. Choose whichever fits. This page documents the QuotaGuard path. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#self-managed-alternatives-honest-demoted",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#self-managed-alternatives-honest-demoted"
  },"1616": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Troubleshooting",
    "content": ". | 407 Proxy Authentication Required. The proxy credentials are missing or wrong. Confirm QUOTAGUARDSTATIC_URL includes the username and password exactly as shown in your dashboard, and that your client is actually sending them. In Java, this is also the symptom of the disabled tunneling scheme: run with -Djdk.http.auth.tunneling.disabledSchemes=\"\". | ServiceNow 403 or 401 with valid credentials. The call authenticated but the source IP is not allowed. Confirm both QuotaGuard IPs are in the instance’s IP Address Access Control allow set or the relevant REST API Access Policy, and that no Deny rule overrides them. Allow rules supersede Deny rules in ServiceNow. | Worked from your laptop, fails once deployed. Classic rotating-egress symptom. Your laptop’s IP happened to be allowed, or the instance was open when you tested. The deployed host egresses from a different, rotating address. Route it through the proxy and register the two static IPs. | Wrong IP returned by the test. Your request is not going through the proxy. Make sure the proxy is attached to the specific client or request, not just exported in a shell your runtime does not inherit. In axios, set proxy: false and use httpsAgent, or the built-in proxy handling can interfere. | OAuth token request fails or returns 401. Confirm the OAuth application registry entry exists, the user is active and not locked out, and the grant type matches (password or authorization_code). Route the token call through the proxy as well, or ServiceNow sees it from a non-allowlisted IP. | Basic Auth rejected on a newer instance. Recent ServiceNow releases can restrict inbound Basic Auth via API Access Policies. Switch to OAuth, or have an admin confirm Basic Auth is permitted for your API. | Connection timeout. Confirm the destination host and port are reachable and that you registered both IPs. Registering only one is a common cause of intermittent failures, since traffic can leave from either address at any time. | Intermittent failures, roughly half of requests. Almost always only one of the two IPs is allowlisted. Add both. | . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#troubleshooting",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#troubleshooting"
  },"1617": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static is right for most ServiceNow integrations: your calls are outbound HTTPS, tunneled through a CONNECT tunnel without decryption. Choose Shield if the workload handles regulated data or the environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/apis/servicenow/servicenow-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1618": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: How to Give Your Integration a Static IP for ServiceNow . Contact Support . ",
    "url": "/docs/apis/servicenow/servicenow-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/#ready-to-get-started"
  },"1619": {
    "doc": "QuotaGuard and ServiceNow Integration Guide",
    "title": "QuotaGuard and ServiceNow Integration Guide",
    "content": "QuotaGuard gives your integration two fixed outbound IP addresses from one environment variable. Set QUOTAGUARDSTATIC_URL, route your ServiceNow REST API calls through it, and every request reaches ServiceNow from one of your two static IPs, so it passes an instance that restricts access by source IP. This guide covers the ServiceNow REST API (the Table API and other REST endpoints). It does not cover MID Server connectivity, which uses a different model. ",
    "url": "/docs/apis/servicenow/servicenow-integration/",
    "relUrl": "/docs/apis/servicenow/servicenow-integration/"
  },"1620": {
    "doc": "How to Setup QG Inbound Proxy for QG Shield",
    "title": "Why Use an Inbound Proxy?",
    "content": "Cloud deployment environments such as Heroku, IBM Cloud, Microsoft Azure, GCP, etc allow you to horizontally scale your web application by creating multiple instances running on different servers and load balancing requests between them. This is a problem if you need to access your web application via a specific IP address, for example if your corporate firewall can only allow traffic from a known IP addresses. With cloud environments, the IP address of your application may change at any time. With QuotaGuard’s Inbound Proxy, we help you solve that problem. To allow for Inbound Static IP access, you can setup an Inbound proxy to define what URL you want traffic forwarded to so it can reach your designated web application. Warning : This should NOT be used as a replacement for a DNS entry resolving a custom domain for a Heroku app. To access your Heroku app from a custom domain, please read the Heroku Custom Domains page. ",
    "url": "/docs/inbound-shield/setup-guide/#why-use-an-inbound-proxy",
    "relUrl": "/docs/inbound-shield/setup-guide/#why-use-an-inbound-proxy"
  },"1621": {
    "doc": "How to Setup QG Inbound Proxy for QG Shield",
    "title": "Differences Between QuotaGuard Static vs. Shield and Inbound Proxies",
    "content": "QuotaGuard Static allows customers to choose whether they want a Custom Domain or to use QuotaGuard’s own domain (e.g. a62b1d0b4983db763450411fd393b3ce-eu-west-1.getstatica.com). Some long-time customers might be wondering, “Sooo…how do I setup a Custom Domain with QuotaGuard Shield like I did with QuotaGuard Static?” . Because QuotaGuard Shield enforces certificates for each connection, the way in which those certificates are managed does not allow for QuotaGuard Shield customers to setup a custom domain using QuotaGuard’s own domain URL. Therefore, don’t worry about setting up a custom domain when using QuotaGuard Shield, as it’s created for you during the Inbound Proxy setup process automatically. Are you in the wrong place and need directions to setup an Inbound Proxy for QuotaGuard Static? Here are the directions for How to Setup an Inbound Proxy for QuotaGuard Static. ",
    "url": "/docs/inbound-shield/setup-guide/#differences-between-quotaguard-static-vs-shield-and-inbound-proxies",
    "relUrl": "/docs/inbound-shield/setup-guide/#differences-between-quotaguard-static-vs-shield-and-inbound-proxies"
  },"1622": {
    "doc": "How to Setup QG Inbound Proxy for QG Shield",
    "title": "Getting Started",
    "content": "1) Create your QuotaGuard Account and choose a plan for QuotaGuard Shield. All direct plans (Starter and above) include Inbound Proxies; on Heroku, AWS, and Azure marketplaces choose the Micro level or above. If you need help deciding whether you want QuotaGuard Static or QuotaGuard Shield, please read our article What are the Differences between QuotaGuard Static and QuotaGuard Shield. 2) Log into the QuotaGuard Dashboard and go to the Manage Subscriptions section and locate the correct QG Shield subscription that you want to use for the Inbound Proxy setup. 3) Click “Inbound Proxy / Configure Inbound Proxies”. Then click on “Create an Inbound Proxy”. 4) Enter the FQDN for the forwarding URL you want to use for the Inbound connection. Also enter the application Forwarding URL where you want the inbound requests to be sent. Note: Your URL must be HTTPS for QuotaGuard Shield, of course…. If you’ve done this before with QuotaGuard Static, you might be expecting some Advanced Options to be listed here. However, there are no Advanced Options available with Shield, so you can just hit Save and continue. 5) Follow the directions on the next page to create a DNS CNAME record with your DNS provider. These directions correspond to your DNS A name record that resolves to two QuotaGuard Static IPs. You should include both IP addresses in any firewall rules or allow-lists, as the QuotaGuard load balancer may swap between the two IP addresses at any time. Once you’ve copied this information down, click “OK, Got it!”. 6) If you need to see the directions again, you can always select the correct subscriptions and go to Setup Inbound Proxies and click See setup instructions. You can also edit the Inbound Proxy by clicking on the pencil icon in the upper right corner. 7) In your firewall, you should open access to the two QuotaGuard Static IPs in order for the Inbound requests to reach your cloud app. This can be tricky to setup, so if you have questions, write us at Support so we can help get you up and running. Happy Tunneling! . ",
    "url": "/docs/inbound-shield/setup-guide/#getting-started",
    "relUrl": "/docs/inbound-shield/setup-guide/#getting-started"
  },"1623": {
    "doc": "How to Setup QG Inbound Proxy for QG Shield",
    "title": "How to Setup QG Inbound Proxy for QG Shield",
    "content": "Please Note: Inbound Proxies are available on all direct subscription plans (Starter and above), and on Micro subscription plans and above on Heroku, AWS, and Azure marketplaces. ",
    "url": "/docs/inbound-shield/setup-guide/",
    "relUrl": "/docs/inbound-shield/setup-guide/"
  },"1624": {
    "doc": "Using SFTP with .NET via a proxy",
    "title": "Using SFTP with .NET via a proxy",
    "content": "Secure FTP allows you to transfer data securely between servers. You can use the Renci SFTP library to route SFTP transfers via QuotaGuard Static from your .NET app, allowing you to lock down access to our Static IP addresses. Copy string host = \"sftp.acme.com\"; string username = \"sftpuser\"; string password = \"sftppass\"; var proxy_host = \"&lt;your-quotaguard-proxy-host&gt;\"; var proxy_username = \"quotaguardXXX\"; var proxy_password = \"abcdefghijk\"; int port = 22; ConnectionInfo infoConnection = newConnectionInfo(host, port, username, ProxyTypes.Socks5, proxy_host, 1080, proxy_username, proxy_password, newPasswordAuthenticationMethod(username, password)); try { SftpClient client = newSftpClient(infoConnection); client.Connect(); string upload_file = FileUpload.FileName; client.UploadFile(FileUpload.PostedFile.InputStream, upload_file, true); } catch (Exception ex) { ex.ToString(); } . This allows you to access an SFTP server that requires a known IP address from cloud platforms, like Microsoft Azure. ",
    "url": "/docs/outbound-proxy/dotnet/sftp-connection/",
    "relUrl": "/docs/outbound-proxy/dotnet/sftp-connection/"
  },"1625": {
    "doc": "Sending Files via a Static IP with Ruby SFTP",
    "title": "Sending Files via a Static IP with Ruby SFTP",
    "content": "Secure FTP allows you to transfer data securely between servers. You can use the Ruby SFTP library to route SFTP transfers via QuotaGuard allowing you to lock down access to our Static IP addresses: . Copy require 'net/ssh' require 'uri' require 'net/sftp' require 'net/ssh/proxy/http' quotaguard = URI(ENV[\"QUOTAGUARDSTATIC_URL\"]) proxy = Net::SSH::Proxy::HTTP.new(quotaguard.host,quotaguard.port, :user =&gt; quotaguard.user,:password=&gt;quotaguard.password) Net::SSH.start('1.1.1.1','sftpuser', {:port =&gt; 22, :proxy =&gt; proxy, :password =&gt; 'sftppw'}) do |ssh| ssh.sftp.connect do |sftp| sftp.dir.foreach(\"/\") do |entry| puts entry.longname end end end . ",
    "url": "/docs/outbound-proxy/ruby/sftp-file-transfer/",
    "relUrl": "/docs/outbound-proxy/ruby/sftp-file-transfer/"
  },"1626": {
    "doc": "What Does It Mean When Heroku Says Sharable Across Apps?",
    "title": "What Does It Mean When Heroku Says Sharable Across Apps?",
    "content": "Heroku allows approved Add-On’s (like QuotaGuard Static and QuotaGuard Shield) to be Sharable Across Apps. But what does that even mean? . It’s pretty simple actually…“Sharable Across Apps” simply means you can use one QuotaGuard subscription (2 IPs) across as many applications as you wish. You can decide that you want to make one per application or share them across multiple apps. Keep in mind that unless you are getting an Enterprise plan or higher and specific request it, you are getting a set a shared IPs. So if you want different IPs for every app, we can help you with that, but that doesn’t necessarily mean they aren’t used by other people. If you have a specific use case that you want to talk out with us to take advantage of the Sharable Across Apps capabilities, write us at Support any time. We’re always here to help! . ",
    "url": "/docs/platforms/heroku/sharable-across-apps/",
    "relUrl": "/docs/platforms/heroku/sharable-across-apps/"
  },"1627": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "What Settings Change for my Subscription?",
    "content": "Part of getting your own dedicated static IP’s means the IP’s will no longer be from the pool of shared IP’s. Therefore, the largest impact on your environment will be your IP addresses will have to change (since they will be yours exclusively). Your connection URL will also change. Use the complete URL supplied for your dedicated proxy; Support will confirm which parts change for your migration, including the hostname and any authentication details. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#what-settings-change-for-my-subscription",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#what-settings-change-for-my-subscription"
  },"1628": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "How does the process work?",
    "content": "The steps are pretty straight-forward to request and process a move from a shared static IP proxy to a dedicated static IP proxy. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#how-does-the-process-work",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#how-does-the-process-work"
  },"1629": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "1) Request your dedicated proxy",
    "content": "Let us know (create a ticket at Support) requesting a move to a dedicated proxy. Please specify the region for you dedicated proxy to minimize latency. If you don’t mention which region, we’ll place it in the same region as your current subscription. Include the subscription and billing platform, such as Heroku, and any partners or services that allowlist your current IPs. Agree with Support who will update your application configuration, when the cutover will happen, and how long the old shared access will remain available. Allow time for every affected partner to add the new IP pair. Supported regions: Our proxies run on 12 regions: US-East-1 (N. Virginia), US-East-2 (Ohio), US-West-2 (Oregon), CA-Central-1 (Montreal), EU-West-1 (Ireland), EU-West-2 (London), EU-Central-1 (Frankfurt), AP-Northeast-1 (Tokyo), AP-Southeast-1 (Singapore), AP-Southeast-2 (Sydney), AP-South-1 (Mumbai), and SA-East-1 (São Paulo). ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#1-request-your-dedicated-proxy",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#1-request-your-dedicated-proxy"
  },"1630": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "2) We provision the dedicated proxy",
    "content": "We’ll get to work setting up the dedicated proxy for you in your preferred region. We add you to a new set of IPs, but the old IPs and connection URL remain active during the agreed transition period. Setup typically takes up to 24 hours during the work week, often just a few hours. Provisioning the dedicated proxy and switching your application to it are separate steps. Confirm the transition end date with Support, and request an extension before that date if your partners need more time. For a checklist covering allowlists, testing, connection handling and rollback, see our static IP proxy migration guide. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#2-we-provision-the-dedicated-proxy",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#2-we-provision-the-dedicated-proxy"
  },"1631": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "3) Receive your new IPs and connection URL",
    "content": "Once we have the new dedicated proxy setup complete, we’ll email you that we’re done and include your new IP’s and connection URL. You can view your connection information in your QuotaGuard dashboard. See where to find your proxy connection details for the full URL and assigned IPs. On Heroku, access the subscription through the QuotaGuard Static add-on in your app. Receiving the new connection information does not itself update your application’s proxy setting. Confirm the configuration update with Support before making the switch. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#3-receive-your-new-ips-and-connection-url",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#3-receive-your-new-ips-and-connection-url"
  },"1632": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "4) Update allowlists, test, and switch your application",
    "content": "At this point, you’ll have your current shared proxy running during the agreed transition period. You’ll also have the new dedicated proxy ready for you to test before the cutover. You will need to update any firewall/connection rules to have both new dedicated IPs. Pass the new pair to downstream customers and partners, and confirm that their allowlist changes are active before switching the application. For example, if the same proxy setting serves a database and an SFTP partner, both destinations need to accept the new pair first. You can test out the new dedicated proxy within the agreed transition period. Check the actual operations you use, including new database connections and SFTP transfers where applicable, rather than relying only on an HTTP request. Once testing and allowlisting are complete, switch by updating your application’s proxy connection setting to the dedicated URL (from your QuotaGuard Administration Screen) at the agreed time. New proxied connections from every workload using that updated setting will use the dedicated IPs, including SFTP transfers using it. Heroku configuration: When your affected partners have allowlisted the new IPs, update QUOTAGUARDSTATIC_URL in your Heroku app to the dedicated connection URL provided by Support or shown in your dashboard. Do not assume provisioning the dedicated proxy updates your app’s config var. Support can help with the update if explicitly arranged. Updating a Heroku config var restarts the app’s dynos, so plan for processes and connections to restart or reconnect. See Heroku’s config-var documentation. QGTunnel configuration: If your QGTunnel setup reads its proxy host and credentials from QUOTAGUARDSTATIC_URL, that setting supplies the new connection information. Confirm any separate configuration files, environment variables, or startup settings with Support; the required changes depend on your deployment. If you want us to be online with you ‘live’ when you make the swap, just let us know. We can help coordinate the connection-setting change with you. If you see any issues, contact Support about returning to the shared proxy while the old access remains active. Agree the rollback steps before cutover; do not assume the old route remains available after the transition end date. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#4-update-allowlists-test-and-switch-your-application",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#4-update-allowlists-test-and-switch-your-application"
  },"1633": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "5) Confirm completion and retire the old access",
    "content": "Once you are satisfied with the new IPs, write us back at Support so we can retire your subscription’s old shared-proxy access. Confirm that all affected workloads and partners are working through the new pair before removing obsolete allowlist entries. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#5-confirm-completion-and-retire-the-old-access",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#5-confirm-completion-and-retire-the-old-access"
  },"1634": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "FAQ’s About Dedicated Proxies",
    "content": " ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#faqs-about-dedicated-proxies",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#faqs-about-dedicated-proxies"
  },"1635": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "A) Can I keep using my current subscription until I’m ready to change to the dedicated proxy?",
    "content": "Yes, you can continue using the old shared connection during the agreed transition period. Confirm its end date with Support and request an extension before it expires if needed. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#a-can-i-keep-using-my-current-subscription-until-im-ready-to-change-to-the-dedicated-proxy",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#a-can-i-keep-using-my-current-subscription-until-im-ready-to-change-to-the-dedicated-proxy"
  },"1636": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "B) Is there any additional charge for the dedicated proxy?",
    "content": "If you are on an Enterprise plan or above, there is no additional charge. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#b-is-there-any-additional-charge-for-the-dedicated-proxy",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#b-is-there-any-additional-charge-for-the-dedicated-proxy"
  },"1637": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "C) Can I ask for some customization with my dedicated proxy?",
    "content": "Yes, since it’s not shared, we can help with customizing security, load, and throughput, just send us a ticket at Support. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#c-can-i-ask-for-some-customization-with-my-dedicated-proxy",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#c-can-i-ask-for-some-customization-with-my-dedicated-proxy"
  },"1638": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "D) I still have questions, who do I reach out to?",
    "content": "We’re always here to help, just write to us at Support. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#d-i-still-have-questions-who-do-i-reach-out-to",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/#d-i-still-have-questions-who-do-i-reach-out-to"
  },"1639": {
    "doc": "Switching from a Shared to a Dedicated Proxy",
    "title": "Switching from a Shared to a Dedicated Proxy",
    "content": "If you decide you want to change from a shared proxy to a dedicated proxy, here’s what you need to know about what will happen, what will change, and the order in which things will occur. ",
    "url": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/",
    "relUrl": "/docs/outbound-proxy/concepts/shared-vs-dedicated-proxy/"
  },"1640": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "QuotaGuard Shield Static IP’s",
    "content": "QuotaGuard Shield is a Heroku Static IP add-on that allows you to route inbound &amp; outbound traffic through a static IP address on Heroku with full end-to-end encryption. You can provide the IP addresses to an API partner for IP-based allowlisting and open your own firewall to access internal resources. QuotaGuard Shield Static IP’s come in two flavors: . | Outbound HTTPS proxy for accessing HTTP &amp; HTTPS web services | Inbound HTTPS reverse proxy for accessing your Heroku app on a static IP | . For outbound traffic, there is native support across Ruby, Python, Node.js, PHP, Scala, Java, and nearly every other language for the HTTPS Proxy. For inbound traffic, we provide you with a CNAME record to point your domain to and we utilize SSL Passthrough to connect to your application. Inbound proxy is Heroku ACM compatible or you can bring your own certificates. Note: Inbound proxy service is only available for the Micro plan or above. ",
    "url": "/docs/platforms/heroku/shield-setup/#quotaguard-shield-static-ips",
    "relUrl": "/docs/platforms/heroku/shield-setup/#quotaguard-shield-static-ips"
  },"1641": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Which QuotaGuard Should I Use?",
    "content": "We offer three products on Heroku, QuotaGuard, QuotaGuard Static, and QuotaGuard Shield. QuotaGuard routes your traffic through a dynamic set of IP addresses that may change at any time and is intended for accessing APIs like Google Maps that restrict usage based on your IP address. It should be used if you want to access these APIs without your limit being shared with other Heroku apps. QuotaGuard Static IP’s routes your Heroku traffic through a pair of static IP addresses that never change. It should be used if you need your traffic to pass through a known static IP address for the purpose of firewall ingress rules or application allowlisting with a third party. QuotaGuard Static IP’s uses HTTP and SOCKS5 for outbound service and SSL Termination for inbound service. QuotaGuard Shield Static IP’s are HIPAA-ready and built to handle Heroku traffic that contains PII and other sensitive information. QuotaGuard Shield routes your traffic through a pair of static IP addresses that never change with a higher level of security over QuotaGuard Static. The service uses HTTPS and SOCKS over TLS for outbound service and SSL Passthrough for inbound service. Like QuotaGuard Static, QuotaGuard Shield should be used if you need your traffic to pass through a known IP address for the purpose of firewall ingress rules or application allowlisting with a third party. Shield allows you to utilize Heroku’s ACM for your site or bring your own certificate. Please send us email if you’d like more guidance on what service fits your needs best. ",
    "url": "/docs/platforms/heroku/shield-setup/#which-quotaguard-should-i-use",
    "relUrl": "/docs/platforms/heroku/shield-setup/#which-quotaguard-should-i-use"
  },"1642": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Provisioning the Add-On",
    "content": " ",
    "url": "/docs/platforms/heroku/shield-setup/#provisioning-the-add-on",
    "relUrl": "/docs/platforms/heroku/shield-setup/#provisioning-the-add-on"
  },"1643": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Plans",
    "content": "A list of all plans available can be found in the Pricing section. QuotaGuard Shield can be added to a Heroku application via the CLI: . $ heroku addons:create quotaguardshield:starter -----&gt; Adding quotaguardshield:starter to sharp-mountain-4005... done, v18 -----&gt; Your static IPs are [10.11.12.13, 14.15.16.17] . Once the QuotaGuard Shield add-on has been added, the QUOTAGUARDSHIELD_URL setting is available in that app’s configuration. This contains the full URL you should use to proxy your requests. This can be confirmed using the heroku config:get command: . $ heroku config:get QUOTAGUARDSHIELD_URL -----&gt; https://user:pass@&lt;your-quotaguard-shield-host&gt;:9294 . After installing QuotaGuard Shield, the application should be configured to fully integrate with the add-on. However, you are not done, you still have to configure your application to route traffic via the Static IP’s. ",
    "url": "/docs/platforms/heroku/shield-setup/#plans",
    "relUrl": "/docs/platforms/heroku/shield-setup/#plans"
  },"1644": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "What Are My IPs?",
    "content": "You are provided with two static IP addresses as part of our fault tolerant, load balanced service. Traffic may route through either one at any time. Your two IP addresses will be printed on the command line when you provision the add-on, and you can view them on your QuotaGuard Shield dashboard, accessible by clicking the small arrow next to the QuotaGuard Shield add-on on the Heroku Dashboard. ",
    "url": "/docs/platforms/heroku/shield-setup/#what-are-my-ips",
    "relUrl": "/docs/platforms/heroku/shield-setup/#what-are-my-ips"
  },"1645": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Local Setup",
    "content": " ",
    "url": "/docs/platforms/heroku/shield-setup/#local-setup",
    "relUrl": "/docs/platforms/heroku/shield-setup/#local-setup"
  },"1646": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Environment Setup",
    "content": "After provisioning the add-on, it’s necessary to locally replicate the config vars so your development environment can operate against the service. This should be used for initial testing only as usage will count against your daily limits. Though less portable, it’s also possible to set local environment variables using export QUOTAGUARDSHIELD_URL=value. Use Heroku Local to configure, run and manage process types specified in your app’s Procfile. Heroku Local reads configuration variables from a .env file. Use the following command to add theQUOTAGUARDSHIELD_URL value retrieved from heroku config to .env: . $ heroku config -s | grep QUOTAGUARDSHIELD_URL &gt;&gt; .env $ more .env . Warning! Credentials and other sensitive configuration values should not be committed to source-control. In Git exclude the .env file with: echo .env &gt;&gt; .gitignore. ",
    "url": "/docs/platforms/heroku/shield-setup/#environment-setup",
    "relUrl": "/docs/platforms/heroku/shield-setup/#environment-setup"
  },"1647": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy",
    "content": "The HTTPS Proxy is an outbound proxy service, allowing your application to reach an external endpoint (ie: HTTPS api) with HTTP or HTTPS protocols. ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy"
  },"1648": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "How Secure is the HTTPS Proxy",
    "content": "The connection from your application to our proxy servers is completed over HTTPS. Unlike HTTP Proxy services, this includes the initial CONNECT request which contains the proxy credentials. Utilizing the HTTPS proxy to access HTTPS services and websites will ensure the highest level of security. On receipt of the CONNECT request, the proxy will open a tunnel between your client and the endpoint, allowing your client to negotiate a standard SSL session with the endpoint. Once negotiated all traffic sent between your client and the endpoint will be encrypted as if you had connected directly with them. QuotaGuard nor anyone else will have access to the information in the HTTPS requests. You can utilize the HTTPS proxy to access HTTP services and websites. When doing this the information between your application and the proxy server are encrypted (HTTP over HTTPS proxy), but the information between the proxy server and the end point are not (HTTP). ",
    "url": "/docs/platforms/heroku/shield-setup/#how-secure-is-the-https-proxy",
    "relUrl": "/docs/platforms/heroku/shield-setup/#how-secure-is-the-https-proxy"
  },"1649": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy with QGPass",
    "content": "QGPass is a wrapper program that makes using the the HTTPS Proxy as easy as connecting to an unauthenticated HTTP Proxy. Connection can be made to localhost:8080 with no credentials, then QGPass will use the secure HTTPS connection URL to proxy your requests through our proxy servers. To get started with the with QGPass, please follow these steps: . ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy-with-qgpass",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy-with-qgpass"
  },"1650": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Download QGPass",
    "content": "Download and extract the qgpass in the root directory of your app: . Linux . Copy $ curl https://s3.amazonaws.com/quotaguard/qgpass-latest.tar.gz | tar xz . Mac (available only for local testing) . Copy $ curl https://quotaguard.s3.amazonaws.com/qgpass-1.1.0-darwin.tar.gz | tar xz . ",
    "url": "/docs/platforms/heroku/shield-setup/#download-qgpass",
    "relUrl": "/docs/platforms/heroku/shield-setup/#download-qgpass"
  },"1651": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Change your code",
    "content": "Change your code to connect through QGPass at http://localhost:8080. Each language has simple HTTP proxy support. Examples can be found in later sections of this documentation. ",
    "url": "/docs/platforms/heroku/shield-setup/#change-your-code",
    "relUrl": "/docs/platforms/heroku/shield-setup/#change-your-code"
  },"1652": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Change your Procfile",
    "content": "Modify your app Procfile to prepend the QGPass application to your standard commands: . Before: . Copy web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb . After: . Copy web: bin/qgpass bundle exec unicorn -p $PORT -c ./config/unicorn.rb . ",
    "url": "/docs/platforms/heroku/shield-setup/#change-your-procfile",
    "relUrl": "/docs/platforms/heroku/shield-setup/#change-your-procfile"
  },"1653": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Deploy",
    "content": "Commit and deploy your changes. Be sure to add bin/qgpass. ",
    "url": "/docs/platforms/heroku/shield-setup/#deploy",
    "relUrl": "/docs/platforms/heroku/shield-setup/#deploy"
  },"1654": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "If problems arise",
    "content": "By default all fatal errors encountered by the qgpass will be logged to your Heroku logs. If this information is not enough, enable verbose output mode by setting QGPASS_DEBUG environment variable to true. Copy $ heroku config:set QGPASS_DEBUG=true . Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to support@quotaguard.com. ",
    "url": "/docs/platforms/heroku/shield-setup/#if-problems-arise",
    "relUrl": "/docs/platforms/heroku/shield-setup/#if-problems-arise"
  },"1655": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy with Ruby/Rails",
    "content": "Ruby’s popular HTTP libraries REST client and HTTParty do not support HTTPS proxies out of the box. We can use QGPass to get around this. Copy require \"rest-client\" RestClient.proxy = \"http://localhost:8080\" res = RestClient.get(\"https://ip.quotaguard.com\") puts \"Your Static IP is: #{res.body}\" . Note: Be sure to follow the directions in the QGPass section. ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy-with-rubyrails",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy-with-rubyrails"
  },"1656": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy Python/Django",
    "content": "Requests is a great HTTP library for Python. It allows you to specify an authenticated proxy on a per request basis so you can pick and choose when to route through your static IP. Copy import requests import os proxies = { \"http\": os.environ['QUOTAGUARDSHIELD_URL'], \"https\": os.environ['QUOTAGUARDSHIELD_URL'] } res = requests.get(\"http://ip.quotaguard.com/\", proxies=proxies) print(res.text) . ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy-pythondjango",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy-pythondjango"
  },"1657": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy with Node.js",
    "content": "The standard Node.js HTTPS module does not handle making requests through a proxy very well. If you need to access an HTTPS API we recommend using the Request module (npm install request) with https-proxy-agent (npm install https-proxy-agent). Copy 'use strict'; require('dotenv').load({ silent: true }); var url = require('url'); var HttpsProxyAgent = require('https-proxy-agent'); var request = require('request'); var testEndpoint = 'https://ip.quotaguard.com'; var proxy = process.env.QUOTAGUARDSHIELD_URL; var agent = new HttpsProxyAgent(proxy); var options = { uri: url.parse(testEndpoint), agent }; function callback(error, response, body) { if (!error &amp;&amp; response.statusCode == 200) { console.log('body: ', body); } else { console.log('error: ', error); } } request(options, callback); . ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy-with-nodejs",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy-with-nodejs"
  },"1658": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy with PHP",
    "content": "PHP cURL is the easiest way to make HTTP requests via QuotaGuard Shield. This example assumes that you have set the QUOTAGUARDSHIELD_URL environment variable which is automatically set for you when you provision the add-on. The IP address printed on screen will be one of your two static IP addresses, run it a couple of times and you’ll probably see the other one too. Copy &lt;?php function lookup(){ $quotaguard_env = getenv(\"QUOTAGUARDSHIELD_URL\"); $quotaguard = parse_url($quotaguard_env); $proxyUrl = $quotaguard['host'].\":\".$quotaguard['port']; $proxyAuth = $quotaguard['user'].\":\".$quotaguard['pass']; $url = \"https://ip.quotaguard.com/\"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROXY, $proxyUrl); curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth); curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTPS); $response = curl_exec($ch); return $response; } $res = lookup(); print_r($res); ?&gt; . ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy-with-php",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy-with-php"
  },"1659": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy with Java",
    "content": "The example below uses Apache HttpClient, but the same configuration applies to other JVM-based clients. Copy import java.net.*; import java.io.*; public class HelloWorld { public static void main(String []args) throws IOException { URL proxyUrl = new URL(System.getenv(\"QUOTAGUARDSHIELD_URL\")); String userInfo = proxyUrl.getUserInfo(); String user = userInfo.substring(0, userInfo.indexOf(':')); String password = userInfo.substring(userInfo.indexOf(':') + 1); URLConnection conn = null; System.setProperty(\"http.proxyHost\", proxyUrl.getHost()); System.setProperty(\"http.proxyPort\", Integer.toString(proxyUrl.getPort())); Authenticator.setDefault(new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(user, password.toCharArray()); } }); URL url = new URL(\"https://ip.quotaguard.com\"); conn = url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) System.out.println(inputLine); in.close(); } } . You can check available proxy related JVM settings here. ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy-with-java",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy-with-java"
  },"1660": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTPS Proxy with Clojure",
    "content": "The Clojure clj-http library allows you to configure a proxy for an HTTP request. The example below shows you how to use this with the add-on: . Copy (defn get-quota-guard [] (let [proxy-uri (java.net.URI. (env :quotaguardshield-url))] (client/get \"http://httpbin.org/ip\" {:proxy-host (.getHost proxy-uri) :proxy-port (.getPort proxy-uri) :headers { \"Proxy-Authorization\" (str \"Basic \" (.encode (sun.misc.BASE64Encoder.) (.getBytes (.getUserInfo proxy-uri))))}}))) . ",
    "url": "/docs/platforms/heroku/shield-setup/#https-proxy-with-clojure",
    "relUrl": "/docs/platforms/heroku/shield-setup/#https-proxy-with-clojure"
  },"1661": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "HTTP Proxy with Golang",
    "content": "For Golang, you can setup a per-request proxy in the http package like this: . Copy proxyUrl, err := url.Parse(\"https://username:password@&lt;your-quotaguard-shield-host&gt;:9294\") myClient := &amp;http.Client{Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)}} . Or you can configure it for all requests like this: . Copy proxyUrl, err := url.Parse(\"https://username:password@&lt;your-quotaguard-shield-host&gt;:9294\") http.DefaultTransport = &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)}``` . ",
    "url": "/docs/platforms/heroku/shield-setup/#http-proxy-with-golang",
    "relUrl": "/docs/platforms/heroku/shield-setup/#http-proxy-with-golang"
  },"1662": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Secure SOCKS5 Proxy",
    "content": "SOCKS5 is a very flexible TCP level tunneling protocol which works on a per host basis and is compatible with all programming environments. QuotaGuard Shield provides Secure SOCKS, which is SOCKS5 over a TLS connection. Secure SOCKS encrypts your credentials and connection between your application and our proxy servers. To utilize the Secure SOCKS system, you can use the QuotaGuard Tunnel (QGTunnel). QGTunnel is an extremely versatile wrapper script for your process. It allows you to map one or more local ports to route through the QuotaGuard proxy servers. It supports a DNS override mode for protocols that require the hostname stay the same (ie: HTTPS) or to minimize the impact on the code. QGTunnel also supports end-to-end encryption of your tunnel data for protocols that are not encrypted (ie: redis). QGTunnel is great for connecting to databases such as mysql, postgresql, mongodb, and mssql. QGTunnel also works great with SFTP and FTP. QGTunnel works with just about any TCP based protocol and with just about any framework or programming language. ",
    "url": "/docs/platforms/heroku/shield-setup/#secure-socks5-proxy",
    "relUrl": "/docs/platforms/heroku/shield-setup/#secure-socks5-proxy"
  },"1663": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Secure SOCKS5 Proxy with QGTunnel",
    "content": "To get started with the SOCKS5 proxy utilizing QGTunnel, please follow these steps: . ",
    "url": "/docs/platforms/heroku/shield-setup/#secure-socks5-proxy-with-qgtunnel",
    "relUrl": "/docs/platforms/heroku/shield-setup/#secure-socks5-proxy-with-qgtunnel"
  },"1664": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Download QGTunnel",
    "content": "Download and extract the qgtunnel in the root directory of your app: . $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . ",
    "url": "/docs/platforms/heroku/shield-setup/#download-qgtunnel",
    "relUrl": "/docs/platforms/heroku/shield-setup/#download-qgtunnel"
  },"1665": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Setup the Tunnel",
    "content": "Login to our dashboard and setup the tunnel: . $ heroku addons:open quotaguardshield Opening quotaguardshield for sharp-mountain-4005... At the top right, click Settings, then Setup. On the left, click Tunnel, then Create Tunnel. This example assumes a MySQL server. Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that your server is located at “hostname.for.your.server.com” and is listening on port 3306 (the default mysql port). Use the same port for the local port, unless you are using that port on your dyno or it is below 1024, then you will have to change this to some other port (say 3307). Transparent mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. More details on end-to-end encryption is below as you follow these instructions. Note: Creating the tunnels in the dashboard is for convenience. See the last step (Harden your setup) for how to remove a dependency from your system. ",
    "url": "/docs/platforms/heroku/shield-setup/#setup-the-tunnel",
    "relUrl": "/docs/platforms/heroku/shield-setup/#setup-the-tunnel"
  },"1666": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Change your code (maybe)",
    "content": "You may have to change your code to connect through QGTunnel. With transparent mode, and when using the same local and remote port, you should not have to change your code. Without transparent mode, you will want to connect to 127.0.0.1:3306 (in this example). If you changed the local port, then you will need to change the port number to match. ",
    "url": "/docs/platforms/heroku/shield-setup/#change-your-code-maybe",
    "relUrl": "/docs/platforms/heroku/shield-setup/#change-your-code-maybe"
  },"1667": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Change your Procfile",
    "content": "Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb . After: . web: bin/qgtunnel bundle exec unicorn -p $PORT -c ./config/unicorn.rb . ",
    "url": "/docs/platforms/heroku/shield-setup/#change-your-procfile-1",
    "relUrl": "/docs/platforms/heroku/shield-setup/#change-your-procfile-1"
  },"1668": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Deploy",
    "content": "Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. ",
    "url": "/docs/platforms/heroku/shield-setup/#deploy-1",
    "relUrl": "/docs/platforms/heroku/shield-setup/#deploy-1"
  },"1669": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "If problems arise",
    "content": "By default all fatal errors encountered by the qgtunnel will be logged to your Heroku logs. If this information is not enough, you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true. $ heroku config:set QGTUNNEL_DEBUG=true . Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to support@quotaguard.com. ",
    "url": "/docs/platforms/heroku/shield-setup/#if-problems-arise-1",
    "relUrl": "/docs/platforms/heroku/shield-setup/#if-problems-arise-1"
  },"1670": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "IMPORTANT: Harden your setup.",
    "content": "This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You should download the configuration file from the Dashboard by pressing Download configuration on the Tunnel page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file, your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/platforms/heroku/shield-setup/#important-harden-your-setup",
    "relUrl": "/docs/platforms/heroku/shield-setup/#important-harden-your-setup"
  },"1671": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Transparent Mode",
    "content": "If your application depends on DNS based discovery process or needs local tunnel to be resolvable via the DNS name regular tunneling mode will not be enough. For this situation you should enable transparent mode for the QGTunnel in your configuration. In transparent mode, QGTunnel will alter DNS queries from your app to the local address. Let’s say you want to access replicated MongoDB cluster using QGTunnel with 3 replicas located on the hosts: rs01.mongodb.net:52115, rs02.mongodb.net:52115 and rs1.mongodb.net:52115. For this configuration you will need to create 3 separate tunnels for each host on the port 52115 in transparent mode. Once this is done, QGTunnel will alter DNS resolution process to resolve these host names to the appropriate loopback address and auto discovery for your replicated cluster should work as intended. ",
    "url": "/docs/platforms/heroku/shield-setup/#transparent-mode",
    "relUrl": "/docs/platforms/heroku/shield-setup/#transparent-mode"
  },"1672": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "End-to-End Encryption",
    "content": "Tunnels support communication over TLS encrypted connections. Encryption offers a high level of data protection: all data will be decrypted only in the environments that you control. The remote destination that the tunnels connect to have to support TLS encryption and have a valid certificate installed. If your remote destination doesn’t support encryption, you can use stunnel. You can use self-signed certificates, however you have to provide a custom root CA certificate, it will be added to the list of trusted roots in qgtunnel. For example: You want to connect to the IP restricted Redis and encrypt all traffic between the Heroku app and Redis server. Redis doesn’t support encryption, so you have to install stunnel on the Redis server or any other server within the same network. Typical stunnel configuration that you might want to use: . Copy [redis] accept = 6380 connect = 127.0.0.1:6379 cert = example.com.pem . With this configuration, stunnel will start TLS server on port 6380, it will handle encrypted traffic and will pass decrypted data to the Redis server on 127.0.0.1:6379. As noted you will need a valid certificate, or you can generate self-signed certificate: . | Generate private key and certificate for the custom CA: | . $ openssl genrsa -out CA.key 2048 $ openssl req -x509 -new -key CA.key -out CA.cer -days 730 . | Generate CSR for your domain and sign it with custom CA: | . $ openssl genrsa -out example.com.key 2048 $ openssl req -new -out example.com.req -key example.com.key $ openssl x509 -req -in example.com.req -out example.com.cer -CAkey CA.key -CA CA.cer -days 365 -CAcreateserial -CAserial serial . | Create PEM bundle: | . $ cat example.com.key example.com.cer &gt; example.com.pem . Install example.com.pem on stunnel server. Add CA.cer to your heroku repository and update qgtunnel command in your Procfile: . Copy web: bin/qgtunnel -root_ca CA.cer bundle exec unicorn -p $PORT -c ./config/unicorn.rb . Finally enable encryption for your tunnel configuration on QuotaGuard dashboard. With this configuration, all the traffic handled by qgtunnel will be encrypted with your certificate and all data will be passing proxies in encrypted format. ",
    "url": "/docs/platforms/heroku/shield-setup/#end-to-end-encryption",
    "relUrl": "/docs/platforms/heroku/shield-setup/#end-to-end-encryption"
  },"1673": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Inbound Proxy",
    "content": "The Inbound Proxy allows you to always access your Heroku app on a static IP address. This feature is available on our Micro plan and above. Once you have provisioned the add-on, you just need to visit the QuotaGuard Shield Dashboard to complete your setup. You can do this from your Heroku Dashboard by clicking on our icon or from your command line: . $ heroku addons:open quotaguardshield Opening quotaguardshield for sharp-mountain-4005... Visit the Setup page and follow the instructions on the Inbound page. We create for you a unique DNS entry that you can use to access your web application (e.g., a62b1d0b4983db763450411fd393b3ce-eu-west-1.getstatica.com). This URL corresponds to a set of DNS A name records that resolves to your two QuotaGuard Shield IPs. You should point your DNS entry for your domain to a CNAME record containing this unique URL. You should include both IP addresses in any firewall rules or allowlists. Open this URL in your browser and you should see your own web application. In your firewall you can now open access to the two QuotaGuard Shield IPs in order to work with your cloud app. ",
    "url": "/docs/platforms/heroku/shield-setup/#inbound-proxy",
    "relUrl": "/docs/platforms/heroku/shield-setup/#inbound-proxy"
  },"1674": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Monitoring &amp; logging",
    "content": "Real-time and historical usage stats can be displayed on the QuotaGuard Shield Dashboard accessible from your Heroku Dashboard. ",
    "url": "/docs/platforms/heroku/shield-setup/#monitoring--logging",
    "relUrl": "/docs/platforms/heroku/shield-setup/#monitoring--logging"
  },"1675": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Dashboard",
    "content": "The QuotaGuard Shield dashboard allows you to view your real-time and historical usage of every API. The dashboard can be accessed via the CLI: . $ heroku addons:open quotaguardshield Opening quotaguardshield for sharp-mountain-4005... or by visiting the Heroku apps web interface and selecting the application in question. Select QuotaGuard Shield from the Add-ons menu. ",
    "url": "/docs/platforms/heroku/shield-setup/#dashboard",
    "relUrl": "/docs/platforms/heroku/shield-setup/#dashboard"
  },"1676": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "FAQs",
    "content": " ",
    "url": "/docs/platforms/heroku/shield-setup/#faqs",
    "relUrl": "/docs/platforms/heroku/shield-setup/#faqs"
  },"1677": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Do you offer Dedicated Static IPs?",
    "content": "Yes - dedicated IP addresses are available on request for subscriptions on the Enterprise plan and above. As they require dedicated infrastructure we only provision these on request so please contact us if you want a dedicated Static IP address. ",
    "url": "/docs/platforms/heroku/shield-setup/#do-you-offer-dedicated-static-ips",
    "relUrl": "/docs/platforms/heroku/shield-setup/#do-you-offer-dedicated-static-ips"
  },"1678": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "What happens when I reach my usage limit?",
    "content": "To make sure we grow in harmony with your application, QuotaGuard Static and QuotaGuard Shield operate initially with a soft limit. When you reach your plan’s monthly usage limit your requests will continue going through but we will reach out to you via email to ask that you upgrade your plan. If you repeatedly exceed your limits without upgrading then hard limits may be placed on your account but this is a very last resort. For current guidance, see our Soft Limit and Overage Policy. ",
    "url": "/docs/platforms/heroku/shield-setup/#what-happens-when-i-reach-my-usage-limit",
    "relUrl": "/docs/platforms/heroku/shield-setup/#what-happens-when-i-reach-my-usage-limit"
  },"1679": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "I’ve forgotten what my Static IPs are.",
    "content": "Both IPs are shown on your Dashboard which you can get to either from your Heroku Apps page or via the CLI. ",
    "url": "/docs/platforms/heroku/shield-setup/#ive-forgotten-what-my-static-ips-are",
    "relUrl": "/docs/platforms/heroku/shield-setup/#ive-forgotten-what-my-static-ips-are"
  },"1680": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Can I access your Brazilian instance in Sao Paulo?",
    "content": "QuotaGuard Shield is deployed in the Heroku US, Asia, LA and Europeon regions, and you are automatically assigned to an instance in the same region as your app. If you would like to use our South America instance located in Sao Paulo, please contact us and we can manually relocate you. This will change your Static IP address. $ heroku addons:open quotaguard Opening quotaguardshield for sharp-mountain-4005... ",
    "url": "/docs/platforms/heroku/shield-setup/#can-i-access-your-brazilian-instance-in-sao-paulo",
    "relUrl": "/docs/platforms/heroku/shield-setup/#can-i-access-your-brazilian-instance-in-sao-paulo"
  },"1681": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Why have you given me two Static IP addresses?",
    "content": "We believe all apps should be built for scalability and high availability. Our commitment to this means we only provide load balanced, high availability services. Load balancing our nodes allows one node to fail or be brought down for maintenance with no impact to your application. Each IP you are given represents one proxy node that is running behind a load balancer. However, if you want to use just one IP address, you can change your QUOTAGUARDSHIELD_URL environment variable to point to one of the two IPs following this format: . https://USERNAME:PASSWORD@PROXY-a.quotaguard.com:9294 . https://USERNAME:PASSWORD@PROXY-b.quotaguard.com:9294 . The IP’s behind “-a/-b” will not change, so whichever one you choose will stay constant. Contact support@quotaguard.com if you have any issues utilizing just one of the two IPs. ",
    "url": "/docs/platforms/heroku/shield-setup/#why-have-you-given-me-two-static-ip-addresses",
    "relUrl": "/docs/platforms/heroku/shield-setup/#why-have-you-given-me-two-static-ip-addresses"
  },"1682": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "What region does QuotaGuard Shield run in?",
    "content": "We have instances in the US, EU, SA, EA, and AP regions. When you provision the add-on you will be assigned static IPs in the same region as your Heroku app ensuring we can always process your requests with ultra low latency. ",
    "url": "/docs/platforms/heroku/shield-setup/#what-region-does-quotaguard-shield-run-in",
    "relUrl": "/docs/platforms/heroku/shield-setup/#what-region-does-quotaguard-shield-run-in"
  },"1683": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Can I access MySQL, MongoDB, or Postgres through this?",
    "content": "Yes. Please utilize the QGTunnel software as described in this document. ",
    "url": "/docs/platforms/heroku/shield-setup/#can-i-access-mysql-mongodb-or-postgres-through-this",
    "relUrl": "/docs/platforms/heroku/shield-setup/#can-i-access-mysql-mongodb-or-postgres-through-this"
  },"1684": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Migrating between plans",
    "content": "Note: Application owners can migrate at any time with no interruption to your service. Use the heroku addons:upgrade command to migrate to a new plan. $ heroku addons:upgrade quotaguardshield:large -----&gt; Upgrading quotaguardshield:large to sharp-mountain-4005... done, v18 ($90/mo) Your plan has been updated to: quotaguardshield:large . Note: The QUOTAGUARDSHIELD_URL will revert back to it’s original setting when you change plans. Be prepared to reset this if you have changed it. ",
    "url": "/docs/platforms/heroku/shield-setup/#migrating-between-plans",
    "relUrl": "/docs/platforms/heroku/shield-setup/#migrating-between-plans"
  },"1685": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Installing Curl Dev Package",
    "content": "pycurl and curb require the libcurl4-openssl-dev debian package to be installed. This can be accomplished with the ‘heroku-buildpack-apt’ multipack. To use the latest stable version of the buildpack: . $ heroku buildpacks:add --index 1 heroku-community/apt -----&gt; Buildpack added. Next release on stork-crest-63916 will use: -----&gt; 1. heroku-community/apt -----&gt; 2. heroku/ruby -----&gt; Run git push heroku master to create a new release using these buildpacks. Add libcurl4-openssl-dev to the Aptfile in the root of your project. ",
    "url": "/docs/platforms/heroku/shield-setup/#installing-curl-dev-package",
    "relUrl": "/docs/platforms/heroku/shield-setup/#installing-curl-dev-package"
  },"1686": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Removing the add-on",
    "content": "QuotaGuard Shield can be removed via the CLI. WARNING: This will destroy all associated data and cannot be undone! . $ heroku addons:destroy quotaguardshield -----&gt; Removing quotaguardshield from sharp-mountain-4005... done, v20 (free) . ",
    "url": "/docs/platforms/heroku/shield-setup/#removing-the-add-on",
    "relUrl": "/docs/platforms/heroku/shield-setup/#removing-the-add-on"
  },"1687": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Privacy - GDPR and CCPA",
    "content": "QuotaGuard supports customers’ GDPR and CCPA requirements. Please review our Privacy Policy and GDPR compliance information at QuotaGuard.com’s Privacy Policy page. In addition, we also answer many questions around Privacy, Security, and GDPR at QuotaGuard.com FAQ’s. If you need a DPA for your customers, or from us as a sub-contractor of your services, please contact us via our Support channel so we can get you the right DPA contract for your review. ",
    "url": "/docs/platforms/heroku/shield-setup/#privacy---gdpr-and-ccpa",
    "relUrl": "/docs/platforms/heroku/shield-setup/#privacy---gdpr-and-ccpa"
  },"1688": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Support",
    "content": "All QuotaGuard Shield support and runtime issues should be submitted to our Support. ",
    "url": "/docs/platforms/heroku/shield-setup/#support",
    "relUrl": "/docs/platforms/heroku/shield-setup/#support"
  },"1689": {
    "doc": "Heroku Setup Instructions - QG Shield Static IP’s",
    "title": "Heroku Setup Instructions - QG Shield Static IP’s",
    "content": " ",
    "url": "/docs/platforms/heroku/shield-setup/",
    "relUrl": "/docs/platforms/heroku/shield-setup/"
  },"1690": {
    "doc": "How to Sign Up for QuotaGuard on AWS - QuotaGuard",
    "title": "Getting Started with QuotaGuard on AWS",
    "content": "Signing up for QuotaGuard through the AWS Marketplace is a straightforward process that takes just a few minutes. You can choose between our two products: QuotaGuard Static (for basic static IP needs) or QuotaGuard Shield (for enhanced security features). The setup process involves subscribing through AWS Marketplace and then completing your configuration in our dashboard to get your static IPs and connection details. ",
    "url": "/docs/platforms/aws/sign-up-guide/#getting-started-with-quotaguard-on-aws",
    "relUrl": "/docs/platforms/aws/sign-up-guide/#getting-started-with-quotaguard-on-aws"
  },"1691": {
    "doc": "How to Sign Up for QuotaGuard on AWS - QuotaGuard",
    "title": "Important: One Subscription per Product per AWS Account",
    "content": "An AWS buyer account can have only one active contract for each QuotaGuard Marketplace listing, and each contract provisions one QuotaGuard subscription on one plan. One AWS account can therefore hold one QuotaGuard Static subscription and one QuotaGuard Shield subscription at the same time because they are separate Marketplace listings. A second Static subscription or a second Shield subscription requires a different AWS account, such as a member account under your AWS Organization. If you need several QuotaGuard subscriptions but do not want to operate multiple AWS accounts, direct QuotaGuard billing supports multiple subscriptions under one QuotaGuard account. Contact Support before purchasing if you need help choosing the right account structure. ",
    "url": "/docs/platforms/aws/sign-up-guide/#important-one-subscription-per-product-per-aws-account",
    "relUrl": "/docs/platforms/aws/sign-up-guide/#important-one-subscription-per-product-per-aws-account"
  },"1692": {
    "doc": "How to Sign Up for QuotaGuard on AWS - QuotaGuard",
    "title": "How to Subscribe to QuotaGuard on AWS Marketplace",
    "content": "Step 1. Navigate to our AWS Marketplace product page: . | QuotaGuard Static - For basic static IP functionality | QuotaGuard Shield - For enhanced security and features | . If you are setting up more than one subscription for the same QuotaGuard product, sign in to the separate AWS member account that will own each contract before continuing. Step 2. Click View purchase options. Step 3. Specify your desired terms including auto-renewal preferences and select your plan from the pricing details, then continue to the next page. Step 4. Review your plan details and click Subscribe. Step 5. The page will refresh and display either “Your subscription is in progress…” or “You successfully purchased QuotaGuard…”. In either case, click Set up your account to continue to our dashboard. If you see “Subscription in progress”: . If you see “Successfully purchased”: . ",
    "url": "/docs/platforms/aws/sign-up-guide/#how-to-subscribe-to-quotaguard-on-aws-marketplace",
    "relUrl": "/docs/platforms/aws/sign-up-guide/#how-to-subscribe-to-quotaguard-on-aws-marketplace"
  },"1693": {
    "doc": "How to Sign Up for QuotaGuard on AWS - QuotaGuard",
    "title": "Complete Your QuotaGuard Setup",
    "content": "Step 6. You’ll be redirected to our QuotaGuard dashboard to finish the configuration. Here you’ll need to: . | Enter your preferred login email address | Create a secure password | Select your desired AWS region for optimal performance | . After reviewing and agreeing to our Privacy Policy and Terms of Use, click Get Started to complete the setup process. ",
    "url": "/docs/platforms/aws/sign-up-guide/#complete-your-quotaguard-setup",
    "relUrl": "/docs/platforms/aws/sign-up-guide/#complete-your-quotaguard-setup"
  },"1694": {
    "doc": "How to Sign Up for QuotaGuard on AWS - QuotaGuard",
    "title": "What Happens Next?",
    "content": "Once you complete the setup, you’ll have immediate access to: . | Your static IP addresses | Connection credentials and configuration details | Our dashboard for monitoring and managing your service | . That’s it! Your QuotaGuard service is now ready to use. If you have any questions during the setup process or need help with integration, please don’t hesitate to contact our Support team. ",
    "url": "/docs/platforms/aws/sign-up-guide/#what-happens-next",
    "relUrl": "/docs/platforms/aws/sign-up-guide/#what-happens-next"
  },"1695": {
    "doc": "How to Sign Up for QuotaGuard on AWS - QuotaGuard",
    "title": "How to Sign Up for QuotaGuard on AWS - QuotaGuard",
    "content": " ",
    "url": "/docs/platforms/aws/sign-up-guide/",
    "relUrl": "/docs/platforms/aws/sign-up-guide/"
  },"1696": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Why Snowflake Connections Need a Static IP",
    "content": "Snowflake controls connection-level access with network policies. When a network policy is active on your account or on a user, Snowflake checks the source IP of every connection against an allowed IP list and refuses anything not on it. The check runs before authentication, so a correct username, password, and key pair are still rejected if the IP is wrong. Applications on serverless and PaaS hosts use outbound IP addresses that rotate on every deploy, restart, and scale event. There is no fixed address to put on the allowed list. You cannot list a cloud provider’s published range either, because that range covers thousands of other tenants and defeats the policy. These clients hit the network policy wall most often: . | Backends on AWS Lambda, Render, Railway, Fly.io, Heroku, and Cloud Functions | ETL and orchestration jobs on Airflow, dbt, and reverse-ETL tools | BI and analytics tools connecting from rotating cloud IPs | CI and CD pipelines running migrations or tests against Snowflake | Partner integrations connecting into a Snowflake account that mandates IP allowlisting on a shared data set | . Two static IPs solve all of these. You register the pair once and the connection stops breaking on every deploy. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#why-snowflake-connections-need-a-static-ip",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#why-snowflake-connections-need-a-static-ip"
  },"1697": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Where the Allowed IP List Lives in Snowflake",
    "content": "A network policy is the object that holds the allowed IP list. A user with the SECURITYADMIN role or higher creates and applies it. You build the list one of two ways. The direct way uses ALLOWED_IP_LIST on the policy: . -- Run as SECURITYADMIN or higher. -- Use your two QuotaGuard static IPs from the dashboard. CREATE NETWORK POLICY quotaguard_access ALLOWED_IP_LIST = ('203.0.113.10', '203.0.113.11'); . The newer way uses network rules, which are schema-level objects you can reuse across policies: . CREATE NETWORK RULE quotaguard_ips MODE = INGRESS TYPE = IPV4 VALUE_LIST = ('203.0.113.10', '203.0.113.11'); CREATE NETWORK POLICY quotaguard_access ALLOWED_NETWORK_RULE_LIST = ('quotaguard_ips'); . Then activate the policy at the account level, or scope it to a single service user: . -- Whole account... ALTER ACCOUNT SET NETWORK_POLICY = quotaguard_access; -- ...or one user instead. ALTER USER service_user SET NETWORK_POLICY = quotaguard_access; . Four things to know about how this behaves: . | The allowed list accepts individual IPv4 addresses and CIDR ranges, including a single address written as a /32. It holds multiple entries, so both QuotaGuard IPs go on the same policy. | A user-level network policy takes precedence over the account-level one. If a service user has its own policy, that is the list that applies to it. | Snowflake automatically blocks every address not on the allowed list. There is no separate block list to maintain for this case. | Snowflake will not let you apply a policy that would lock out the user setting it. Keep your own current IP on the list alongside the QuotaGuard pair when you activate or change a policy. | . In the console, the same objects live under Admin, then Security, then Network Policies. The SQL above is the faster path for a service account. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#where-the-allowed-ip-list-lives-in-snowflake",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#where-the-allowed-ip-list-lives-in-snowflake"
  },"1698": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to your Snowflake account to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#getting-started",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#getting-started"
  },"1699": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Step 1: Set the Proxy URL",
    "content": "Your QuotaGuard Static connection URL has this shape, with the region host taken from your dashboard: . QUOTAGUARDSTATIC_URL=\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\" . The host is region-specific. Use the exact host shown in your dashboard. The HTTP/HTTPS port is 9293. One Snowflake-specific setting matters here. Snowflake streams large result sets and bulk loads from cloud storage stages on S3, GCS, or Azure, not over the service connection the network policy checks. Keep that storage traffic off the proxy with NO_PROXY, so a large load does not consume your plan bandwidth and does not add a pointless hop: . NO_PROXY=\".amazonaws.com\" . Match the NO_PROXY suffix to the cloud your Snowflake account runs on: .amazonaws.com for AWS, .core.windows.net for Azure, .googleapis.com for GCP. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#step-1-set-the-proxy-url",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#step-1-set-the-proxy-url"
  },"1700": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Step 2: Route Each Client Through the Proxy",
    "content": "Snowflake connections run over HTTPS, so every driver attaches the proxy the same way in principle: point it at your region host on port 9293. The host, port, and credentials inside every example below come from your dashboard and must be exact. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#step-2-route-each-client-through-the-proxy",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#step-2-route-each-client-through-the-proxy"
  },"1701": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Python (snowflake-connector-python)",
    "content": "Pass the proxy as connection parameters: . import snowflake.connector conn = snowflake.connector.connect( account=\"myorg-myaccount\", user=\"SERVICE_USER\", password=\"...\", warehouse=\"COMPUTE_WH\", database=\"ANALYTICS\", schema=\"PUBLIC\", proxy_host=\"&lt;your-quotaguard-proxy-host&gt;\", proxy_port=9293, proxy_user=\"QG_USERNAME\", proxy_password=\"QG_PASSWORD\", ) . The connector also honors the HTTPS_PROXY and NO_PROXY environment variables, which is the simplest path when you cannot edit the connection call: . export HTTPS_PROXY=\"http://QG_USERNAME:QG_PASSWORD@&lt;your-quotaguard-proxy-host&gt;:9293\" export NO_PROXY=\".amazonaws.com\" . ",
    "url": "/docs/apis/snowflake/snowflake-integration/#python-snowflake-connector-python",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#python-snowflake-connector-python"
  },"1702": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "JDBC",
    "content": "Set the proxy parameters directly in the connection string: . jdbc:snowflake://myorg-myaccount.snowflakecomputing.com/?user=SERVICE_USER&amp;warehouse=COMPUTE_WH&amp;useProxy=true&amp;proxyHost=&lt;your-quotaguard-proxy-host&gt;&amp;proxyPort=9293&amp;proxyUser=QG_USERNAME&amp;proxyPassword=QG_PASSWORD . The same values can be passed as JVM system properties instead, which is useful when you cannot change the connection string. Since Java 8u111, Basic authentication for HTTPS tunneling through an HTTP proxy is disabled by default, so include -Djdk.http.auth.tunneling.disabledSchemes=\"\" for the credentials to take effect: . -Dhttps.proxyHost=&lt;your-quotaguard-proxy-host&gt; -Dhttps.proxyPort=9293 -Dhttps.proxyUser=QG_USERNAME -Dhttps.proxyPassword=QG_PASSWORD -Djdk.http.auth.tunneling.disabledSchemes=\"\" . Use the JDBC nonProxyHosts parameter to keep stage storage traffic off the proxy, the JDBC equivalent of NO_PROXY. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#jdbc",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#jdbc"
  },"1703": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Node.js (snowflake-sdk)",
    "content": "Pass the proxy as connection options: . const snowflake = require('snowflake-sdk'); const connection = snowflake.createConnection({ account: 'myorg-myaccount', username: 'SERVICE_USER', password: '...', warehouse: 'COMPUTE_WH', database: 'ANALYTICS', proxyHost: '&lt;your-quotaguard-proxy-host&gt;', proxyPort: 9293, proxyUser: 'QG_USERNAME', proxyPassword: 'QG_PASSWORD', proxyProtocol: 'http', }); . Version 1.15.0 and later of the driver also reads the HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables. A value set in the connection options takes precedence over the environment. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#nodejs-snowflake-sdk",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#nodejs-snowflake-sdk"
  },"1704": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Go (gosnowflake)",
    "content": "The Go driver reads the standard proxy environment variables, so you set them once and the driver picks them up. There is a cmd/proxyconnection example in the driver repository. export HTTPS_PROXY=\"http://QG_USERNAME:QG_PASSWORD@&lt;your-quotaguard-proxy-host&gt;:9293\" export NO_PROXY=\".amazonaws.com\" . ",
    "url": "/docs/apis/snowflake/snowflake-integration/#go-gosnowflake",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#go-gosnowflake"
  },"1705": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "SQLAlchemy (snowflake-sqlalchemy)",
    "content": "The SQLAlchemy dialect passes connect_args straight to the Python connector, so the same proxy parameters apply: . from sqlalchemy import create_engine engine = create_engine( \"snowflake://SERVICE_USER:password@myorg-myaccount/ANALYTICS/PUBLIC?warehouse=COMPUTE_WH\", connect_args={ \"proxy_host\": \"&lt;your-quotaguard-proxy-host&gt;\", \"proxy_port\": 9293, \"proxy_user\": \"QG_USERNAME\", \"proxy_password\": \"QG_PASSWORD\", }, ) . ",
    "url": "/docs/apis/snowflake/snowflake-integration/#sqlalchemy-snowflake-sqlalchemy",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#sqlalchemy-snowflake-sqlalchemy"
  },"1706": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "dbt (dbt-snowflake)",
    "content": "dbt-snowflake runs on the Python connector. Set HTTPS_PROXY in the environment dbt runs in: . export HTTPS_PROXY=\"http://QG_USERNAME:QG_PASSWORD@&lt;your-quotaguard-proxy-host&gt;:9293\" export NO_PROXY=\".amazonaws.com\" . Known gotcha: the connector does not read an operating-system proxy auto-config (PAC) script. On a machine where the browser reaches Snowflake through a PAC file, dbt debug can still fail with the network-policy error because dbt never picks up the PAC proxy. Set an explicit HTTPS_PROXY value instead of relying on a PAC script. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#dbt-dbt-snowflake",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#dbt-dbt-snowflake"
  },"1707": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "SnowSQL (CLI)",
    "content": "SnowSQL uses the Python connector. The simplest path is to set HTTPS_PROXY before launching SnowSQL, the same value as above. If your SnowSQL version supports proxy keys in ~/.snowsql/config, set proxy_host and proxy_port under your connection there. Confirm the keys against your SnowSQL version before relying on them, and fall back to the environment variable if they are not present. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#snowsql-cli",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#snowsql-cli"
  },"1708": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": ".NET (Snowflake.Data)",
    "content": "The .NET connector runs on the standard .NET HTTP stack, so set the HTTPS_PROXY environment variable for the process, or configure a WebProxy on the handler your application uses. Confirm the exact connection-string proxy parameters against the current Snowflake .NET driver documentation before depending on a specific parameter name. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#net-snowflakedata",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#net-snowflakedata"
  },"1709": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "ODBC",
    "content": "The ODBC driver reads proxy settings from the standard proxy environment variables on the host. Set HTTPS_PROXY for the process that loads the driver. Some platforms also accept proxy settings in the DSN. Confirm the DSN keys against the current ODBC driver documentation for your platform. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#odbc",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#odbc"
  },"1710": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Testing the Connection",
    "content": "Confirm two things: that your traffic leaves from a QuotaGuard static IP, and that Snowflake sees that IP. First, check the egress IP through the proxy. Route a request to the IP check endpoint and read the response: . curl -x \"http://QG_USERNAME:QG_PASSWORD@&lt;your-quotaguard-proxy-host&gt;:9293\" https://ip.quotaguard.com . {\"ip\":\"203.0.113.10\"} . The returned IP must be one of the two static IPs in your dashboard. Call it more than once and you will see both addresses, because the pair is load-balanced. Second, confirm what Snowflake recorded. Snowflake’s LOGIN_HISTORY exposes the client IP of each connection, so you can verify the address the network policy saw: . SELECT event_timestamp, user_name, client_ip, is_success, error_message FROM TABLE(INFORMATION_SCHEMA.LOGIN_HISTORY_BY_USER('SERVICE_USER')) ORDER BY event_timestamp DESC LIMIT 10; . A successful row whose client_ip matches one of your QuotaGuard IPs confirms the full path. The account-level SNOWFLAKE.ACCOUNT_USAGE.LOGIN_HISTORY view holds the same client_ip column with a longer history and some latency. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#testing-the-connection",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#testing-the-connection"
  },"1711": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Snowflake PrivateLink vs a NAT Gateway vs QuotaGuard",
    "content": "Snowflake’s native answer to the public-IP problem is PrivateLink, which removes the public internet path entirely. It works and is the right choice for some architectures. It also carries real weight: it requires the Business Critical edition or higher, your client in the same cloud as your account, and private-connectivity setup on both ends. A self-managed NAT gateway is the other native option, and it only covers the one platform whose VPC you control. |   | Snowflake PrivateLink | Self-managed NAT gateway | QuotaGuard | . | Setup | Private link on both ends | Own VPC plus gateway | One proxy config on the driver | . | Edition requirement | Business Critical or higher | None | None | . | Scope | Same cloud as the account | One VPC or platform | Any cloud, any platform | . | Same identity everywhere | No | No | Yes, the same two IPs | . | Regulated data, no decrypt | Handled by the private path | Your responsibility | QuotaGuard Shield | . | Starting cost | Edition plus endpoint | Around $32/month plus data | $19/month | . Use PrivateLink if you are single-cloud, on Business Critical, and want to remove the public path. Use QuotaGuard if you run across clouds or platforms, are not on Business Critical, or want one fixed identity that works everywhere you deploy. This page documents the QuotaGuard path. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#snowflake-privatelink-vs-a-nat-gateway-vs-quotaguard",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#snowflake-privatelink-vs-a-nat-gateway-vs-quotaguard"
  },"1712": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Outbound and Inbound",
    "content": "Outbound is the main case for Snowflake. Your application, ETL job, BI tool, or CI pipeline connects out to Snowflake, and Snowflake checks the source IP against the network policy. Everything above covers this direction. Inbound applies when traffic flows into your application rather than out to Snowflake. Snowflake’s own bulk loading pulls from cloud storage stages, which is a separate path that does not touch your application’s inbound endpoint. Where inbound matters is upstream: when a partner or enterprise system pushes data into your application on a fixed endpoint before your application loads it into Snowflake. QuotaGuard includes inbound proxy on all direct plans (Micro and above on Heroku, AWS, and Azure marketplaces), and QuotaGuard Shield covers the inbound path when that incoming data is regulated. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#outbound-and-inbound",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#outbound-and-inbound"
  },"1713": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Troubleshooting",
    "content": "Incoming request with IP/Token X.X.X.X is not allowed to access Snowflake The connection reached Snowflake from an IP that is not on the network policy’s allowed list. Confirm your egress IP with the curl test above, then confirm both QuotaGuard IPs are on the policy. If a user-level policy exists, remember it overrides the account-level one, so check the policy that actually applies to the connecting user. 407 Proxy Authentication Required The proxy credentials are wrong or missing. Recheck the username and password in your QUOTAGUARDSTATIC_URL against the dashboard. A common cause is a credential that was not URL-encoded when it contains a special character. Connection times out Usually a wrong host or port. Confirm you are using your region’s host from the dashboard and port 9293 for Static. A timeout only on data loads or unloads points the other way: stage traffic is being forced through the proxy, so set NO_PROXY for your cloud storage domain. Wrong IP returned, or only one IP ever appears The pair is load-balanced, so repeated checks should show both addresses over time. Seeing a non-QuotaGuard IP means the driver is not actually using the proxy. Confirm the proxy parameters are set on the connection your code opens, not on a different client or a global default the runtime ignores. Certificate or OCSP errors Do not switch on the driver’s insecure mode to get past these. QuotaGuard does not decrypt the session, so your driver validates Snowflake’s own certificate directly. An OCSP failure usually means the OCSP endpoint is unreachable from your network, not a proxy problem. Allow the OCSP host through rather than disabling validation. PUT or GET stage commands fail through the proxy Stage transfers go to cloud storage, not to the Snowflake service. Add your storage domain to NO_PROXY (.amazonaws.com, .core.windows.net, or .googleapis.com) so those transfers go direct. dbt connects in the GUI but dbt debug fails with the network-policy error The connector does not read a PAC auto-config script. Set an explicit HTTPS_PROXY value in the environment dbt runs in rather than relying on an operating-system PAC file. Secrets or environment variables not loading at runtime On serverless and PaaS hosts, confirm the proxy variables are set in the platform’s environment configuration and are present in the running process, not only in your local shell or a build step. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#troubleshooting",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#troubleshooting"
  },"1714": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static is right for most Snowflake connections and satisfies the network policy on its own. Choose Shield if the workload handles regulated data or the environment requires TLS between your app and the proxy itself. Both work with Snowflake because neither one decrypts the session, which matters because Snowflake’s security model rejects proxies that decrypt and re-encrypt traffic. ",
    "url": "/docs/apis/snowflake/snowflake-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1715": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Contact Support . ",
    "url": "/docs/apis/snowflake/snowflake-integration/#ready-to-get-started",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/#ready-to-get-started"
  },"1716": {
    "doc": "QuotaGuard and Snowflake Integration Guide",
    "title": "QuotaGuard and Snowflake Integration Guide",
    "content": "QuotaGuard gives your Snowflake clients two fixed outbound IP addresses that satisfy a Snowflake network policy. Set your driver’s proxy parameters to point at QuotaGuard, register your two static IPs in the network policy’s allowed list, and every connection reaches Snowflake from an address the policy accepts. This guide covers the Python, JDBC, Node.js, Go, .NET, ODBC, SnowSQL, dbt, and SQLAlchemy clients, plus testing, the native PrivateLink comparison, and troubleshooting. This page documents connecting to the Snowflake data warehouse over its standard HTTPS interface. It does not cover other Snowflake products. ",
    "url": "/docs/apis/snowflake/snowflake-integration/",
    "relUrl": "/docs/apis/snowflake/snowflake-integration/"
  },"1717": {
    "doc": "Access SOAP fr .NET MVC Controller w/ Static IP",
    "title": "MVC Controller",
    "content": "Copy using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Bank.Webservices; // fictitious namespace name for your webservice's reference using System.Diagnostics; using System.Xml; using System.Net; using System.Web.Configuration; public class PaymentController : Controller { [HttpPost] // this is usually a form result, so attribute of action is HttpPost public ActionResult Index(string anyTokenYouUseWithYourBank) { string QuotaGuardProxyAddress = WebConfigurationManager.AppSettings[\"QuotaGuard_Proxy_URI\"]; // to get the Proxy Uri from Web.config string QuotaGuardUser = WebConfigurationManager.AppSettings[\"QuotaGuard_User\"]; // to get the Proxy User from Web.config string QuotaGuardPassword = WebConfigurationManager.AppSettings[\"QuotaGuard_Password\"]; // to get the Proxy Password from Web.config var proxy = new WebProxy(QuotaGuardProxyAddress); // we create a new proxy object proxy.Credentials = new NetworkCredential(QuotaGuardUser, QuotaGuardPassword); // we give the proxy the QuotaGuard credentials WebRequest.DefaultWebProxy = proxy; // thanks to WebRequest, from here on every request of this controller will pass through the proxy var soapClientObject = new WSBankSoapClient(); //fictitious name for the banks's web service var result = soapClientObject .GrabSomethingOnTheNet(anyTokenYouUseWithYourBank); // now our WS call goes passes Proxy and in the variable result we have the web service's result // we use the result here return Redirect(\"http://newpage\"); } } . ",
    "url": "/docs/outbound-proxy/dotnet/soap-mvc-controller/#mvc-controller",
    "relUrl": "/docs/outbound-proxy/dotnet/soap-mvc-controller/#mvc-controller"
  },"1718": {
    "doc": "Access SOAP fr .NET MVC Controller w/ Static IP",
    "title": "Configuration (web.config)",
    "content": "Copy &lt;!-- keys for QuotaGuard--&gt; &lt;add key=\"QuotaGuard_Proxy_URI\" value=\"http://yourQuotaGuardUser:yourQuotaGuardPassword@&lt;your-quotaguard-proxy-host&gt;:9293\"/&gt; &lt;add key=\"QuotaGuard_User\" value=\"yourQuotaGuardUser\"/&gt; &lt;add key=\"QuotaGuard_Password\" value=\"yourQuotaGuardPassword\"/&gt; &lt;!-- end of keys for QuotaGuard--&gt; ... &lt;/appSettings&gt; . This solution was kindly contributed by Riccardo Moschetti, a Microsoft MCSD Web Applications specialist. ",
    "url": "/docs/outbound-proxy/dotnet/soap-mvc-controller/#configuration-webconfig",
    "relUrl": "/docs/outbound-proxy/dotnet/soap-mvc-controller/#configuration-webconfig"
  },"1719": {
    "doc": "Access SOAP fr .NET MVC Controller w/ Static IP",
    "title": "Access SOAP fr .NET MVC Controller w/ Static IP",
    "content": "Note: This example assumes your QUOTAGUARDSTATIC_URL environment variable is set and contains your unique connection string. Here we show how to use QuotaGuard to access a SOAP service from a .NET MVC web controller. This example should also apply to other WebRequests made from an MVC controller. A common use case is from your MVC controller you want to access an IP-whitelisted service that uses SOAP but the web service object does not have a “proxy” property that allows you to specify the QuotaGuard proxy service. Solution: Create a proxy object and use it as a property of the WebRequest MVC class, which will send all following requests via the proxy. The solution is split in to two parts, the configuration in your web.config (which on Azure can be done from your management console) and the MVC Controller itself. ",
    "url": "/docs/outbound-proxy/dotnet/soap-mvc-controller/",
    "relUrl": "/docs/outbound-proxy/dotnet/soap-mvc-controller/"
  },"1720": {
    "doc": "Accessing a SOAP service from Node.js with a Static IP",
    "title": "Accessing a SOAP service from Node.js with a Static IP",
    "content": "If you’re looking for a powerful and flexible SOAP client for Node.js, look no further than node-soap. This popular npm package makes it easy to consume and publish SOAP web services, with support for both synchronous and asynchronous requests. The node-soap library is a great library for connecting to SOAP services from your Node.js app. Copy var soap = require('soap'), url = 'http://example.com/wsdl?wsdl', args = { name: 'value' }, opts = { wsdl_options: { proxy: process.env.QUOTAGUARDSTATIC_URL } }; soap.createClient(url, opts, function(err, client) { console.log('connected'); client.MyFunction(args, function(err, result) { console.log(result); }); }); . ",
    "url": "/docs/outbound-proxy/node-js/soap-requests/",
    "relUrl": "/docs/outbound-proxy/node-js/soap-requests/"
  },"1721": {
    "doc": "Does SOCKS5 QGTunnel work on Mac OS?",
    "title": "Does SOCKS5 QGTunnel work on Mac OS?",
    "content": "Yes, you are in luck! . QGTunnel does work on a Mac OS. You just need to use a different Mac version of QGTunnel to get it to run correctly. We keep a copy or a downloadable Mac version at this location: . https://quotaguard.s3.amazonaws.com/qgtunnel-latest-darwin.tar.gz . ",
    "url": "/docs/outbound-proxy/mac-desktop-setup/socks5-qgtunnel-guide/",
    "relUrl": "/docs/outbound-proxy/mac-desktop-setup/socks5-qgtunnel-guide/"
  },"1722": {
    "doc": "What Happens When the Soft Limit is Exceeded?",
    "title": "Soft Limit Policy",
    "content": "Our soft limit policy is intended to give customers flexibility when usage is unexpectedly higher than usual. We ask customers to upgrade or chat with us to help diagnose why the account bandwidth or request usage was higher than expected. ",
    "url": "/docs/account/billing/soft-limit-and-overage-policy/#soft-limit-policy",
    "relUrl": "/docs/account/billing/soft-limit-and-overage-policy/#soft-limit-policy"
  },"1723": {
    "doc": "What Happens When the Soft Limit is Exceeded?",
    "title": "What’s That Mean?",
    "content": "We know sometimes it’s hard to know how many requests you’ll have when you’re setting up, debugging, and getting our two systems integrated. Many times demand is driven by website visitors, and a positive increase in website visitors can cause an unexpected increase in requests. Additionally, bugs pop up sometimes that cause unexpected spikes in usage. All of these situations can cause a spike in usage before you even realize it. We don’t want success, bugs, or the discovery phase of your usage to ever cause your applications to suddenly stop. That’s why we practice the soft limit policy. We’re humans behind the system and we do our best to treat you like a human too. ",
    "url": "/docs/account/billing/soft-limit-and-overage-policy/#whats-that-mean",
    "relUrl": "/docs/account/billing/soft-limit-and-overage-policy/#whats-that-mean"
  },"1724": {
    "doc": "What Happens When the Soft Limit is Exceeded?",
    "title": "What Happens As We Reach Our Limit?",
    "content": "We send usage warning emails as subscriptions approach their limits, beginning around 80% usage. However, usage can increase quickly and may reach 100% before your team sees or acts on a warning. Notifications do not guarantee advance notice before suspension, a grace period, or continued soft-limit eligibility. Keep your notification contacts current and ensure those addresses are actively monitored. Check your usage regularly and upgrade before reaching your plan’s limits if you need additional capacity. Many times we can help debug why the spike occurred or discuss an appropriate plan for a temporary increase in usage. Basically, our goal is to allow customers the flexibility to experiment, grow, and work on their business. We just ask that, if that happens, you get in touch and work out the best way to go forward. ",
    "url": "/docs/account/billing/soft-limit-and-overage-policy/#what-happens-as-we-reach-our-limit",
    "relUrl": "/docs/account/billing/soft-limit-and-overage-policy/#what-happens-as-we-reach-our-limit"
  },"1725": {
    "doc": "What Happens When the Soft Limit is Exceeded?",
    "title": "When Suspension Becomes Necessary",
    "content": "The soft limit is a courtesy. If usage continues climbing well beyond your paid plan and you have not responded to our emails, we reserve the right to suspend the service until the situation is resolved. When reviewing an account, our team considers how far usage is above the paid plan, whether usage is still climbing, whether we have heard from you, and whether this has happened before. An account that spiked once and went quiet for a day looks very different from an account that has been climbing for two weeks while ignoring four emails. Please reply to our emails so we can work on an appropriate plan together. Even a short response is enough to keep the conversation going while we sort out the right plan. ",
    "url": "/docs/account/billing/soft-limit-and-overage-policy/#when-suspension-becomes-necessary",
    "relUrl": "/docs/account/billing/soft-limit-and-overage-policy/#when-suspension-becomes-necessary"
  },"1726": {
    "doc": "What Happens When the Soft Limit is Exceeded?",
    "title": "Soft limits are a discretionary courtesy",
    "content": "QuotaGuard may allow eligible subscriptions to temporarily exceed their plan’s included usage as a courtesy. This allowance is discretionary, is not guaranteed, and may be reduced or withdrawn at any time. Receiving an allowance once does not guarantee continued eligibility or additional capacity in the future. Customers remain responsible for monitoring usage and choosing a plan that meets their needs. Do not rely on soft limits to keep your application running beyond your plan’s included allowance. If soft-limit eligibility is unavailable or withdrawn, service may be suspended when the plan’s usage limit is reached. Please note that repeated months of going over your paid limits, not responding to our requests to upgrade, and any other obvious abuse of this policy may result in QuotaGuard pausing of your account immediately until the appropriate upgrades take place. To avoid this situation, we encourage you to always reach out to us and help us understand your particular situation so we can work out an appropriate plan going forward. If you expect a temporary increase or seasonal change in usage, contact us to discuss an appropriate plan. We’re happy to help, but contacting support or receiving a courtesy allowance does not guarantee uninterrupted service beyond your included limits. Hopefully that clears everything up, but if you have any more questions about our Soft Limit policy, please contact us at Support. ",
    "url": "/docs/account/billing/soft-limit-and-overage-policy/#soft-limits-are-a-discretionary-courtesy",
    "relUrl": "/docs/account/billing/soft-limit-and-overage-policy/#soft-limits-are-a-discretionary-courtesy"
  },"1727": {
    "doc": "What Happens When the Soft Limit is Exceeded?",
    "title": "What Happens When the Soft Limit is Exceeded?",
    "content": "Many times we get the question, “What happens when you go over our monthly limit?” . ",
    "url": "/docs/account/billing/soft-limit-and-overage-policy/",
    "relUrl": "/docs/account/billing/soft-limit-and-overage-policy/"
  },"1728": {
    "doc": "SSL Errors with LetsEncrypt Certificates",
    "title": "SSL Errors with LetsEncrypt Certificates",
    "content": "On 30 September 2021, LetsEncrypt’s DST Root CA expired invalidating a lot of older browsers and applications that relied on the certificate. Unfortunately, if your customers and clients are using older devices, there’s not much you can do when they can’t reach your website. If you have a lot of customers that are in this situation, then your best bet would be to purchase a certificate (not from Let’s Encrypt) and update your certificate on our system. If you have questions, just let us know at Support and we can help get your certificates changed out. ",
    "url": "/docs/security/ssl-and-tls/ssl-errors-with-lets-encrypt/",
    "relUrl": "/docs/security/ssl-and-tls/ssl-errors-with-lets-encrypt/"
  },"1729": {
    "doc": "Getting started with Node.js standard http library",
    "title": "Getting started with Node.js standard http library",
    "content": "This example assumes your QUOTAGUARDSTATIC_URL environment variable is set and contains your unique connection string. To access an HTTP API you can use the standard HTTP library in Node.js but must ensure you correctly set the “Host” header to your target hostname, not the proxy hostname. Copy var http, options, proxy, url; http = require(\"http\"); url = require(\"url\"); proxy = url.parse(process.env.QUOTAGUARDSTATIC_URL); target = url.parse(\"http://ip.jsontest.com/\"); options = { hostname: proxy.hostname, port: proxy.port || 80, path: target.href, headers: { \"Proxy-Authorization\": \"Basic \" + (new Buffer(proxy.auth).toString(\"base64\")), \"Host\" : target.hostname } }; http.get(options, function(res) { res.pipe(process.stdout); return console.log(\"status code\", res.statusCode); }); . We have examples for other common scenarios as well, but if you can’t find what you are looking for just send us a Support ticket and we’ll get one sent to you. ",
    "url": "/docs/outbound-proxy/node-js/standard-http-library/",
    "relUrl": "/docs/outbound-proxy/node-js/standard-http-library/"
  },"1730": {
    "doc": "How to Setup QG Inbound Proxy for QG Static",
    "title": "Why Use an Inbound Proxy?",
    "content": "Cloud deployment environments such as Heroku, IBM Cloud, Microsoft Azure, GCP, etc allow you to horizontally scale your web application by creating multiple instances running on different servers and load balancing requests between them. This is a problem if you need to access your web application via a specific IP address, for example if your corporate firewall can only allow traffic from a known IP addresses. With cloud environments, the IP address of your application may change at any time. With QuotaGuard’s Inbound Proxy, we can solve that problem. To allow for Inbound static IP access, you can define what URL you want traffic forwarded to, and we give you a unique hostname linked to a static IP address that forwards all traffic to your designated web application. Warning : This should NOT be used as a replacement for a DNS entry resolving a custom domain for a Heroku app. To access your Heroku app from a custom domain, please read the Heroku Custom Domains page. Are you looking for directions on how to setup a Custom Domain for QuotaGuard Shield? Here are the directions for How to Setup an Inbound Proxy for QuotaGuard Shield. ",
    "url": "/docs/inbound-shield/static-inbound-proxy-setup/#why-use-an-inbound-proxy",
    "relUrl": "/docs/inbound-shield/static-inbound-proxy-setup/#why-use-an-inbound-proxy"
  },"1731": {
    "doc": "How to Setup QG Inbound Proxy for QG Static",
    "title": "Getting Started",
    "content": "1) Create your QuotaGuard Account and choose a plan for QuotaGuard Static. All direct plans (Starter and above) include Inbound Proxies; on Heroku, AWS, and Azure marketplaces choose the Micro level or above. If you need help deciding whether you want QuotaGuard Static or QuotaGuard Shield, please read our article What are the Differences between QuotaGuard Static and QuotaGuard Shield. 2) Log into the QuotaGuard Dashboard and go to the Manage Subscriptions and locate the correct QG Static subscription that you want to use for the Inbound Proxy setup. 3) Click “Inbound Proxy / Configure Inbound Proxies”. Then click on “Create an Inbound Proxy”. 4) Enter the forwarding URL for the Inbound connection. Under Advanced Options, you can choose multiple Protocols and Body Size maximum limits up to 512MB. When you have selected everything you need, hit Save and continue. 5) The next page gives you two options: Use the QuotaGuard supplied Auto-Generated URL (e.g., 48c0446281a67469701d3c15.getstatica.com) or use your own Custom Domain. Option A - QuotaGuard Domain) If the QuotaGuard auto-generated URL works for you, just click That Works For Me. You will be taken to the Inbound Proxy Summary screen showing your configuration details and forwarding information. If you need to edit the connection, click See Setup Instructions. Option B - Custom Domain) If you’d like to add your own Custom Domain, click “I Want To Use My Own Domain”. This option also allows you to use your own SSL certificates for your domain. To setup the Custom Domain, follow the directions on How to Setup a Custom Domain and start on Step 5 next. 6) As noted, configuration changes can take up to 10 minutes to propagate so please be patient. Note: You cannot access your application directly by visiting the IP addresses as multiple applications are hosted on the same server. To learn more, please see “Why Can’t My Client Connect to my IP Addresses Directly?” . ",
    "url": "/docs/inbound-shield/static-inbound-proxy-setup/#getting-started",
    "relUrl": "/docs/inbound-shield/static-inbound-proxy-setup/#getting-started"
  },"1732": {
    "doc": "How to Setup QG Inbound Proxy for QG Static",
    "title": "SSL Setup for Inbound Proxies",
    "content": "Our self-service automated setup on QuotaGuard Static supports SSL by default. When you setup a custom domain, you can upload a valid certificate to enable SSL. Or you can use QuotaGuard Shield to eliminate the need to share your certificates with QuotaGuard. For a custom domain, SSL will be terminated on QuotaGuard proxies, which means your transaction is not end-to-end encrypted (like it is with QuotaGuard Shield). Also note the SSL certificate has to be in PEM bundle format. Please refer to the documentation provided by your certificate vendor to export the certificate chain in PEM bundle format. We know this can be tricky to setup, so if you have questions, write us at Support. Happy Tunneling! . ",
    "url": "/docs/inbound-shield/static-inbound-proxy-setup/#ssl-setup-for-inbound-proxies",
    "relUrl": "/docs/inbound-shield/static-inbound-proxy-setup/#ssl-setup-for-inbound-proxies"
  },"1733": {
    "doc": "How to Setup QG Inbound Proxy for QG Static",
    "title": "How to Setup QG Inbound Proxy for QG Static",
    "content": "Please Note: Inbound Proxies are available on all direct subscription plans (Starter and above), and on Micro subscription plans and above on Heroku, AWS, and Azure marketplaces. ",
    "url": "/docs/inbound-shield/static-inbound-proxy-setup/",
    "relUrl": "/docs/inbound-shield/static-inbound-proxy-setup/"
  },"1734": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "No-Proxy Platforms Get a Static IP Through a Relay Function",
    "content": "If your platform can call a URL but cannot set HTTP_PROXY or run a sidecar, a relay function is how you get a static outbound IP. Zoho Deluge, Bubble, and Zapier’s no-code actions all make outbound HTTP calls without a way to set a proxy, and none of them let you run QGTunnel alongside your code. So the usual approach of setting a single proxy environment variable does not apply. Their requests leave from the vendor’s shared, rotating cloud IP ranges, which any API that enforces IP allowlisting will reject. The relay solves this: it is a small function you control that does set the proxy, egresses through QuotaGuard, and hands the response back to your platform. This pattern applies whenever the platform is a managed or no-code runtime you cannot configure at the network layer: . | Zoho Deluge (Zoho One, Zoho CRM, Zoho Creator, Zoho Flow custom functions). invokeUrl cannot set a proxy. | Bubble.io (the API Connector and backend workflows). | Zapier (Webhooks by Zapier and built-in app actions). A Python Code by Zapier step can set a proxy on its own HTTP client, so that one path does not need the relay. | Cloudflare Workers. fetch() has no proxy option, and the raw TCP socket API cannot set the TLS server name separately from the host it connected to, so a Worker cannot complete an HTTPS request through the proxy on its own. The relay itself must run outside Workers. | Similar sandboxed or serverless platforms where you cannot set proxy environment variables or run a sidecar. | . The destinations that force the issue are the ones that enforce a customer-controlled IP allowlist: . | Payment gateways and banking or fintech APIs. | Partner, EDI, and B2B APIs that gate access by source IP. | Healthcare and other regulated-data APIs. | Legacy or on-prem systems reachable only through a firewall allowlist. | . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#no-proxy-platforms-get-a-static-ip-through-a-relay-function",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#no-proxy-platforms-get-a-static-ip-through-a-relay-function"
  },"1735": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "The Relay Pattern Routes Your Request Through QuotaGuard",
    "content": "The relay is a forwarding function. Your platform calls it, it calls the target through QuotaGuard, and the response comes back the same way: . Your platform → relay function URL → QuotaGuard proxy → target API . Your platform sends its request to the relay’s URL with two extra headers. X-Relay-Key is a secret you generate that authorizes the call. X-Target-URL is the full URL of the API you actually want to reach. The relay checks the key, then forwards the request through QuotaGuard’s proxy to the target. The method, body, Content-Type, Accept, and Authorization headers pass through as-is, any header you prefix with X-Fwd- is forwarded with the prefix removed, and the target’s response comes back as the relay’s response. The relay host’s own outbound IP does not matter and is never allowlisted. Only QuotaGuard’s two static IPs reach the target, because the relay forwards through the QuotaGuard proxy. That is the whole point: the target API sees a fixed pair of IPs no matter how often your platform or the relay host recycles its addresses. The relay’s function URL is public, so the X-Relay-Key check is what protects it. Anyone with the URL and the key can send traffic through your proxy, so treat the key like a password. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#the-relay-pattern-routes-your-request-through-quotaguard",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#the-relay-pattern-routes-your-request-through-quotaguard"
  },"1736": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you find your Connection URL and your two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to the target API to minimize latency, and deploy the relay in the matching cloud region. The region is set at sign-up. Changes after sign-up require contacting support. Your Connection URL is the value you will set as QUOTAGUARDSTATIC_URL on the relay. It looks like this, with the region host taken from your dashboard: . http://username:password@us-east-static-01.quotaguard.com:9293 . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#getting-started",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#getting-started"
  },"1737": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Deploy the Relay on AWS Lambda in Four Steps",
    "content": "The published example runs on the Lambda Python runtime and uses only libraries already present there, so there is nothing to package or install. The full example lives at quotaguard/static-examples. | In the AWS console, create a Lambda function with the Python 3.12 runtime and paste in the lambda_function.py below. | Under Configuration &gt; Environment variables, add two: . | QUOTAGUARDSTATIC_URL: your Connection URL from the QuotaGuard dashboard. | RELAY_KEY: a long random string you generate. This is the password for your relay. Keep it secret. | . | Under Configuration &gt; General configuration, set the timeout to 30 seconds. The 3-second default is tight for API calls. | Under Configuration &gt; Function URL, create a function URL with auth type NONE. The RELAY_KEY check in the code is what protects it. | . The function itself: . import os, base64 import urllib3 from urllib.parse import urlparse, unquote # QUOTAGUARDSTATIC_URL is http://user:pass@&lt;region&gt;-static-01.quotaguard.com:9293. # An https:// target is tunneled through the proxy unchanged (CONNECT), so the # payload stays encrypted end to end. urllib3 does not send credentials embedded # in the proxy URL, so split them out and pass explicit Proxy-Authorization headers. qg = urlparse(os.environ[\"QUOTAGUARDSTATIC_URL\"]) proxy = urllib3.ProxyManager( f\"{qg.scheme}://{qg.hostname}:{qg.port}\", proxy_headers=urllib3.make_headers( proxy_basic_auth=f\"{unquote(qg.username)}:{unquote(qg.password)}\" ), ) def lambda_handler(event, context): headers = event.get(\"headers\") or {} # Reject calls that don't carry your secret key if headers.get(\"x-relay-key\") != os.environ[\"RELAY_KEY\"]: return {\"statusCode\": 403, \"body\": \"Forbidden\"} target = headers.get(\"x-target-url\") if not target: return {\"statusCode\": 400, \"body\": \"Missing X-Target-URL header\"} method = event.get(\"requestContext\", {}).get(\"http\", {}).get(\"method\", \"GET\") body = event.get(\"body\") if body and event.get(\"isBase64Encoded\"): body = base64.b64decode(body) # Pass through the headers the target API needs fwd = {} for name in (\"content-type\", \"authorization\", \"accept\"): if name in headers: fwd[name] = headers[name] # Any header you prefix with \"x-fwd-\" is forwarded without the prefix # (e.g. X-Fwd-X-Api-Key: abc arrives at the target as X-Api-Key: abc). for name, value in headers.items(): if name.startswith(\"x-fwd-\"): fwd[name[6:]] = value resp = proxy.request(method, target, body=body, headers=fwd, timeout=30.0) return { \"statusCode\": resp.status, \"headers\": {\"Content-Type\": resp.headers.get(\"Content-Type\", \"application/json\")}, \"body\": resp.data.decode(\"utf-8\", errors=\"replace\"), } . The function URL that AWS gives you is what your platform calls. It looks like https://&lt;your-function-url&gt;.lambda-url.&lt;region&gt;.on.aws/. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#deploy-the-relay-on-aws-lambda-in-four-steps",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#deploy-the-relay-on-aws-lambda-in-four-steps"
  },"1738": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Deploy the Relay on a Google Cloud Function in Four Steps",
    "content": "The relay runs just as well on Google Cloud. Google now deploys Cloud Functions as Cloud Run functions, so the steps below use the Cloud Run page of the console. The full example lives at quotaguard/static-examples. | In the Google Cloud console, open Cloud Run and click Write a function. Name the service, pick the region closest to your QuotaGuard region, and choose the Python 3.12 runtime. | Under Authentication, select Allow public access. The RELAY_KEY check in the code is what protects it. | Under Variables &amp; Secrets (in the Containers section), add the same two variables as the Lambda version: . | QUOTAGUARDSTATIC_URL: your Connection URL from the QuotaGuard dashboard. | RELAY_KEY: a long random string you generate. Keep it secret. | . | Click Create. In the Source tab, paste main.py and requirements.txt below into their tabs, set Function entry point to relay, and click Save and redeploy. The service URL shown at the top of the page is what your platform calls. | . The handler is the Lambda one with a different wrapper. Cloud Run hands the function a Flask request object and takes a (body, status, headers) tuple back, instead of Lambda’s event dict and {\"statusCode\", \"headers\", \"body\"} return shape. The forwarding logic in the middle is identical. main.py: . import os import urllib3 from urllib.parse import urlparse, unquote import functions_framework # QUOTAGUARDSTATIC_URL is http://user:pass@&lt;region&gt;-static-01.quotaguard.com:9293. # An https:// target is tunneled through the proxy unchanged (CONNECT), so the # payload stays encrypted end to end. urllib3 does not send credentials embedded # in the proxy URL, so split them out and pass explicit Proxy-Authorization headers. qg = urlparse(os.environ[\"QUOTAGUARDSTATIC_URL\"]) proxy = urllib3.ProxyManager( f\"{qg.scheme}://{qg.hostname}:{qg.port}\", proxy_headers=urllib3.make_headers( proxy_basic_auth=f\"{unquote(qg.username)}:{unquote(qg.password)}\" ), ) @functions_framework.http def relay(request): headers = {name.lower(): value for name, value in request.headers.items()} # Reject calls that don't carry your secret key if headers.get(\"x-relay-key\") != os.environ[\"RELAY_KEY\"]: return (\"Forbidden\", 403) target = headers.get(\"x-target-url\") if not target: return (\"Missing X-Target-URL header\", 400) # Pass through the headers the target API needs fwd = {} for name in (\"content-type\", \"authorization\", \"accept\"): if name in headers: fwd[name] = headers[name] # Any header you prefix with \"x-fwd-\" is forwarded without the prefix # (e.g. X-Fwd-X-Api-Key: abc arrives at the target as X-Api-Key: abc). for name, value in headers.items(): if name.startswith(\"x-fwd-\"): fwd[name[6:]] = value resp = proxy.request( request.method, target, body=request.get_data() or None, headers=fwd, timeout=30.0 ) return ( resp.data, resp.status, {\"Content-Type\": resp.headers.get(\"Content-Type\", \"application/json\")}, ) . requirements.txt: . functions-framework==3.* urllib3==2.* . Opening the service URL in a browser should return Forbidden. That means the function is up and the key check is working. No VPC connector or Cloud NAT is needed, because the traffic leaves through the QuotaGuard proxy over the public internet. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#deploy-the-relay-on-a-google-cloud-function-in-four-steps",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#deploy-the-relay-on-a-google-cloud-function-in-four-steps"
  },"1739": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Call the Relay From Zoho Deluge, Bubble, or Zapier",
    "content": "Every platform calls the relay the same way: a request to the function URL carrying X-Relay-Key and X-Target-URL. The examples below cover the three most common no-proxy platforms. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#call-the-relay-from-zoho-deluge-bubble-or-zapier",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#call-the-relay-from-zoho-deluge-bubble-or-zapier"
  },"1740": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Zoho Deluge",
    "content": "Use invokeUrl and pass the two relay headers plus whatever the target API needs: . response = invokeUrl [ url: \"https://&lt;your-function-url&gt;.lambda-url.&lt;region&gt;.on.aws/\" type: POST headers: {\"X-Relay-Key\": \"&lt;your secret&gt;\", \"X-Target-URL\": \"https://api.example.com/endpoint\", \"Content-Type\": \"application/json\"} parameters: payload.toString() ]; . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#zoho-deluge",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#zoho-deluge"
  },"1741": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Bubble",
    "content": "In Bubble’s API Connector, add a new API call. Set the method and point the URL at your relay’s function URL. Add two headers, X-Relay-Key with your secret and X-Target-URL with the target endpoint, plus any Content-Type or Authorization header the target expects. Bubble’s API Connector configuration changes over time, so confirm the current header and body field names against Bubble’s own documentation. QuotaGuard and Bubble.io Integration Guide . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#bubble",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#bubble"
  },"1742": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Zapier",
    "content": "In a Webhooks by Zapier action (Custom Request, POST, or GET), send the request to your relay’s function URL with the same two headers, X-Relay-Key and X-Target-URL. One exception: a Python Code by Zapier step can set a proxy directly on its HTTP client, so if you are already writing Python there, point it at your QUOTAGUARDSTATIC_URL and skip the relay. Confirm current field names against Zapier’s own documentation. QuotaGuard and Zapier Integration Guide . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#zapier",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#zapier"
  },"1743": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "curl",
    "content": "To test from your own machine: . curl https://&lt;your-function-url&gt;.lambda-url.&lt;region&gt;.on.aws/ \\ -H \"X-Relay-Key: &lt;your secret&gt;\" \\ -H \"X-Target-URL: https://ip.quotaguard.com\" . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#curl",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#curl"
  },"1744": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Test the Relay Against ip.quotaguard.com",
    "content": "Point X-Target-URL at https://ip.quotaguard.com. It returns the IP your request came from, which must be one of the two static IPs in your dashboard: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . Call it more than once and you will see both IPs, because the pair is load-balanced. Those two IPs are what you give the target API for its allowlist. Both are active, so allowlist both. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#test-the-relay-against-ipquotaguardcom",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#test-the-relay-against-ipquotaguardcom"
  },"1745": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Troubleshooting",
    "content": ". | 403 Forbidden from the relay. The X-Relay-Key header is missing or does not match RELAY_KEY. The function URL lowercases header names, which the example code already accounts for. Confirm the key matches exactly. | 400 Missing X-Target-URL. Add the X-Target-URL header with the full target URL, including https://. | Wrong IP returned, not one from your dashboard. The request reached the target directly instead of through the relay, or QUOTAGUARDSTATIC_URL is not set on the function. Confirm your platform is calling the relay URL, not the target, and that the environment variable is present. | Timeout. Raise the function timeout above the 3-second default. The example sets 30 seconds. A slow target API can still exceed that, so tune it to the target. | The target API still rejects the request (a 401 or 403 from the target, not the relay). Allowlist both static IPs from your dashboard. Both are active behind the load balancer, so allowlisting only one lets roughly half your requests through. | 407 Proxy Authentication Required. The credentials in QUOTAGUARDSTATIC_URL are wrong. Copy the exact Connection URL from your dashboard. | POST body arrives empty. Make sure Content-Type is forwarded. The relay base64-decodes bodies when the platform sends isBase64Encoded, and passes Content-Type and Authorization straight through. | . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#troubleshooting",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#troubleshooting"
  },"1746": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . Static is right for the relay pattern on this page. The relay sends HTTPS to the target, which stays encrypted end to end whether you use Static or Shield. Choose Shield only if the workload handles regulated data, such as HIPAA, PCI-DSS, or SOC 2 material, or your environment requires TLS between the relay and the proxy itself. For Shield, use the Shield version of the relay at quotaguard/shield-examples (a Cloud Run functions version is there too), which takes your Shield Connection URL (an https:// URL on port 9294) as QUOTAGUARDSHIELD_URL and makes the hop from the relay to the proxy TLS as well. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#quotaguard-static-vs-quotaguard-shield"
  },"1747": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Frequently Asked Questions",
    "content": " ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#frequently-asked-questions",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#frequently-asked-questions"
  },"1748": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Can Zoho Deluge use a static IP if it can’t set an HTTP proxy?",
    "content": "Yes. Deluge cannot set a proxy and cannot run a sidecar, so you host a small relay function that does. Deluge calls the relay’s URL with an invokeUrl request, the relay forwards the call through QuotaGuard, and the target API sees your two static IPs. This is the only working approach for Deluge, because there is no proxy setting to configure inside Zoho. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#can-zoho-deluge-use-a-static-ip-if-it-cant-set-an-http-proxy",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#can-zoho-deluge-use-a-static-ip-if-it-cant-set-an-http-proxy"
  },"1749": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Does the relay’s own server IP need to be allowlisted?",
    "content": "No. The target API only ever sees QuotaGuard’s two static IPs, because the relay forwards every request through the QuotaGuard proxy. The relay host’s outbound IP is never in the path the target inspects, so you allowlist the two QuotaGuard IPs from your dashboard and nothing else. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#does-the-relays-own-server-ip-need-to-be-allowlisted",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#does-the-relays-own-server-ip-need-to-be-allowlisted"
  },"1750": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "How many static IPs do I allowlist?",
    "content": "Two. Every QuotaGuard subscription includes two load-balanced static IPs, and both are active at once. Allowlist both with the target API. If you allowlist only one, roughly half your requests will be refused when the load balancer uses the other IP. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#how-many-static-ips-do-i-allowlist",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#how-many-static-ips-do-i-allowlist"
  },"1751": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Do I need QuotaGuard Shield for this relay?",
    "content": "No, in almost every case Static is correct. The request from the relay to the target is HTTPS and stays encrypted end to end on Static already. Use Shield only when the data is regulated, such as HIPAA, PCI-DSS, or SOC 2 material, or when your environment requires TLS on the hop between the relay and the proxy itself. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#do-i-need-quotaguard-shield-for-this-relay",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#do-i-need-quotaguard-shield-for-this-relay"
  },"1752": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Does this relay work for Bubble and Zapier as well as Zoho?",
    "content": "Yes. The relay is platform-neutral. Any platform that can send an HTTP request with custom headers can call it, including Bubble’s API Connector and Zapier’s Webhooks and Code steps. You deploy one relay and reuse it across every no-proxy platform you run. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#does-this-relay-work-for-bubble-and-zapier-as-well-as-zoho",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#does-this-relay-work-for-bubble-and-zapier-as-well-as-zoho"
  },"1753": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Do I need a separate relay for each target API?",
    "content": "No. One relay handles any number of targets, because the destination is chosen per request by the X-Target-URL header. Deploy the relay once, then send each call to whichever API you need to reach. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#do-i-need-a-separate-relay-for-each-target-api",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#do-i-need-a-separate-relay-for-each-target-api"
  },"1754": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Can a Cloudflare Worker use QuotaGuard without a relay?",
    "content": "No. A Worker’s fetch() cannot use a proxy, and its TCP socket API allows one TLS session per socket and does not let you set the TLS server name separately from the host you connected to. That rules out both QuotaGuard Static, which needs TLS to the target inside the CONNECT tunnel, and QuotaGuard Shield, which needs TLS to the proxy and then TLS to the target. Deploy the relay on AWS Lambda or a Google Cloud Function and call it from the Worker with fetch(). The relay cannot itself be a Worker. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#can-a-cloudflare-worker-use-quotaguard-without-a-relay",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#can-a-cloudflare-worker-use-quotaguard-without-a-relay"
  },"1755": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . Read: QuotaGuard and Retool Integration Guide . Contact Support . ",
    "url": "/docs/platforms/static-ip-no-http-proxy/#ready-to-get-started",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/#ready-to-get-started"
  },"1756": {
    "doc": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "title": "Static IPs for Platforms That Can't Set an HTTP Proxy (Zoho Deluge, Bubble, Zapier)",
    "content": "Platforms that can make outbound HTTP calls but cannot set an HTTP proxy, like Zoho Deluge, Bubble, and Zapier, still get two static outbound IP addresses by calling a small relay function you host. The relay forwards each request through QuotaGuard, so the target API sees your two static IPs instead of the platform’s rotating cloud IPs. You deploy the relay once on AWS Lambda or a Google Cloud Function, point your platform at its URL, and allowlist both static IPs with the target API. ",
    "url": "/docs/platforms/static-ip-no-http-proxy/",
    "relUrl": "/docs/platforms/static-ip-no-http-proxy/"
  },"1757": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Heroku QuotaGuard Static IP’s",
    "content": "QuotaGuard Staticis a Heroku Static IP add-on that allows you to route inbound &amp; outbound traffic through a static IP address. You can provide this static IP address to an API partner for an IP based allowlist and open your own firewall to access internal resources. QuotaGuard Static IP’s on Heroku come in three flavors: . | Outbound HTTP proxy for accessing HTTP &amp; HTTPS web services | Outbound SOCKS5 proxy for TCP-level routing, such as accessing a database, SMTP, FTP, etc. | Inbound HTTP/HTTPS proxy or reverse proxy for accessing your Heroku app on a static IP | . For outbound traffic, the first decision you must make as a developer is whether to target our HTTP or SOCKS5 proxy. The SOCKS5 proxy is more versatile, because it handles TCP-level traffic, but the setup steps are more involved than the HTTP proxy. Our general rule of thumb is use HTTP if accessing a web service, otherwise use SOCKS5. There is native support across Ruby, Python, Node.js, PHP, Scala, Java, and nearly every other language for the HTTP Proxy. For inbound traffic, we provide you with a URL to connect to. You can bring your own FQDN if you like. We provide SSL Termination with your SSL Certificates as well. Note: Inbound proxy service is only available for the Micro plan or above. ",
    "url": "/docs/platforms/heroku/static-setup/#heroku-quotaguard-static-ips",
    "relUrl": "/docs/platforms/heroku/static-setup/#heroku-quotaguard-static-ips"
  },"1758": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Which QuotaGuard Should I Use?",
    "content": "We offer three products on Heroku, QuotaGuard, QuotaGuard Static, and QuotaGuard Shield. QuotaGuard routes your traffic through a dynamic set of IP addresses that may change at any time and is intended for accessing APIs like Google Maps that restrict usage based on your IP address. It should be used if you want to access these APIs without your limit being shared with other Heroku apps. QuotaGuard Static IP’s routes your Heroku traffic through a pair of static IP addresses that never change. It should be used if you need your traffic to pass through a known static IP address for the purpose of firewall ingress rules or application allowlisting with a third party. QuotaGuard Static IP’s uses HTTP and SOCKS5 for outbound service and SSL Termination for inbound service. QuotaGuard Shield Static IP’s are HIPAA-ready and built to handle Heroku traffic that contains PII and other sensitive information. QuotaGuard Shield routes your traffic through a pair of static IP addresses that never change with a higher level of security over QuotaGuard Static. The service uses HTTPS and SOCKS over TLS for outbound service and SSL Passthrough for inbound service. Like QuotaGuard Static, QuotaGuard Shield should be used if you need your traffic to pass through a known IP address for the purpose of firewall ingress rules or application allowlisting with a third party. Shield allows you to utilize Heroku’s ACM for your site or bring your own certificate. Please send us a mail if you’d like more guidance on what service fits your needs best. ",
    "url": "/docs/platforms/heroku/static-setup/#which-quotaguard-should-i-use",
    "relUrl": "/docs/platforms/heroku/static-setup/#which-quotaguard-should-i-use"
  },"1759": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Provisioning the add-on",
    "content": "QuotaGuard Static can be added to a Heroku application via the CLI: . Note: A list of all plans available can be found here. $ heroku addons:create quotaguardstatic:starter -----&gt; Adding quotaguardstatic:starter to sharp-mountain-4005... done, v18 -----&gt; Your static IPs are [10.11.12.13, 14.15.16.17] . Once QuotaGuard Static has been added a QUOTAGUARDSTATIC_URL setting will be available in the app configuration and will contain the full URL you should use to proxy your requests. This can be confirmed using the heroku config:get command. $ heroku config:get QUOTAGUARDSTATIC_URL http://user:pass@&lt;your-quotaguard-proxy-host&gt;:9293 . After installing QuotaGuard Static the application should be configured to fully integrate with the add-on. ",
    "url": "/docs/platforms/heroku/static-setup/#provisioning-the-add-on",
    "relUrl": "/docs/platforms/heroku/static-setup/#provisioning-the-add-on"
  },"1760": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "What are my IPs?",
    "content": "You are provided with two static IP addresses as part of our fault tolerant, load balanced service. Traffic may route through either one at any time. Your two IP addresses will be printed on the command line when you provision the add-on or you can view them on your QuotaGuard Static dashboard, accessible from your Heroku App page. ",
    "url": "/docs/platforms/heroku/static-setup/#what-are-my-ips",
    "relUrl": "/docs/platforms/heroku/static-setup/#what-are-my-ips"
  },"1761": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy",
    "content": "The HTTP Proxy is an outbound proxy service, allowing your application to reach an external endpoint (ie: HTTPS api) with HTTP or HTTPS protocols. ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy"
  },"1762": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "How Secure is the HTTP Proxy",
    "content": "You can access HTTPS services via the HTTP proxy whilst still getting full SSL/TLS security. When you make a request via the proxy to an HTTPS endpoint your client will transparently issue a CONNECT request rather than a basic GET or POST request. On receipt of this CONNECT request the proxy will open a tunnel between your client and the endpoint, allowing your client to negotiate a standard SSL session with the endpoint. Once negotiated all traffic sent between your client and the endpoint will be encrypted as if you had connected directly with them. For HTTPS Proxy, check out QuotaGuard Shield. With the HTTPS Proxy your initial CONNECT request will be also encrypted, this protects proxy credentials and remote hostname but requires an additional TLS handshake. ",
    "url": "/docs/platforms/heroku/static-setup/#how-secure-is-the-http-proxy",
    "relUrl": "/docs/platforms/heroku/static-setup/#how-secure-is-the-http-proxy"
  },"1763": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy with Ruby/Rails",
    "content": "Ruby has an excellent REST client that easily allows you to specify an HTTP proxy. You can run the below example in an irb session and verify that the final IP returned is one of your two static IPs. Copy require \"rest-client\" RestClient.proxy = ENV[\"QUOTAGUARDSTATIC_URL\"] res = RestClient.get(\"http://ip.quotaguard.com\") puts \"Your Static IP is: #{res.body}\" . ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy-with-rubyrails",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy-with-rubyrails"
  },"1764": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy with Python/Django",
    "content": " ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy-with-pythondjango",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy-with-pythondjango"
  },"1765": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Using with the Requests library",
    "content": "Requests is a great HTTP library for Python. It allows you to specify an authenticated proxy on a per request basis so you can pick and choose when to route through your static IP. Copy import requests import os proxies = { \"http\": os.environ['QUOTAGUARDSTATIC_URL'], \"https\": os.environ['QUOTAGUARDSTATIC_URL'] } res = requests.get(\"http://ip.quotaguard.com/\", proxies=proxies) print(res.text) . ",
    "url": "/docs/platforms/heroku/static-setup/#using-with-the-requests-library",
    "relUrl": "/docs/platforms/heroku/static-setup/#using-with-the-requests-library"
  },"1766": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Using with urllib2",
    "content": "urllib2 is a more basic library used for HTTP communication in Python and uses environment variables to set a proxy service. In your application initialization you should set the http_proxy variable to match the QUOTAGUARDSTATIC_URL. Copy ## Assign QuotaGuard to your environment's http_proxy variable os.environ['http_proxy'] = os.environ['QUOTAGUARDSTATIC_URL'] . To test in the Python interpreter . Copy import urllib2, os os.environ['http_proxy'] = os.environ['QUOTAGUARDSTATIC_URL'] url = 'http://ip.quotaguard.com/' proxy = urllib2.ProxyHandler() opener = urllib2.build_opener(proxy) in_ = opener.open(url) res = in_.read() print(res) . ",
    "url": "/docs/platforms/heroku/static-setup/#using-with-urllib2",
    "relUrl": "/docs/platforms/heroku/static-setup/#using-with-urllib2"
  },"1767": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy with Node.js",
    "content": " ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy-with-nodejs",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy-with-nodejs"
  },"1768": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Accessing an HTTP API with Node.js",
    "content": "To access an HTTP API you can use the standard HTTP library in Node.js but must ensure you correctly set the “Host” header to your target hostname, not the proxy hostname. Copy var http, options, proxy, url; http = require(\"http\"); url = require(\"url\"); proxy = url.parse(process.env.QUOTAGUARDSTATIC_URL); target = url.parse(\"http://ip.quotaguard.com/\"); options = { hostname: proxy.hostname, port: proxy.port || 80, path: target.href, headers: { \"Proxy-Authorization\": \"Basic \" + (new Buffer(proxy.auth).toString(\"base64\")), \"Host\" : target.hostname } }; http.get(options, function(res) { res.pipe(process.stdout); return console.log(\"status code\", res.statusCode); }); . ",
    "url": "/docs/platforms/heroku/static-setup/#accessing-an-http-api-with-nodejs",
    "relUrl": "/docs/platforms/heroku/static-setup/#accessing-an-http-api-with-nodejs"
  },"1769": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Accessing an HTTPS API with Node.js",
    "content": "The standard Node.js HTTPS module does not handle making requests through a proxy very well. If you need to access an HTTPS API we recommend using the Request module (npm install request). Copy var request = require('request'); var options = { proxy: process.env.QUOTAGUARDSTATIC_URL, url: 'https://api.github.com/repos/joyent/node', headers: { 'User-Agent': 'node.js' } }; function callback(error, response, body) { if (!error &amp;&amp; response.statusCode == 200) { console.log(body); } } request(options, callback); . ",
    "url": "/docs/platforms/heroku/static-setup/#accessing-an-https-api-with-nodejs",
    "relUrl": "/docs/platforms/heroku/static-setup/#accessing-an-https-api-with-nodejs"
  },"1770": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy with PHP",
    "content": "PHP cURL is the easiest way to make HTTP requests via QuotaGuard Static. This example assumes that you have set the QUOTAGUARDSTATIC_URL environment variable which is automatically set for you when you provision the add-on. The IP address printed on screen will be one of your two static IP addresses, run it a couple of times and you’ll probably see the other one too. Copy &lt;?php function lookup(){ $quotaguard_env = getenv(\"QUOTAGUARDSTATIC_URL\"); $quotaguard = parse_url($quotaguard_env); $proxyUrl = $quotaguard['host'].\":\".$quotaguard['port']; $proxyAuth = $quotaguard['user'].\":\".$quotaguard['pass']; $url = \"http://ip.quotaguard.com/\"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_PROXY, $proxyUrl); curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyAuth); $response = curl_exec($ch); return $response; } $res = lookup(); print_r($res); ?&gt; . ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy-with-php",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy-with-php"
  },"1771": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy with Java",
    "content": "The JVM allows you to configure a socksProxyHost. The example below uses Apache HttpClient, but the same configuration applies to other JVM-based clients. Copy import java.net.*; import java.io.*; public class HelloWorld { public static void main(String []args) throws IOException { URL proxyUrl = new URL(System.getenv(\"QUOTAGUARDSTATIC_URL\")); String userInfo = proxyUrl.getUserInfo(); String user = userInfo.substring(0, userInfo.indexOf(':')); String password = userInfo.substring(userInfo.indexOf(':') + 1); URLConnection conn = null; System.setProperty(\"http.proxyHost\", proxyUrl.getHost()); System.setProperty(\"http.proxyPort\", Integer.toString(proxyUrl.getPort())); Authenticator.setDefault(new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(user, password.toCharArray()); } }); URL url = new URL(\"http://ip.quotaguard.com\"); conn = url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) System.out.println(inputLine); in.close(); } } . You can check available proxy related JVM settings here. ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy-with-java",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy-with-java"
  },"1772": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy with Clojure",
    "content": "The Clojure clj-http library allows you to configure a proxy for an HTTP request. The example below shows you how to use this with the add-on: . Copy (defn get-quota-guard [] (let [proxy-uri (java.net.URI. (env :quotaguardstatic-url))] (client/get \"http://httpbin.org/ip\" {:proxy-host (.getHost proxy-uri) :proxy-port (.getPort proxy-uri) :headers { \"Proxy-Authorization\" (str \"Basic \" (.encode (sun.misc.BASE64Encoder.) (.getBytes (.getUserInfo proxy-uri))))}}))) . ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy-with-clojure",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy-with-clojure"
  },"1773": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "HTTP Proxy with Golang",
    "content": "For Golang, you can setup a per-request proxy in the http package like this: . Copy proxyUrl, err := url.Parse(\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\") myClient := &amp;http.Client{Transport: &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)}} . Or you can configure it for all requests like this: . Copy proxyUrl, err := url.Parse(\"http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293\") http.DefaultTransport = &amp;http.Transport{Proxy: http.ProxyURL(proxyUrl)}``` . ",
    "url": "/docs/platforms/heroku/static-setup/#http-proxy-with-golang",
    "relUrl": "/docs/platforms/heroku/static-setup/#http-proxy-with-golang"
  },"1774": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "SOCKS5 Proxy",
    "content": "SOCKS5 is a very flexible TCP level tunneling protocol which works on a per host basis and is compatible with all programming environments. QuotaGuard Static provides three ways to setup SOCKS5 proxy integration within your app: . | QuotaGuard Tunnel, process-based tunneling program | QuotaGuard Socksify script, routing-based tunneling program | Framework specific support for SOCKS5 | . QGTunnel is an extremely versatile wrapper script for your process. It allows you to map one or more local ports to route through the QuotaGuard proxy servers. It supports a DNS override mode for protocols that require the hostname stay the same (ie: HTTPS) or to minimize the impact on the code. QGTunnel also supports end-to-end encryption of your tunnel data for protocols that are not encrypted (ie: redis). Note: We recommend QGTunnel unless you need to route all traffic within the app through the SOCKS5 proxy. QGSocksify is a routing-based tunneling program. It allows for all or some of the outgoing traffic to be routed through the proxy server based on the destination IP or IP range. Please note: This solution includes software developed by Inferno Nettverk A/S, Norway. Additionally, many languages support SOCKS5 proxies natively or via a add-on package. ",
    "url": "/docs/platforms/heroku/static-setup/#socks5-proxy",
    "relUrl": "/docs/platforms/heroku/static-setup/#socks5-proxy"
  },"1775": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "SOCKS5 Proxy with QGTunnel",
    "content": "To get started with the SOCKS5 proxy utilizing QGTunnel, please follow these steps: . ",
    "url": "/docs/platforms/heroku/static-setup/#socks5-proxy-with-qgtunnel",
    "relUrl": "/docs/platforms/heroku/static-setup/#socks5-proxy-with-qgtunnel"
  },"1776": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Download QGTunnel",
    "content": "Download and extract the qgtunnel in the root directory of your app: . Copy $ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . ",
    "url": "/docs/platforms/heroku/static-setup/#download-qgtunnel",
    "relUrl": "/docs/platforms/heroku/static-setup/#download-qgtunnel"
  },"1777": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Setup the Tunnel",
    "content": "Login to our Dashboard and setup the tunnel: . $ heroku addons:open quotaguardstatic Opening quotaguardstatic for sharp-mountain-4005... At the top right, click Settings, then Setup. On the left, click Tunnel, then Create Tunnel. This example assumes a MySQL server. Copy Remote Destination: tcp://hostname.for.your.server.com:3306 Local Port: 3306 Transparent: true Encrypted: false . This setup assumes that your server is located at “hostname.for.your.server.com” and is listening on port 3306 (the default mysql port). Use the same port for the local port, unless you are using that port on your dyno or it is below 1024, then you will have to change this to some other port (say 3307). Transparent mode allows QuotaGuard to override the DNS for hostname.for.your.server.com to 127.0.0.1, which redirects traffic to the QGTunnel software. This means you can connect to either hostname.for.your.server.com or 127.0.0.1 to connect through the QGTunnel. More information is available on transparent mode as you follow along in these instructions. Encrypted mode can be used to encrypt data end-to-end, but if your protocol is already encrypted then you don’t need to spend time setting it up. More details on end-to-end encryption is below as you follow these instructions. Note: Creating the tunnels in the dashboard is for convenience. See the last step (Harden your setup) for how to remove a dependency from your system. ",
    "url": "/docs/platforms/heroku/static-setup/#setup-the-tunnel",
    "relUrl": "/docs/platforms/heroku/static-setup/#setup-the-tunnel"
  },"1778": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Change your code (maybe)",
    "content": "You may have to change your code to connect through QGTunnel. With transparent mode, and when using the same local and remote port, you should not have to change your code. Without transparent mode, you will want to connect to 127.0.0.1:3306 (in this example). If you changed the local port, then you will need to change the port number to match. ",
    "url": "/docs/platforms/heroku/static-setup/#change-your-code-maybe",
    "relUrl": "/docs/platforms/heroku/static-setup/#change-your-code-maybe"
  },"1779": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Change your Procfile",
    "content": "(You have a procfile even if it’s not explicitly in your code base. To find it, log into the Heroku dashboard, click on the Resources tab, there you will see a list all of your dyno processes. The text you see (like web npm start) acts as your Procfile, if you do not have one explicitly in your code base.) . Modify your app Procfile to prepend the QGTunnel application to your standard commands: . Before: . Copy web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb . After: . Copy web: bin/qgtunnel bundle exec unicorn -p $PORT -c ./config/unicorn.rb . ",
    "url": "/docs/platforms/heroku/static-setup/#change-your-procfile",
    "relUrl": "/docs/platforms/heroku/static-setup/#change-your-procfile"
  },"1780": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Deploy",
    "content": "Commit and deploy your changes. Be sure to add bin/qgtunnel. If you are using transparent mode, be sure vendor/nss_wrapper/libnss_wrapper.so is also committed. ",
    "url": "/docs/platforms/heroku/static-setup/#deploy",
    "relUrl": "/docs/platforms/heroku/static-setup/#deploy"
  },"1781": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "If problems arise",
    "content": "By default all fatal errors encountered by the qgtunnel will be logged to your Heroku logs. If this information is not enough, you can enable verbose output mode by setting QGTUNNEL_DEBUG environment variable to true. $ heroku config:set QGTUNNEL_DEBUG=true . Send any information in the logs (please redact any credentials, including your QuotaGuard connection URL) to support@quotaguard.com. ",
    "url": "/docs/platforms/heroku/static-setup/#if-problems-arise",
    "relUrl": "/docs/platforms/heroku/static-setup/#if-problems-arise"
  },"1782": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "IMPORTANT: Harden your setup.",
    "content": "This step is highly recommended as we do not have any SLA on our website, which can be out due to maintenance. By default qgtunnel will try to fetch configuration from the QuotaGuard API, but it also supports local configuration. You should download the configuration file from the Dashboard by pressing Download configuration on the Tunnel page. Place the downloaded file into the root directory of your project under the .qgtunnel filename, commit and deploy. With this file, your application will not depend on the availability of our website during application startup. ",
    "url": "/docs/platforms/heroku/static-setup/#important-harden-your-setup",
    "relUrl": "/docs/platforms/heroku/static-setup/#important-harden-your-setup"
  },"1783": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Transparent Mode",
    "content": "If your application depends on DNS based discovery process or needs local tunnel to be resolvable via the DNS name regular tunneling mode will not be enough. For this situation you should enable transparent mode for the QGTunnel in your configuration. In transparent mode, QGTunnel will alter DNS queries from your app to the local address. Let’s say you want to access replicated MongoDB cluster using QGTunnel with 3 replicas located on the hosts: rs01.mongodb.net:52115, rs02.mongodb.net:52115 and rs1.mongodb.net:52115. For this configuration you will need to create 3 separate tunnels for each host on the port 52115 in transparent mode. Once this is done, QGTunnel will alter DNS resolution process to resolve these host names to the appropriate loopback address and auto discovery for your replicated cluster should work as intended. ",
    "url": "/docs/platforms/heroku/static-setup/#transparent-mode",
    "relUrl": "/docs/platforms/heroku/static-setup/#transparent-mode"
  },"1784": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "End-to-end Encryption",
    "content": "Tunnels support communication over TLS encrypted connections. Encryption offers a high level of data protection: all data will be decrypted only in the environments that you control. The remote destination that the tunnels connect to have to support TLS encryption and have a valid certificate installed. If your remote destination doesn’t support encryption, you can use stunnel. You can use self-signed certificates, however you have to provide a custom root CA certificate, it will be added to the list of trusted roots in qgtunnel. For example: You want to connect to the IP restricted Redis and encrypt all traffic between the Heroku app and Redis server. Redis doesn’t support encryption, so you have to install stunnel on the Redis server or any other server within the same network. Typical stunnel configuration that you might want to use: . Copy [redis] accept = 6380 connect = 127.0.0.1:6379 cert = example.com.pem . With this configuration, stunnel will start TLS server on port 6380, it will handle encrypted traffic and will pass decrypted data to the Redis server on 127.0.0.1:6379. As noted you will need a valid certificate, or you can generate self-signed certificate: . | Generate private key and certificate for the custom CA: | . $ openssl genrsa -out CA.key 2048 $ openssl req -x509 -new -key CA.key -out CA.cer -days 730 . | Generate CSR for your domain and sign it with custom CA: | . $ openssl genrsa -out example.com.key 2048 $ openssl req -new -out example.com.req -key example.com.key $ openssl x509 -req -in example.com.req -out example.com.cer -CAkey CA.key -CA CA.cer -days 365 -CAcreateserial -CAserial serial . | Create PEM bundle: | . $ cat example.com.key example.com.cer &gt; example.com.pem . Install example.com.pem on stunnel server. Add CA.cer to your heroku repository and update qgtunnel command in your Procfile: . Copy web: bin/qgtunnel -root_ca CA.cer bundle exec unicorn -p $PORT -c ./config/unicorn.rb . Finally enable encryption for your tunnel configuration on QuotaGuard dashboard. With this configuration, all the traffic handled by qgtunnel will be encrypted with your certificate and all data will be passing proxies in encrypted format. ",
    "url": "/docs/platforms/heroku/static-setup/#end-to-end-encryption",
    "relUrl": "/docs/platforms/heroku/static-setup/#end-to-end-encryption"
  },"1785": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Setting up MySQL access from Rails",
    "content": "Note: This assumes that you have already followed the steps to download and install the SOCKS5 wrapper script as detailed in the section above. To connect to a MySQL host via the proxy you need to add an extra line to your database.yml config file to ensure no connect_timeout is set. Without this option your app will not be able to connect to the database and will hang indefinitely. The value is deliberately left out to force the mysql2 adapter to use nil as the timeout. connect_timeout: . Your full database.yml might look something like this (example values only). Copy common: &amp;common adapter: mysql2 username: secureuser password: securepassword encoding: utf8 pool: 5 connect_timeout: development: &lt;&lt;: *common database: myapp_development test: &lt;&lt;: *common database: myapp_test production: &lt;&lt;: *common . ",
    "url": "/docs/platforms/heroku/static-setup/#setting-up-mysql-access-from-rails",
    "relUrl": "/docs/platforms/heroku/static-setup/#setting-up-mysql-access-from-rails"
  },"1786": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "SOCKS5 Proxy for a MySQL Database in Node.js",
    "content": "To use a SOCKS5 proxy for any reason in Node.js we recommend socksjs as this is one of the only Node.js SOCKS modules to support authentication. npm install socksjs . This sample creates a connection to a SOCKS5 connection to our proxy and uses that for all MySQL requests. Copy var mysql = require('mysql2'), url = require('url'), SocksConnection = require('socksjs'); var remote_options = { host:'your-database.eu-west-1.rds.amazonaws.com', port: 3306 }; var proxy = url.parse(process.env.QUOTAGUARDSTATIC_URL), auth = proxy.auth, username = auth.split(':')[0], pass = auth.split(':')[1]; var sock_options = { host: proxy.hostname, port: 1080, user: username, pass: pass }; var sockConn = new SocksConnection(remote_options, sock_options); var dbConnection = mysql.createConnection({ user: 'dbuser', database: 'dbname', password: 'dbpassword', stream: sockConn }); dbConnection.query('SELECT 1+1 as test1;', function(err, rows, fields) { if (err) throw err; console.log('Result: ', rows); sockConn.dispose(); }); dbConnection.end(); . ",
    "url": "/docs/platforms/heroku/static-setup/#socks5-proxy-for-a-mysql-database-in-nodejs",
    "relUrl": "/docs/platforms/heroku/static-setup/#socks5-proxy-for-a-mysql-database-in-nodejs"
  },"1787": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Inbound Proxy",
    "content": "The Inbound Proxy allows you to always access your Heroku app on a Static IP address. This feature is available on our Micro plan and above. Once you have provisioned the add-on you just need to visit the QuotaGuard Static Dashboard to complete your setup. You can do this from your Heroku Dashboard by clicking on our icon or from your command line: . $ heroku addons:open quotaguardstatic Opening quotaguardstatic for sharp-mountain-4005... Visit the Setup page and enter in the full URL of your Heroku app, e.g. http://cool-api.herokuapp.com . We then create for you a unique URL that you can use to access your web application: e.g. a62b1d0b4983db763450411fd393b3ce-eu-west-1.getstatica.com. This corresponds to a DNS A name record that resolves to your two QuotaGuard Static IPs. You should include both IP addresses in any firewall rules or allowlists. Open this URL in your browser and you should see your own web application. If you are using HTTPS or filter based on the domain name, you may need to add a custom domain in our dashboard. Follow the instructions on the dashboard to setup your custom domain. Note: Please note it may take up to 10 minutes for configuration and DNS changes to propagate. In your firewall you can now just open access to the two QuotaGuard Static IPs in order to work with your cloud app. ",
    "url": "/docs/platforms/heroku/static-setup/#inbound-proxy",
    "relUrl": "/docs/platforms/heroku/static-setup/#inbound-proxy"
  },"1788": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "SSL setup",
    "content": "Our self-service automated setup supports SSL by default. For custom domains you have to upload valid certificate to enable SSL. In both cases SSL will be terminated on QuotaGuard proxies. ",
    "url": "/docs/platforms/heroku/static-setup/#ssl-setup",
    "relUrl": "/docs/platforms/heroku/static-setup/#ssl-setup"
  },"1789": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Monitoring &amp; Logging",
    "content": "Real-time and historical usage stats can be displayed on the QuotaGuard Static Dashboard accessible from your Heroku Dashboard. ",
    "url": "/docs/platforms/heroku/static-setup/#monitoring--logging",
    "relUrl": "/docs/platforms/heroku/static-setup/#monitoring--logging"
  },"1790": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Dashboard",
    "content": "The QuotaGuard Static dashboard allows you to view your real-time and historical usage of every API. The dashboard can be accessed via the CLI: . $ heroku addons:open quotaguardstatic Opening quotaguardstatic for sharp-mountain-4005... or by visiting the Heroku apps web interface and selecting the application in question. Select QuotaGuard Static from the Add-ons menu. ",
    "url": "/docs/platforms/heroku/static-setup/#dashboard",
    "relUrl": "/docs/platforms/heroku/static-setup/#dashboard"
  },"1791": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Local setup",
    "content": " ",
    "url": "/docs/platforms/heroku/static-setup/#local-setup",
    "relUrl": "/docs/platforms/heroku/static-setup/#local-setup"
  },"1792": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Environment setup",
    "content": "After provisioning the add-on you can locally replicate the config vars so your development environment can operate against the service. This should be used for initial testing only as usage will count against your daily limits. Though less portable it’s also possible to set local environment variables using export QUOTAGUARDSTATIC_URL=value. Use Heroku Local to configure, run and manage process types specified in your app’s Procfile. Heroku Local reads configuration variables from a .env file. Use the following command to add theQUOTAGUARDSTATIC_URL value retrieved from heroku config to .env: . $ heroku config -s | grep QUOTAGUARDSTATIC_URL &gt;&gt; .env $ more .env . Note: Credentials and other sensitive configuration values should not be committed to source-control. In Git exclude the .env file with: echo .env &gt;&gt; .gitignore. ",
    "url": "/docs/platforms/heroku/static-setup/#environment-setup",
    "relUrl": "/docs/platforms/heroku/static-setup/#environment-setup"
  },"1793": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "FAQs",
    "content": " ",
    "url": "/docs/platforms/heroku/static-setup/#faqs",
    "relUrl": "/docs/platforms/heroku/static-setup/#faqs"
  },"1794": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Do you offer Dedicated Static IPs?",
    "content": "Yes - dedicated IP addresses are available on request for subscriptions on the Enterprise plan and above. As they require dedicated infrastructure we only provision these on request so please contact us if you want a dedicated Static IP address. ",
    "url": "/docs/platforms/heroku/static-setup/#do-you-offer-dedicated-static-ips",
    "relUrl": "/docs/platforms/heroku/static-setup/#do-you-offer-dedicated-static-ips"
  },"1795": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "What happens when I reach my usage limit?",
    "content": "To make sure we grow in harmony with your application QuotaGuard Static operates initially with a soft limit. When you reach your plan’s monthly usage limit your requests will continue going through but we will reach out to you via e-mail to ask that you upgrade your plan. If you repeatedly exceed your limits without upgrading then hard limits may be placed on your account but this is a very last resort. ",
    "url": "/docs/platforms/heroku/static-setup/#what-happens-when-i-reach-my-usage-limit",
    "relUrl": "/docs/platforms/heroku/static-setup/#what-happens-when-i-reach-my-usage-limit"
  },"1796": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "I’ve forgotten what my Static IPs are!",
    "content": "Both IPs are shown on your Dashboard which you can get to either from your Heroku Apps page or via the CLI. ",
    "url": "/docs/platforms/heroku/static-setup/#ive-forgotten-what-my-static-ips-are",
    "relUrl": "/docs/platforms/heroku/static-setup/#ive-forgotten-what-my-static-ips-are"
  },"1797": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Can I access your Brazilian instance in Sao Paulo?",
    "content": "QuotaGuard Static is deployed in the Heroku US &amp; Europe regions and you are automatically assigned to an instance in the same region as your app. If you would like to use our South America instance located in Sao Paulo please contact us and we can manually relocate you. This will change your Static IP address. $ heroku addons:open quotaguardstatic Opening quotaguardstatic for sharp-mountain-4005... ",
    "url": "/docs/platforms/heroku/static-setup/#can-i-access-your-brazilian-instance-in-sao-paulo",
    "relUrl": "/docs/platforms/heroku/static-setup/#can-i-access-your-brazilian-instance-in-sao-paulo"
  },"1798": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Why have you given me two Static IP addresses?",
    "content": "We believe all apps should be built for scalability and high availability. Our commitment to this means we only provide load balanced, high availability services. Load balancing our nodes allows one node to fail or be brought down for maintenance with no impact to your application. Each IP you are given represents one proxy node that is running behind a load balancer. If you want to use just one IP address, you can change your QUOTAGUARDSTATIC_URL environment variable to point to one of the two IPs following this format: . http://USERNAME:PASSWORD@IPADDRESS:9293 . Contact support@quotaguard.com if you have any issues utilizing just one of the two IPs. ",
    "url": "/docs/platforms/heroku/static-setup/#why-have-you-given-me-two-static-ip-addresses",
    "relUrl": "/docs/platforms/heroku/static-setup/#why-have-you-given-me-two-static-ip-addresses"
  },"1799": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "What region does QuotaGuard Static run in?",
    "content": "We have instances in the US, EU, SA, EA, and AP regions. When you provision the add-on you will be assigned static IPs in the same region as your Heroku app ensuring we can always process your requests with ultra low latency. ",
    "url": "/docs/platforms/heroku/static-setup/#what-region-does-quotaguard-static-run-in",
    "relUrl": "/docs/platforms/heroku/static-setup/#what-region-does-quotaguard-static-run-in"
  },"1800": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Can I access MySQL or Postgres through this?",
    "content": "Yes we have many users doing this. The easiest way for most languages is to use our SOCKS5 proxy wrapper(installation details higher up the page). If you are using Node.js you can also configure the SOCKS5 proxy in your Javascript code without using the wrapper (details also on this page). ",
    "url": "/docs/platforms/heroku/static-setup/#can-i-access-mysql-or-postgres-through-this",
    "relUrl": "/docs/platforms/heroku/static-setup/#can-i-access-mysql-or-postgres-through-this"
  },"1801": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Migrating between plans",
    "content": "Note: Application owners can migrate at any time with no interruption to your service. Use the heroku addons:upgrade command to migrate to a new plan. $ heroku addons:upgrade quotaguardstatic:large -----&gt; Upgrading quotaguardstatic:large to sharp-mountain-4005... done, v18 ($90/mo) Your plan has been updated to: quotaguardstatic:large . Note: The QUOTAGUARDSTATIC_URL will revert back to it’s original setting when you change plans. Be prepared to reset this if you have changed it. ",
    "url": "/docs/platforms/heroku/static-setup/#migrating-between-plans",
    "relUrl": "/docs/platforms/heroku/static-setup/#migrating-between-plans"
  },"1802": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Removing the add-on",
    "content": "QuotaGuard Static can be removed via the CLI. Warning: This will destroy all associated data and cannot be undone! . $ heroku addons:destroy quotaguardstatic -----&gt; Removing quotaguardstatic from sharp-mountain-4005... done, v20 (free) . ",
    "url": "/docs/platforms/heroku/static-setup/#removing-the-add-on",
    "relUrl": "/docs/platforms/heroku/static-setup/#removing-the-add-on"
  },"1803": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Privacy - GDPR and CCPA",
    "content": "QuotaGuard supports customers’ GDPR and CCPA requirements. Please review our Privacy Policy and GDPR/CCPA compliance information at QuotaGuard.com’s Privacy Policy page. In addition, we also answer many questions around Privacy, Security, and GDPR at QuotaGuard.com FAQ’s. If you need a DPA for your customers, or from us as a sub-contractor of your services, please contact us via our Support channel (details below) so we can get you the right DPA contract for your review. ",
    "url": "/docs/platforms/heroku/static-setup/#privacy---gdpr-and-ccpa",
    "relUrl": "/docs/platforms/heroku/static-setup/#privacy---gdpr-and-ccpa"
  },"1804": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Support",
    "content": "All QuotaGuard Static support and runtime issues should be submitted to our Support. ",
    "url": "/docs/platforms/heroku/static-setup/#support",
    "relUrl": "/docs/platforms/heroku/static-setup/#support"
  },"1805": {
    "doc": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "title": "Heroku Setup Instructions for QuotaGuard Static IP's",
    "content": " ",
    "url": "/docs/platforms/heroku/static-setup/",
    "relUrl": "/docs/platforms/heroku/static-setup/"
  },"1806": {
    "doc": "Routing Subdomain Traffic to a Primary Domain",
    "title": "Routing Subdomain Traffic to a Primary Domain",
    "content": "Let’s propose the following scenario: . Use Case: Route Traffic from your Subdomain https://mydomain.com to https://www.mydomain.com. The user would have two scenarios that might occur as they go to your site: .    client —&gt; https://www.mydomain.com .    client —-&gt; https://mydomain.com –&gt; QuotaGuard Proxies –&gt; https://www.mydomain.com . How would you do it? 3 easy steps… .    1) Add https://mydomain.com as a custom domain to your inbound proxy.    2) Upload your security certificates for https://mydomain.com in the QuotaGuard Admin Inbound setup.    3) Update the DNS records for mydomain.com to point to the two IPs QuotaGuard provides to you. Alternate (and the more secure) Solution: Use the QuotaGuard “certificate-less” service - QuotaGuard Shield - and create an inbound proxy pointing to https://www.mydomain.com for https://mydomain.com, then update the DNS. QuotaGuard Shield does not require you upload certificates to our dashboard and removes the risk of a third party attack on QuotaGuard that potentially could compromise your certificates. ",
    "url": "/docs/platforms/heroku/subdomain-routing/",
    "relUrl": "/docs/platforms/heroku/subdomain-routing/"
  },"1807": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "The Problem: Network Restrictions Block Dynamic IPs",
    "content": "Supabase Network Restrictions let you specify which IP ranges may connect to your Postgres database and its connection pooler. The restrictions are enforced before traffic reaches the database, and before any credential check. A connection from a disallowed address is refused regardless of whether the password is correct. That is exactly the control a security review or a SOC 2 questionnaire asks for. It is also unusable on a platform with rotating egress IPs, because there is no stable CIDR to enter. When your app connects from an address outside the allowlist, you see a connection failure rather than an authentication failure: . Error: connect ETIMEDOUT . psycopg2.OperationalError: connection to server at \"db.xxxxxxxx.supabase.co\", port 5432 failed: Connection timed out Is the server running on that host and accepting TCP/IP connections? . PG::ConnectionBad: connection to server failed: Connection timed out . The tell is that the error is a timeout or a refused connection, not password authentication failed. A credential error means you reached the database. A timeout at this layer usually means the allowlist rejected you first. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#the-problem-network-restrictions-block-dynamic-ips",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#the-problem-network-restrictions-block-dynamic-ips"
  },"1808": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "The Common Workaround",
    "content": "The usual response is to allowlist 0.0.0.0/0, or to never turn Network Restrictions on at all. That leaves your Postgres instance reachable from any address on the internet, with username and password as the only barrier. It also means the control your compliance reviewer asked about is not actually in place, whatever the policy document says. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#the-common-workaround",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#the-common-workaround"
  },"1809": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "The QuotaGuard Solution",
    "content": "Route your Postgres connections through QuotaGuard’s SOCKS5 proxy. Traffic exits from one of the two static IP addresses assigned to your subscription. Add those two addresses to your Supabase allowlist and remove the wildcard. | Network-level protection is real, not nominal | The same two IPs work from every platform in your stack | Moving from Heroku to Render, or adding a worker on Fly.io, changes nothing on the Supabase side | Your allowlist stops being a maintenance burden | . ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#the-quotaguard-solution",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#the-quotaguard-solution"
  },"1810": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Native Supabase Options (What They Cover)",
    "content": "Supabase offers its own networking features. Some of them fit certain architectures better than a proxy does. | Option | Requirements | Best for | . | Dedicated IPv4 Address | Paid add-on | Giving your database a stable inbound IPv4 address. Does not give your application a stable outbound address. | . | PrivateLink | Enterprise, AWS VPC Lattice | Teams already running in AWS who want to remove public internet exposure entirely | . | Network Restrictions alone | Any paid project | Applications that already run on infrastructure with fixed egress IPs | . The Dedicated IPv4 add-on is worth understanding clearly, because it is often confused with what QuotaGuard does. It fixes the address of your database. It does nothing about the address your application connects from, which is the side the allowlist checks. Use QuotaGuard when: . | Your application runs on a platform with dynamic egress IPs and you cannot enumerate them | Your stack spans several platforms and you want one allowlist entry pair for all of them | You use serverless functions where a VPC configuration adds cold start latency | You want Network Restrictions on today without an infrastructure project | You need the same static identity for other destinations too, not just Supabase | . ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#native-supabase-options-what-they-cover",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#native-supabase-options-what-they-cover"
  },"1811": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard, where you can find your proxy credentials and the two static IP addresses assigned to your subscription. Choose the right proxy region. Match your QuotaGuard region to the AWS region hosting your Supabase project. Postgres is latency-sensitive on connection setup and on every round trip, so this matters more here than it does for a single API call. QuotaGuard proxies run in 12 AWS regions: . | Region | Location | . | US-East-1 | N. Virginia | . | US-East-2 | Ohio | . | US-West-2 | Oregon | . | CA-Central-1 | Montreal | . | EU-West-1 | Ireland | . | EU-West-2 | London | . | EU-Central-1 | Frankfurt | . | AP-Northeast-1 | Tokyo | . | AP-Southeast-1 | Singapore | . | AP-Southeast-2 | Sydney | . | AP-South-1 | Mumbai | . | SA-East-1 | Sao Paulo | . To find your Supabase project region, open Project Settings &gt; General in the Supabase dashboard. Pick the matching QuotaGuard region, or the nearest one available, from the region list in your dashboard. Your QuotaGuard SOCKS5 credentials look like this: . Host: &lt;region&gt;-static-01.quotaguard.com Port: 1080 Username: your-username Password: your-password . For example, us-east-static-01.quotaguard.com. Use the exact host and credentials shown in your QuotaGuard dashboard rather than assembling a hostname by hand. Finding your static IPs: both addresses are shown in the QuotaGuard dashboard. Allowlist both. The dashboard pair is the single source of truth. Do not resolve the proxy hostname to obtain an address, and do not allowlist only one of the two. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#getting-started",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#getting-started"
  },"1812": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Choose Your Connection Route First",
    "content": "Supabase exposes more than one way to reach the same database, and the choice affects whether an IPv4 allowlist entry will work. Get this right before you configure anything else. Network restrictions apply to Postgres and to the connection pooler, on both pooled and direct routes. They do not apply to the HTTPS APIs, which means PostgREST, Storage, and Auth, and they do not apply to supabase-js calls against those APIs. If your application only uses supabase-js against the REST API, Network Restrictions do not affect you and you do not need this guide. The IPv6 consideration. If direct connections to your database resolve to an IPv6 address, Supabase’s documentation states you must add both IPv4 and IPv6 CIDRs to the allowlist, with two exceptions: projects on the IPv6 migration, and projects with the IPv4 add-on. QuotaGuard static IPs are IPv4. That gives you three workable paths: . | Route | Works with an IPv4 allowlist entry | Notes | . | Supavisor pooler | Yes | The recommended route for most applications. IPv4-reachable. | . | Direct connection with the IPv4 add-on | Yes | Requires the paid Supabase add-on | . | Direct connection resolving to IPv6 | No | Your QuotaGuard IPv4 pair cannot satisfy an IPv6 source requirement | . Unless you have a specific reason to use a direct connection, use the pooler connection string. Copy the exact string from Project Settings &gt; Database &gt; Connection string in the Supabase dashboard and pick the pooler tab rather than the direct tab. Supabase’s pooler generally exposes session mode and transaction mode on separate ports, commonly 5432 and 6543 respectively. Read the port from your own connection string rather than assuming, because this is the value you will use for the QGTunnel local port mapping below. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#choose-your-connection-route-first",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#choose-your-connection-route-first"
  },"1813": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Configuring Supabase Network Restrictions",
    "content": " ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#configuring-supabase-network-restrictions",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#configuring-supabase-network-restrictions"
  },"1814": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 1: Open Network Restrictions",
    "content": ". | Open your Supabase project | Go to Project Settings &gt; Database | Find the Network Restrictions section | . If the section is not there, Supabase’s documentation says to update your Postgres version under Infrastructure Settings first. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-1-open-network-restrictions",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-1-open-network-restrictions"
  },"1815": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 2: Add Your QuotaGuard IPs",
    "content": "Add both static IPs from your QuotaGuard dashboard as /32 entries: . 203.0.113.10/32 203.0.113.11/32 . Substitute the actual addresses shown in your dashboard. A /32 mask means exactly that one address. If your application also connects from other known locations, an office network or a CI runner, add those CIDRs in the same pass. Anything not on the list is refused. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-2-add-your-quotaguard-ips",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-2-add-your-quotaguard-ips"
  },"1816": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 3: Verify Before You Lock Down",
    "content": "Do not remove an existing permissive entry until you have confirmed a successful connection through the proxy. Add the QuotaGuard pair, deploy the proxy configuration, confirm the application connects, and only then tighten the list. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-3-verify-before-you-lock-down",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-3-verify-before-you-lock-down"
  },"1817": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Configuring with the CLI",
    "content": "The Supabase CLI can read and set restrictions. Check what is currently in effect: . supabase network-restrictions --project-ref &lt;your-project-ref&gt; get --experimental . If restrictions have never been applied, the allowed CIDR list is empty and the output reports that restrictions were not applied successfully, which means all addresses can connect: . DB Allowed CIDRs: [] Restrictions applied successfully: false . Apply your restrictions: . supabase network-restrictions --project-ref &lt;your-project-ref&gt; update \\ --db-allow-cidr 203.0.113.10/32 \\ --db-allow-cidr 203.0.113.11/32 \\ --experimental . The CIDRs you pass replace the entire existing list. They are not merged. To keep an existing entry, include it in the same command alongside the new ones. This is the most common way people lock themselves out during a change. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#configuring-with-the-cli",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#configuring-with-the-cli"
  },"1818": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Configuring Your Application",
    "content": "Postgres uses its own wire protocol on a TCP port. This needs a SOCKS5 proxy, not an HTTP proxy. QuotaGuard’s SOCKS5 service runs on port 1080. There is an important practical difference from HTTP-based integrations. Most Postgres drivers have no proxy option at all, because they wrap libpq or open a raw socket directly. Monkey-patching Python’s socket module with PySocks does not reach psycopg2, because libpq opens its socket in C and never passes through Python’s socket layer. For that reason QGTunnel is the primary path for Postgres, and direct SOCKS5 configuration is the exception rather than the rule. Use the table below to pick. | Language or stack | Recommended approach | . | Node.js (pg, Prisma, Sequelize, TypeORM, Knex) | QGTunnel, or a custom stream on pg | . | Python (psycopg2, psycopg, SQLAlchemy, Django) | QGTunnel | . | Ruby (ActiveRecord, Sequel) | QGTunnel | . | Go (pgx, lib/pq) | Direct SOCKS5 with a custom dialer, or QGTunnel | . | Java (JDBC) | QGTunnel | . | PHP (PDO) | QGTunnel | . | Elixir (Ecto, Postgrex) | QGTunnel | . ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#configuring-your-application",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#configuring-your-application"
  },"1819": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Using QGTunnel",
    "content": "QGTunnel is a wrapper process that maps a local port to a remote destination through the QuotaGuard proxy. Your application connects to localhost. No driver support for proxies is required, and in most cases no application code changes are required either. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#using-qgtunnel",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#using-qgtunnel"
  },"1820": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 1: Download QGTunnel",
    "content": "curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz . This creates bin/qgtunnel and supporting files under vendor/nss_wrapper/. The QGTunnel binary targets Linux. If you develop on macOS or Windows, test tunnel configuration inside a Linux container or VM so your local environment matches production. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-1-download-qgtunnel",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-1-download-qgtunnel"
  },"1821": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 2: Create the Tunnel in Your Dashboard",
    "content": "In your QuotaGuard dashboard, go to Setup (the gear icon, top-right) &gt; QGTunnel Configuration &gt; Create a Tunnel. Configure it against your Supabase host: . | Setting | Value | . | Remote Destination | tcp://&lt;your-supabase-host&gt;:&lt;port&gt; | . | Local Port | the same port your application expects | . | Transparent | false | . | Encrypted | false | . Take the host and port from your Supabase connection string, not from this page. Postgres connections to Supabase are already TLS-encrypted end to end, so the tunnel’s own encryption option is not needed here. If you use transparent mode instead, QGTunnel overrides DNS for the Supabase hostname and routes it locally, which lets you keep your original connection string untouched. That is the better option when the hostname must stay the same, for example when TLS certificate verification would fail against localhost. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-2-create-the-tunnel-in-your-dashboard",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-2-create-the-tunnel-in-your-dashboard"
  },"1822": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 3: Download the Configuration File",
    "content": "In the dashboard, download the configuration file and save it as .qgtunnel in your project root, then commit it. With the file present, your application does not depend on reaching the QuotaGuard API at startup. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-3-download-the-configuration-file",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-3-download-the-configuration-file"
  },"1823": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 4: Point Your Application at the Tunnel",
    "content": "In non-transparent mode, change the host in your connection string to localhost: . Original: . postgresql://postgres.&lt;ref&gt;:&lt;password&gt;@&lt;your-supabase-host&gt;:6543/postgres . Through the tunnel: . postgresql://postgres.&lt;ref&gt;:&lt;password&gt;@localhost:6543/postgres . If your driver verifies the TLS certificate against the hostname, connecting to localhost will fail verification. Use transparent mode in that case so the original hostname is preserved. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-4-point-your-application-at-the-tunnel",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-4-point-your-application-at-the-tunnel"
  },"1824": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Step 5: Run Your Application Under QGTunnel",
    "content": "Local or generic: . bin/qgtunnel node server.js . Heroku (Procfile): . web: bin/qgtunnel node server.js . Render (start command): . bin/qgtunnel npm start . Railway (start command): . bin/qgtunnel npm start . Fly.io (fly.toml): . [processes] app = \"bin/qgtunnel npm start\" . Docker: . ENTRYPOINT [\"/app/bin/qgtunnel\"] CMD [\"node\", \"server.js\"] . Kubernetes (container spec): . command: [\"/app/bin/qgtunnel\"] args: [\"node\", \"server.js\"] . QGTunnel must be the entrypoint so it is listening before your application opens its first connection. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#step-5-run-your-application-under-qgtunnel",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#step-5-run-your-application-under-qgtunnel"
  },"1825": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Direct SOCKS5 Configuration",
    "content": "Where the driver supports a custom dialer or socket, you can skip QGTunnel. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#direct-socks5-configuration",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#direct-socks5-configuration"
  },"1826": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Go with pgx",
    "content": "Go’s standard library proxy package gives you a SOCKS5 dialer, and pgx accepts a custom dial function. go get golang.org/x/net/proxy . package main import ( \"context\" \"fmt\" \"log\" \"net\" \"os\" \"github.com/jackc/pgx/v5\" \"golang.org/x/net/proxy\" ) func main() { auth := &amp;proxy.Auth{ User: os.Getenv(\"QUOTAGUARD_SOCKS_USER\"), Password: os.Getenv(\"QUOTAGUARD_SOCKS_PASS\"), } socksAddr := fmt.Sprintf(\"%s:%s\", os.Getenv(\"QUOTAGUARD_SOCKS_HOST\"), os.Getenv(\"QUOTAGUARD_SOCKS_PORT\"), ) dialer, err := proxy.SOCKS5(\"tcp\", socksAddr, auth, proxy.Direct) if err != nil { log.Fatal(\"socks5 dialer:\", err) } config, err := pgx.ParseConfig(os.Getenv(\"DATABASE_URL\")) if err != nil { log.Fatal(\"parse config:\", err) } config.DialFunc = func(ctx context.Context, network, addr string) (net.Conn, error) { return dialer.Dial(network, addr) } conn, err := pgx.ConnectConfig(context.Background(), config) if err != nil { log.Fatal(\"connect:\", err) } defer conn.Close(context.Background()) var now string if err := conn.QueryRow(context.Background(), \"select now()::text\").Scan(&amp;now); err != nil { log.Fatal(\"query:\", err) } fmt.Println(\"Connected to Supabase through QuotaGuard at\", now) } . The connection string keeps the real Supabase hostname, so TLS verification behaves normally. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#go-with-pgx",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#go-with-pgx"
  },"1827": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Node.js with a custom stream on pg",
    "content": "The pg client accepts a stream factory, which lets you hand it a socket opened through SOCKS5. npm install pg socks . const { Client } = require('pg'); const { SocksClient } = require('socks'); const { URL } = require('url'); const dbUrl = new URL(process.env.DATABASE_URL); const client = new Client({ connectionString: process.env.DATABASE_URL, ssl: { rejectUnauthorized: true }, stream: () =&gt; { // socks returns a promise, so this pattern requires a driver version // that accepts an async stream factory. Verify against your pg version. return SocksClient.createConnection({ proxy: { host: process.env.QUOTAGUARD_SOCKS_HOST, port: Number(process.env.QUOTAGUARD_SOCKS_PORT), type: 5, userId: process.env.QUOTAGUARD_SOCKS_USER, password: process.env.QUOTAGUARD_SOCKS_PASS, }, command: 'connect', destination: { host: dbUrl.hostname, port: Number(dbUrl.port), }, }).then((info) =&gt; info.socket); }, }); client.connect() .then(() =&gt; client.query('select now()')) .then((res) =&gt; console.log('Connected to Supabase through QuotaGuard', res.rows[0])) .catch((err) =&gt; console.error('Connection failed:', err)); . Support for an asynchronous stream factory varies across pg releases. Confirm the behavior on the version you have pinned before relying on it in production. If it does not hold, QGTunnel is the reliable path for Node. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#nodejs-with-a-custom-stream-on-pg",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#nodejs-with-a-custom-stream-on-pg"
  },"1828": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Testing Your Implementation",
    "content": " ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#testing-your-implementation",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#testing-your-implementation"
  },"1829": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Confirm the Connection",
    "content": "Node.js: . const { Client } = require('pg'); const client = new Client({ connectionString: process.env.DATABASE_URL }); client.connect() .then(() =&gt; client.query('select inet_client_addr() as source_ip')) .then((res) =&gt; { console.log('Supabase sees this source IP:', res.rows[0].source_ip); return client.end(); }) .catch((err) =&gt; console.error('Connection failed:', err.message)); . Python: . import os import psycopg2 conn = psycopg2.connect(os.environ[\"DATABASE_URL\"]) cur = conn.cursor() cur.execute(\"select inet_client_addr()\") print(\"Supabase sees this source IP:\", cur.fetchone()[0]) cur.close() conn.close() . inet_client_addr() returns the address Postgres sees on the other end of the connection. Through a correctly configured proxy it should match one of the two addresses in your QuotaGuard dashboard. Which one you get is decided per connection and can be either, so add both to the restriction list. Repeated tests may show the same address or different ones, and both are normal. If the service you are allowlisting can only accept a single address, you can connect to one node of the pair directly and always use that IP, at the cost of the pair’s failover. See How to use one static IP address. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#confirm-the-connection",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#confirm-the-connection"
  },"1830": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Confirm the Outbound IP Separately",
    "content": "If you want a second check that does not depend on the database connection at all, make an HTTP request through the HTTP proxy from the same runtime: . import os import requests proxy_url = os.environ[\"QUOTAGUARDSTATIC_URL\"] proxies = {\"http\": proxy_url, \"https\": proxy_url} response = requests.get(\"https://ip.quotaguard.com\", proxies=proxies) print(\"Outbound IP:\", response.json()[\"ip\"]) . A connection that succeeds while reporting an address that is not in your dashboard means the proxy configuration was not applied to that connection. A successful query is not by itself proof that traffic went through the proxy, so check the address rather than assuming. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#confirm-the-outbound-ip-separately",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#confirm-the-outbound-ip-separately"
  },"1831": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Latency Considerations",
    "content": "Routing through a proxy adds a network hop to every database connection, and Postgres is more sensitive to this than a one-off API call. To keep the impact small: . | Match all three regions. Your application, your QuotaGuard proxy, and your Supabase project should be in the same AWS region wherever possible. | Use connection pooling. Let the driver hold persistent connections rather than opening one per request. This matters more through a proxy, because you pay the setup cost on every new connection. | Use the Supabase pooler for serverless. Serverless runtimes create and discard connections aggressively, which is the worst case for per-connection overhead. | . Measure against your own workload and region pairing rather than assuming a fixed figure. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#latency-considerations",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#latency-considerations"
  },"1832": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#troubleshooting",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#troubleshooting"
  },"1833": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Connection times out, no authentication error",
    "content": "The allowlist is refusing you before credentials are checked. Work through this order: . | Confirm both QuotaGuard IPs are in the Supabase restriction list, not just one | Confirm the addresses match your dashboard exactly, including the /32 mask | Confirm the connection is actually going through the proxy, using inet_client_addr() above | Confirm you are using SOCKS5 on port 1080, not the HTTP proxy on 9293 | . ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#connection-times-out-no-authentication-error",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#connection-times-out-no-authentication-error"
  },"1834": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Connection works intermittently, fails at other times",
    "content": "The classic symptom of an IPv6 route. If your direct connection resolves to IPv6 and only an IPv4 CIDR is allowlisted, behavior varies by resolution. Move to the pooler connection string, or add the Supabase IPv4 add-on. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#connection-works-intermittently-fails-at-other-times",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#connection-works-intermittently-fails-at-other-times"
  },"1835": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "password authentication failed",
    "content": "This is a Postgres credential error, not a proxy or allowlist problem. You reached the database. Check the username, the password, and whether your pooler connection string requires the tenant-qualified username format shown in the Supabase dashboard. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#password-authentication-failed",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#password-authentication-failed"
  },"1836": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "SOCKS authentication failed",
    "content": ". | Check the SOCKS username and password against the dashboard | Check for characters in the password that need URL encoding when embedded in a URL | Confirm SOCKS5, not SOCKS4 | . ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#socks-authentication-failed",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#socks-authentication-failed"
  },"1837": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "TLS certificate verification fails after adding the tunnel",
    "content": "You are connecting to localhost while the certificate is issued for the Supabase hostname. Switch QGTunnel to transparent mode so the original hostname is preserved, rather than disabling certificate verification. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#tls-certificate-verification-fails-after-adding-the-tunnel",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#tls-certificate-verification-fails-after-adding-the-tunnel"
  },"1838": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "The Network Restrictions section is missing in the dashboard",
    "content": "Supabase’s documentation says to update your Postgres version in Infrastructure Settings and then check again. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#the-network-restrictions-section-is-missing-in-the-dashboard",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#the-network-restrictions-section-is-missing-in-the-dashboard"
  },"1839": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "A CLI update wiped an existing allowlist entry",
    "content": "Expected behavior. The CIDRs passed to update replace the whole list. Re-run the command with every CIDR you want, including the ones you had before. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#a-cli-update-wiped-an-existing-allowlist-entry",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#a-cli-update-wiped-an-existing-allowlist-entry"
  },"1840": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "ECONNREFUSED 127.0.0.1",
    "content": "QGTunnel is not listening. It either did not start, started after your application, or does not have a mapping for that local port. Make QGTunnel the process entrypoint so it initializes first. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#econnrefused-127001",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#econnrefused-127001"
  },"1841": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Edge Functions stopped reaching the database after enabling restrictions",
    "content": "Supabase’s documentation states that with network restrictions applied, Edge Functions lose direct access to the database. That is a separate consideration from your application’s connection and is not something the proxy changes. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#edge-functions-stopped-reaching-the-database-after-enabling-restrictions",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#edge-functions-stopped-reaching-the-database-after-enabling-restrictions"
  },"1842": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Environment Variables Reference",
    "content": "# SOCKS5 proxy (port 1080) - used for Postgres and other TCP connections QUOTAGUARD_SOCKS_HOST=&lt;region&gt;-static-01.quotaguard.com QUOTAGUARD_SOCKS_PORT=1080 QUOTAGUARD_SOCKS_USER=your-username QUOTAGUARD_SOCKS_PASS=your-password # HTTP proxy (port 9293) - used for HTTP and HTTPS requests QUOTAGUARDSTATIC_URL=http://username:password@&lt;region&gt;-static-01.quotaguard.com:9293 # Your Supabase connection string, copied from the dashboard DATABASE_URL=postgresql://postgres.&lt;ref&gt;:&lt;password&gt;@&lt;your-supabase-host&gt;:6543/postgres . Use the exact values from your QuotaGuard dashboard and your Supabase connection string. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#environment-variables-reference",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#environment-variables-reference"
  },"1843": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Security Best Practices",
    "content": ". | Remove any permissive entry once the proxy is confirmed working. An allowlist containing 0.0.0.0/0 provides no protection. | Never commit credentials. Use your platform’s secret storage for both the database URL and the proxy credentials. | Allowlist both static IPs. Allowlisting one produces intermittent failures that are hard to diagnose. | Use least-privilege database roles. Network restrictions are one layer, not the only one. | Re-run the CLI get command after any change to confirm the resulting list is what you intended. | Rotate credentials periodically, on both the Supabase and QuotaGuard sides. | . ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#security-best-practices",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#security-best-practices"
  },"1844": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP / HTTPS / SOCKS5 | HTTPS / SOCKS5 over TLS | . | Customer-to-proxy hop | Plaintext | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps | Regulated data or environments that require TLS on every hop | . | Starting price (direct) | $19/month | $29/month | . Postgres connections to Supabase carry their own TLS, so the payload is protected in both cases. Static is right for most applications connecting to Supabase. Choose Shield if the workload handles regulated data under HIPAA, PCI-DSS, or SOC 2, or if your environment requires TLS between your app and the proxy itself. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#quotaguard-static-vs-quotaguard-shield"
  },"1845": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Turn on Network Restrictions without locking your own application out. Try QuotaGuard Now . Supabase Edge Functions Guide . Contact Support . ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/#ready-to-get-started",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/#ready-to-get-started"
  },"1846": {
    "doc": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "title": "QuotaGuard and Supabase Network Restrictions Integration Guide",
    "content": "QuotaGuard Static IPs let your cloud application connect to a Supabase Postgres database that has Network Restrictions enabled. You allowlist the two static IPs assigned to your subscription, and every connection from your app arrives from a known address regardless of which platform it runs on. You do not need QuotaGuard for local development or for infrastructure with stable IPs. This guide is for applications on Heroku, Render, Railway, Fly.io, Vercel, AWS Lambda, Google Cloud Run, Kubernetes, and other platforms where outbound IPs are dynamic. This is the inbound direction: your app connecting into Supabase. If you are looking for outbound traffic from a Supabase Edge Function to an external API, see the Supabase Edge Functions guide. ",
    "url": "/docs/databases/postgresql/supabase-network-restrictions/",
    "relUrl": "/docs/databases/postgresql/supabase-network-restrictions/"
  },"1847": {
    "doc": "Support Code",
    "title": "Support Code",
    "content": "When contacting QuotaGuard Support, we may ask for your Support Code. The Support Code page is where you find that Support Code. If you contact QuotaGuard Support, to protect your account, the QuotaGuard team may ask for this following verification code on this page. ",
    "url": "/docs/getting-started/support-code/",
    "relUrl": "/docs/getting-started/support-code/"
  },"1848": {
    "doc": "What TLS Versions does QuotaGuard Support?",
    "title": "What TLS Versions does QuotaGuard Support?",
    "content": "Last Updated: Nov 2026 . Following security experts recommendations that TLS1.0 and TLS1.1 be deprecated on servers, in March 2019, QuotaGuard no longer supported TLS 1.0 or TLS 1.1. Our QuotaGuard Static Inbound proxy service accepts TLS 1.2 only. QuotaGuard Static outbound proxies (HTTP proxy on port 9293 and SOCKS5 on port 1080) do not add a TLS layer between your application and the proxy. Any TLS session your application opens with the destination passes through the proxy unchanged, so the TLS version is negotiated between your application and the destination server. Our QuotaGuard Shield service offers outbound HTTPS proxy service (port 9294) and outbound Secure SOCKS service (port 1081), which both accept TLS 1.2 and TLS 1.3. Additionally, the QuotaGuard Shield service offers inbound proxy service using SSL Passthrough, which means the protocol version is up to the remote server to determine. If you have questions on TLS or the above options, write us at Support. ",
    "url": "/docs/security/ssl-and-tls/supported-tls-versions/",
    "relUrl": "/docs/security/ssl-and-tls/supported-tls-versions/"
  },"1849": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "The connection you are configuring",
    "content": "Authorized backend operation | Supabase Edge Function | Explicit proxy-aware Deno client | QuotaGuard outbound route | Brails HTTPS API Browser traffic, incoming Brails webhooks and unrelated Supabase requests keep their existing routes. The relevant address is the source observed by the API receiving the request. The hostname in the request URL is the destination. A customer’s browser address is a different identity again. For an account using Brails IP allowlisting, configure the backend source addresses rather than end-user devices. Hosted Supabase Edge Functions do not provide a stable egress address. The proxy supplies the selected calls with a stable network route without requiring the rest of the application to move. ",
    "url": "/docs/apis/brails/technical-guide/#the-connection-you-are-configuring",
    "relUrl": "/docs/apis/brails/technical-guide/#the-connection-you-are-configuring"
  },"1850": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "1. Establish the account and route",
    "content": "Record the intended Brails environment, the Supabase project and the QuotaGuard subscription before handling any secrets. This avoids a plausible-looking check against the wrong account. Use this setup worksheet: . | Item | What the operator records privately | . | Supabase deployment | Project and function revision that will run the check | . | Brails environment | Sandbox for this helper, with an authorized account owner | . | Account networking policy | Whether allowlisting is enabled and who can approve a change | . | QuotaGuard route | Subscription label, selected region and HTTP or HTTPS proxy transport | . | Allowed sources | Both assigned IPv4 addresses and any existing authorized callers | . | Provider acceptance | Brails confirmation of the selected region and shared or dedicated address type | . | Destination reachability | IPv4 connectivity to the sandbox API through the selected route | . Confirm region and address-type acceptance with the account’s administrator or provider contact. A payment destination country does not establish an allowed server location. A dedicated address is not established as a universal Brails requirement by the linked documentation. The standard QuotaGuard subscription has two source addresses that may carry traffic. Prepare both for the relevant Brails allowlist. When adding entries, preserve any other approved backend callers. Do not replace a working set based only on one echo response. ",
    "url": "/docs/apis/brails/technical-guide/#1-establish-the-account-and-route",
    "relUrl": "/docs/apis/brails/technical-guide/#1-establish-the-account-and-route"
  },"1851": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "2. Choose the transport deliberately",
    "content": "Keep the connection URL’s scheme, hostname and port exactly as provided for your subscription. Use the dashboard connection hostname, rather than substituting one of the displayed egress addresses into the proxy URL. For destination HTTPS, Static uses an HTTP proxy and Shield uses an HTTPS proxy. Both tunnel the destination’s TLS session; Shield also encrypts the application-to-proxy hop. On the plain HTTP hop, the initial proxy authentication and destination metadata are not protected by that additional TLS layer. See QuotaGuard’s HTTPS explanation. The supplied helper deliberately accepts only HTTP and HTTPS proxy URLs. Its accepted transports are narrower than every transport listed in Deno or the general platform guide. Do not feed it a SOCKS URL, switch http to https by hand, remove certificate validation, or assume an arbitrary custom domain is accepted. ",
    "url": "/docs/apis/brails/technical-guide/#2-choose-the-transport-deliberately",
    "relUrl": "/docs/apis/brails/technical-guide/#2-choose-the-transport-deliberately"
  },"1852": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "3. Store the three server-side settings",
    "content": "Configure these values in the Supabase project that will execute the diagnostic: . | Name | Required for | Value | . | QUOTAGUARD_PROXY_URL | Both modes | Complete credential-bearing dashboard URL for the chosen HTTP or HTTPS proxy | . | QUOTAGUARD_EXPECTED_IPS | Both modes | Exactly two distinct assigned IPv4 addresses, separated by a comma | . | BRAILS_SANDBOX_API_KEY | wallets mode only | Existing Brails sandbox key the operator is authorized to use | . Supabase’s environment-variable guide covers setting hosted secrets and reading them through Deno.env.get. A local environment file does not by itself configure a hosted function. Keep real environment files out of source control, and avoid commands that place secrets in shell history. Use separate credentials for separate security boundaries. The proxy username and password authenticate the proxy connection. The Brails key authenticates the API request. The helper sends no Brails authorization header to the echo service. The account’s two addresses can be stored as configuration, but do not expose even diagnostic outputs through a public endpoint. Put only placeholder values in shared setup files. Keep the complete proxy URL out of error messages, screenshots and support tickets. ",
    "url": "/docs/apis/brails/technical-guide/#3-store-the-three-server-side-settings",
    "relUrl": "/docs/apis/brails/technical-guide/#3-store-the-three-server-side-settings"
  },"1853": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "4. Add the diagnostic helper",
    "content": "Copy code/brails-check.mjs from this packet to: . supabase/functions/_shared/brails-check.mjs . Import it into an existing operator-only diagnostic function: . import { checkBrailsSandbox } from \"../_shared/brails-check.mjs\"; . The import does not initiate a request or register an HTTP handler. Execute the helper only after the application’s existing authorization logic has established that the caller may run the chosen diagnostic. Merely putting a function behind a URL, a project key or a client-side button is not a substitute for operator authorization. The implementation uses Deno’s proxy-aware client and supplies it explicitly through the Deno fetch client option. Setting an environment variable alone does not prove a request uses that client. Review each separate SDK or background job that talks to Brails. The helper makes the diagnostic route narrow: . | Two modes: echo and wallets. | Two fixed HTTPS destinations, with no caller-controlled target URL. | An exact expected pair of IPv4 addresses. | Rejection of proxy URLs outside standard *.quotaguard.com hosts. | Redirect rejection on both requests. | A ten-second timeout signal for each request. | No retry or fallback through a direct connection. | Consumed echo data and canceled wallet response bodies before client close. | Stage-only error messages rather than credential-bearing transport details. | . The ten-second values are diagnostic budgets chosen by the helper, not provider latency commitments. The two requests are sequential and each gets its own timeout signal. See Deno’s fetch timeout example for the underlying mechanism. ",
    "url": "/docs/apis/brails/technical-guide/#4-add-the-preserved-helper",
    "relUrl": "/docs/apis/brails/technical-guide/#4-add-the-preserved-helper"
  },"1854": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "5. Verify the echo route first",
    "content": "From the authorized operator path in the deployed function, run: . const routing = await checkBrailsSandbox(\"echo\"); . This mode needs the proxy URL and expected pair but no Brails key. A successful return contains one field: . {\"echoEgressIp\":\"192.0.2.10\"} . The address shown here is illustrative, not a QuotaGuard allocation. In a real result, the helper has compared the returned IP against the two configured addresses and found a match. Record the actual result privately with the deployment revision and time. The result establishes the route observed by the echo service for that request. It does not establish which address a later connection will use, and repeatedly running the echo is not a deterministic failover test. If it fails, stop before testing Brails. Resolve configuration, transport or echo problems using the troubleshooting guide. Do not temporarily bypass the proxy just to make the diagnostic return successfully. ",
    "url": "/docs/apis/brails/technical-guide/#5-verify-the-echo-route-first",
    "relUrl": "/docs/apis/brails/technical-guide/#5-verify-the-echo-route-first"
  },"1855": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "6. Check authorized sandbox API access",
    "content": "After the echo succeeds, an operator with permission to read that Brails sandbox account can run: . const connectivity = await checkBrailsSandbox(\"wallets\"); . This repeats the echo stage and then makes the documented GET /api/v2/wallets request to the sandbox host. It returns only: . { \"echoEgressIp\": \"192.0.2.10\", \"brailsStatus\": 200, \"brailsHttpOk\": true } . The status and address above are an illustrative successful shape. The helper discards the wallet response body, including on non-success statuses. It does not return balances, wallet identifiers or provider error bodies. Read each field at its actual scope: . | Field | Meaning | . | echoEgressIp | Source IP observed by the preceding echo request | . | brailsStatus | HTTP status received from the fixed Brails sandbox URL | . | brailsHttpOk | Whether that status is in the HTTP success range | . A non-2xx Brails response is returned as data with brailsHttpOk: false; it is not automatically thrown as an exception. Transport failures and earlier validation failures throw sanitized stage errors. The calling operator path should handle both cases. The echo and Brails fetches use separate destination connections. To establish the source Brails observed, use account-side or provider-side evidence tied to the Brails request. HTTP success on this read also leaves payout correctness, transaction state and production readiness to their own checks. ",
    "url": "/docs/apis/brails/technical-guide/#6-check-authorized-sandbox-api-access",
    "relUrl": "/docs/apis/brails/technical-guide/#6-check-authorized-sandbox-api-access"
  },"1856": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "7. Carry the routing pattern into the real integration",
    "content": "Keep the sandbox diagnostic unchanged as a small, understandable check. Review the production application separately: . | Inventory all Brails call sites, including retry workers, scheduled jobs and SDK instances. | Identify the actual HTTP transport for each. A successful helper does not configure another library automatically. | Apply the selected proxy-aware client at those call sites without changing unrelated requests. | Keep the production hostname and key paired correctly. Brails documents separate base URLs. | Confirm the production account’s source list and acceptance conditions independently from sandbox. | Retain default TLS and hostname verification, bounded timeouts and controlled error reporting. | Define rollback as an application deployment/configuration decision. Do not add a silent direct fallback that defeats the approved route. | Review payment-state recovery independently. Use Brails’ payout workflow documentation, rather than treating this diagnostic as a payout implementation. | . The helper does not create payments, beneficiaries, cards or wallets. Keep those operations out of the networking smoke test. A timed-out business request may require reconciliation before any retry; a better network route does not supply those application semantics. ",
    "url": "/docs/apis/brails/technical-guide/#7-carry-the-routing-pattern-into-the-real-integration",
    "relUrl": "/docs/apis/brails/technical-guide/#7-carry-the-routing-pattern-into-the-real-integration"
  },"1857": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "8. Keep a compact operating record",
    "content": "For each deployment check, retain the environment label, revision, UTC time, proxy transport, echo result, Brails status and any provider-side request reference already available to the operator. Store that record in an access-controlled location. Do not add raw authorization headers, a credential-bearing URL, balances or wallet response bodies. Use the same distinction during support: configuration accepted, echo route observed, sandbox HTTP response received, and destination source confirmed are separate observations. That separation makes failures easier to diagnose and keeps a small routing change from becoming a broader rewrite of the payment application. Continue with the quickstart, helper reference or troubleshooting. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/brails/technical-guide/#8-keep-a-compact-operating-record",
    "relUrl": "/docs/apis/brails/technical-guide/#8-keep-a-compact-operating-record"
  },"1858": {
    "doc": "Brails API access from Supabase Edge Functions",
    "title": "Brails API access from Supabase Edge Functions",
    "content": "Keep your application on Supabase and give Brails-bound requests a stable outbound route. A selectively configured QuotaGuard client lets your frontend, database and unrelated API traffic stay on their existing paths while the Brails integration uses the addresses approved for its account. This guide adds the Brails-specific configuration and diagnostic workflow to the QuotaGuard Supabase Edge Functions guide. Use that platform guide for the general client setup. Use this guide to connect the account policy, sandbox endpoint, secret names, result interpretation and production handoff. ",
    "url": "/docs/apis/brails/technical-guide/",
    "relUrl": "/docs/apis/brails/technical-guide/"
  },"1859": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Choose the route that fits the provider",
    "content": "Laravel Cloud already offers a native starting point: its network documentation publishes regional outbound addresses and links a machine-readable IP API. Those addresses can change. If the destination accepts the regional set and your team can maintain it, that may meet your needs without a proxy. Dedicated Private Cloud compute has separate onboarding addresses. QuotaGuard is useful when selected requests should use an assigned IPv4 pair instead of maintaining the Cloud regional list. Discuss the destination’s accepted source region and shared or dedicated address requirements before provisioning. An assigned shared address is not an account-exclusive address. See shared and dedicated proxies. Use the destination’s HTTPS hostname, not a hard-coded destination IP. The addresses you register on its allowlist are the source addresses it should observe. Your website’s inbound address and an end user’s IP are separate from that source identity. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#choose-the-route-that-fits-the-provider",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#choose-the-route-that-fits-the-provider"
  },"1860": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "How the request travels",
    "content": "Laravel controller or job selected QuotaGuardHttp client QuotaGuard proxy connection one of the assigned IPv4 addresses destination HTTPS API Other HTTP client calls and database connections their existing routes . This is application-level selection, not an environment-wide egress firewall. An SDK that creates its own HTTP transport must be configured independently or replaced with a supported injectable client. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#how-the-request-travels",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#how-the-request-travels"
  },"1861": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Prepare the connection settings",
    "content": "Open Setup → Outbound Proxy → Connection Information in the intended QuotaGuard subscription. Retain the complete HTTP proxy URL and both assigned IPv4 addresses. Use the actual dashboard hostname and port. Do not substitute an example region or one of the source IPs as the proxy hostname. The connection-details guide identifies these values. Register both assigned addresses with the API provider. Traffic can use either address, so a successful request through one does not make the other optional. Why two addresses are provided explains this behavior. Confirm the destination is reachable over IPv4 and accepts the selected arrangement. The reference factory uses QuotaGuard Static with an HTTP proxy URL. For HTTPS destinations, the destination TLS session travels through CONNECT. The initial application-to-proxy connection and proxy authentication do not gain TLS merely because the destination URL starts with https://. If that extra hop must also be encrypted, use a separately reviewed Shield configuration supported by the deployed client. See how HTTPS proxying works. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#prepare-the-connection-settings",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#prepare-the-connection-settings"
  },"1862": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Configure Laravel Cloud secrets",
    "content": "Store the full connection URL as QUOTAGUARDSTATIC_URL. Keep it server-side and out of Git, browser bundles, error responses, screenshots, and logs. Cloud organization secrets must be linked to the target environment. Check for a custom environment variable with the same name, because that value takes precedence over the linked secret. Redeploy when a secret or environment value changes. These are part of Cloud’s secret behavior, not special QuotaGuard requirements. Keep staging and production settings separate. Record which subscription, pair, environment, and provider allowlist belong together without recording the full credential-bearing URL. A preview environment should not silently inherit production access merely because the configuration key has the same name. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#configure-laravel-cloud-secrets",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#configure-laravel-cloud-secrets"
  },"1863": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Read environment variables through a configuration file",
    "content": "Add the unchanged reference file code/config/quotaguard.php to config/quotaguard.php in the application: . &lt;?php return [ 'proxy_url' =&gt; env('QUOTAGUARDSTATIC_URL'), ]; . Application code should read config('quotaguard.proxy_url'), not call env() inside a controller or job. Laravel configuration caching changes when .env is read. Cloud recommends caching generated configuration during the build step, so those files are part of the deployment. Retain the application’s existing build steps. Do not replace the build command with a tutorial fragment. Include the existing php artisan optimize or agreed configuration-caching step at the appropriate point. Avoid adding a second, conflicting cache command as a troubleshooting shortcut. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#put-environment-access-in-a-configuration-file",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#put-environment-access-in-a-configuration-file"
  },"1864": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Add the selected client factory",
    "content": "Copy code/app/Support/QuotaGuardHttp.php to the matching application path. The original factory is included verbatim: . &lt;?php namespace App\\Support; use Illuminate\\Http\\Client\\PendingRequest; use Illuminate\\Support\\Facades\\Http; use RuntimeException; final class QuotaGuardHttp { public static function client(): PendingRequest { $proxy = config('quotaguard.proxy_url'); if (! is_string($proxy) || trim($proxy) === '') { throw new RuntimeException('QuotaGuard proxy is not configured.'); } if (! extension_loaded('curl')) { throw new RuntimeException('This client requires the PHP cURL extension.'); } return Http::withOptions([ 'proxy' =&gt; trim($proxy), 'curl' =&gt; [CURLOPT_NOPROXY =&gt; ''], 'allow_redirects' =&gt; false, ])-&gt;connectTimeout(10)-&gt;timeout(30); } } . The factory configures Guzzle request options through Laravel. It stops before a request if the proxy setting is missing, requires cURL, sets bounded timeouts, and disables automatic redirects. It leaves normal certificate and hostname verification enabled. The empty CURLOPT_NOPROXY is specific to the cURL handle. It prevents an ambient bypass list from skipping this selected proxy. It assumes the standard Guzzle cURL handler; a custom handler needs separate validation. See libcurl’s option contract. This compact factory does not validate every possible proxy URL format or prevent a later caller from changing its options. Keep configuration trusted, copy the exact connection URL, and do not append request options that replace the proxy. A missing-secret guard is not a general egress enforcement layer. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#add-the-selected-client-factory",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#add-the-selected-client-factory"
  },"1865": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Connect the actual integration",
    "content": "Locate the precise request constructor used by the protected API integration. If it currently starts with Http::, create that request from QuotaGuardHttp::client() instead. Preserve the provider’s existing authentication, URL, headers, payload, response handling, and transaction behavior. For example, a read-only integration service can receive the configured request object and add only the authentication and fixed endpoint its provider requires. Do not attach provider credentials to the IP echo service. Do not accept an arbitrary caller-supplied URL and forward it through the proxy. If an SDK owns the transport, inspect its documented client or handler injection points. An environment variable does not prove that the SDK uses it. Avoid global HTTP_PROXY or HTTPS_PROXY changes as a substitute for understanding which library sends the request. Do not add direct fallback after a proxy error. It can expose an unapproved source address and hide a routing problem behind occasional success. For state-changing provider requests, retries also need the provider’s idempotency and reconciliation rules; a network timeout alone does not establish that the provider did no work. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#connect-the-actual-integration",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#connect-the-actual-integration"
  },"1866": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Verify the deployed command route",
    "content": "Merge code/routes/console-snippet.php into the application’s existing routes/console.php. Keep other commands, avoid duplicate imports, and retain only one PHP opening tag. The command sends a GET to https://ip.quotaguard.com through the selected factory, reads the JSON ip field, validates IPv4, and prints only that value. Run the command through the deployed environment’s Commands tab: . php artisan quotaguard:check . A zero exit status means the command received a successful response with a valid IPv4 value. You must still compare that value with the subscription’s assigned pair. An unrelated but syntactically valid IPv4 address is not a successful route check. For an automatic pair comparison, use the additional QuotaGuardEgressProbe example described in Runtime examples. It requires both expected addresses before any request and rejects any other observed value. Cloud can run one-time commands on any available instance. This is a useful deployed check, not coverage of every application path. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#verify-the-deployed-command-route",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#verify-the-deployed-command-route"
  },"1867": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Verify web and worker paths separately",
    "content": "Create a short inventory of every path that calls the protected API: an authenticated web action, queue job, scheduled task, webhook-triggered background handler, or independent SDK. Mark which client each path constructs. Use the same selected factory in the real integration path. Run a harmless provider-approved request using the appropriate account and environment. When available, correlate the result with destination-side request logs or a provider request identifier. The echo connection and provider connection are different connections and may use different members of the assigned pair. Cloud worker clusters share code, runtime, and variables with the environment, but code still determines the transport. A queue job that creates a different client can bypass the factory even when its secrets are correct. Verify a real queued execution rather than substituting a synchronous call from an interactive shell. Repeat for scheduled work if it has a separate integration path. Keep a private record of the release identifier, environment, execution path, expected pair, observed echo IP, and provider response status. Do not retain response bodies or credentials just to prove routing. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#verify-web-and-worker-paths-separately",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#verify-web-and-worker-paths-separately"
  },"1868": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Know when the setup is ready",
    "content": "Use these acceptance criteria for the specific integration: . | The provider has accepted both assigned source IPs and the selected region and ownership arrangement. | The intended deployment has the correct secret linkage and no stale override. | The configuration-caching build retains the intended value without exposing it. | The actual HTTP transport retains the proxy and does not disable TLS verification. | The deployed command and each relevant web, worker, and scheduled path use the expected route. | Provider authentication and the harmless request succeed independently of the echo result. | Missing configuration and connection failures do not trigger a direct retry. | . Keep the operational details in the rotation and release runbook. For general PHP setup, use the existing PHP quick start; this guide adds the Laravel Cloud deployment and execution-path details. Download the reference examples · Integration overview . ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/#know-when-the-setup-is-ready",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/#know-when-the-setup-is-ready"
  },"1869": {
    "doc": "Static outbound IPs for selected Laravel Cloud API calls",
    "title": "Static outbound IPs for selected Laravel Cloud API calls",
    "content": "Keep your application on Laravel Cloud while giving an IP-restricted API a small, stable set of source addresses. Configure one Laravel HTTP client for that integration, keep its credentials in the correct Cloud environment, and check the route from the code paths that actually send requests. The practical benefit is a focused networking change. Your API integration can use QuotaGuard while unrelated HTTP calls, browser traffic, and database connections keep their existing paths. The same client can be reused by controllers, queued jobs, and scheduled tasks. ",
    "url": "/docs/platforms/laravel-cloud/technical-guide/",
    "relUrl": "/docs/platforms/laravel-cloud/technical-guide/"
  },"1870": {
    "doc": "Setting up Postman with QG Shield & QG Static",
    "title": "Setting up Postman with QG Shield & QG Static",
    "content": "Let’s get the bad news out of the way first…unfortunately, Postman does not support HTTPS proxies. Since QuotaGuard Shield is an HTTPS proxy, we’re out of luck to use Shield. However, Postman does supports HTTP proxies - which allow HTTP and HTTPS traffic through them. Thankfully, QuotaGuard Static is an HTTP proxy. To make this work, you need to run Postman using our QGPass software. QGPass opens up an unathenticated HTTP proxy locally that Postman can then connect to. Then, QGPass sends the traffic onwards to our proxies using HTTPS. Here’s how to get this working: . | Download QGPass. For linux curl https://s3.amazonaws.com/quotaguard/qgpass-latest.tar.gz | tar xz . For mac: curl https://quotaguard.s3.amazonaws.com/qgpass-1.1.0-darwin.tar.gz | tar xz . | Run qgpass. QUOTAGUARDSHIELD_URL={your connection url} ./bin/qgpass sleep 100000 . | Run Postman. | . In Postman, connect to a proxy (no username/password) at localhost on port 8080. If you hit any snags, as always, reach out to us at Support. Happy Tunneling! . ",
    "url": "/docs/inbound-shield/testing-with-postman/",
    "relUrl": "/docs/inbound-shield/testing-with-postman/"
  },"1871": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "The response explicitly rejects the source IP",
    "content": "Razorpay documents this error: . Transactions from this IP are not allowed. Contact support for help. The RazorpayX error reference associates it with a caller whose source IP is not allowlisted. First identify which process produced the failed request. Run a non-mutating source-IP diagnostic through that process’s actual proxy-aware client, or a transport-equivalent test. Compare the result with the assigned dashboard pair and the provider-side configuration. If the observed source is outside the pair, investigate the route rather than repeatedly editing the allowlist. If it matches the pair, check the account and environment, confirm the saved configuration, and provide the account owner or provider support with sanitized evidence. A matching IP alone does not establish that every other account requirement has been met. Do not infer the cause from the HTTP status alone. Use the response description and provider documentation; several unrelated failures can share a status family. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#the-response-explicitly-rejects-the-source-ip",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#the-response-explicitly-rejects-the-source-ip"
  },"1872": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "Local tests pass but the deployed application fails",
    "content": "A laptop, CI runner, web container, and background worker can all use different networks. Identify where the passing test ran and where the failure occurred. Check that the production service received the intended proxy URL, that it restarted or redeployed as required, and that the actual HTTP library consumes the setting. Inspect for an old deployment or a different secret name. Use the service’s secret-management interface to compare configuration references without printing secret values. Run the diagnostic inside the deployed caller, not just in a build step. A source-IP check from CI establishes CI egress, which may be unrelated to the running service. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#local-tests-pass-but-the-deployed-application-fails",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#local-tests-pass-but-the-deployed-application-fails"
  },"1873": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "The web process works but a worker or cron job fails",
    "content": "Treat the worker as its own deployment. Confirm its secret attachment, startup configuration, client factory, and library version. A shared repository does not guarantee a shared environment. Look for a code path that constructs a fresh direct client inside a job. Replace only that integration’s transport configuration through the normal application review process. Do not globally proxy unrelated jobs in an attempt to hide an incomplete caller inventory. After the change, verify the worker and the scheduled job independently. Record the process names alongside their results so the next release can repeat the same checks. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#the-web-process-works-but-a-worker-or-cron-job-fails",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#the-web-process-works-but-a-worker-or-cron-job-fails"
  },"1874": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "Failures appear intermittent",
    "content": "Group the failures by caller, deployment, and time before assuming that the provider is inconsistent. Typical routing hypotheses include one unconfigured worker, an old deployment still consuming a queue, a scheduled task with different secrets, or only one member of an egress pair being accepted. Check that both assigned addresses are in the intended allowlist. Repeated diagnostics can use the same address because of connection reuse or routing behavior; they do not prove the other address is unnecessary. Do not force a production outage to prove failover. If the team needs a failover exercise, define the test and rollback procedure with the relevant service owners and run it under explicit authorization. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#failures-appear-intermittent",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#failures-appear-intermittent"
  },"1875": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "The proxy returns an authentication error",
    "content": "Check the QuotaGuard connection URL and selected subscription. A proxy authentication failure concerns the proxy credentials, not the destination API’s credentials. Look for a rotation that updated the web service but not a worker, a malformed manually assembled URL, or stale configuration in a long-lived process. Prefer the complete URL supplied by the dashboard rather than rebuilding it from unescaped pieces. Do not enable verbose logging that exposes the full URL. If a secret was disclosed, follow the approved rotation process, deploy the replacement to every caller, and verify the new configuration without logging it. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#the-proxy-returns-an-authentication-error",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#the-proxy-returns-an-authentication-error"
  },"1876": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "The request times out before a usable API response",
    "content": "Separate connection to the proxy from the HTTPS tunnel and the destination request. Check the proxy host and port from the actual runtime, outbound network restrictions, name resolution, and client timeout configuration. Use the non-mutating diagnostic to narrow the issue. A successful IP check shows that its particular route worked, but a destination-specific block or failure can still exist. A failed IP check is also not proof that Razorpay is unavailable. Do not let an exception handler retry directly. That changes the route at the exact point where the application has lost visibility into the outcome. A financial operation with an uncertain response requires reconciliation under its own documented retry rules. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#the-request-times-out-before-a-usable-api-response",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#the-request-times-out-before-a-usable-api-response"
  },"1877": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "TLS verification fails",
    "content": "Check the destination hostname, certificate trust store, runtime clock, and any approved corporate interception or custom CA configuration. Keep verification enabled while investigating. For the Python example, trust_env = False intentionally prevents ambient environment settings from changing the client. If your environment requires an approved custom CA file, configure it explicitly using the client’s documented option. Do not use verify=False or disable Node’s certificate verification as a production fix. The destination TLS session and the transport to the proxy are different layers. An HTTP proxy URL can carry an HTTPS CONNECT tunnel, but the initial proxy hop itself is not TLS-protected. Review the required architecture rather than treating all URLs containing “http” as the same connection. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#tls-verification-fails",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#tls-verification-fails"
  },"1878": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "The IP diagnostic works but the SDK still fails",
    "content": "Compare the two transports. An example using Node’s https.get with an agent does not configure built-in fetch or a vendor SDK. A Python Session passed to one helper does not affect code that creates another Session. Find the SDK’s documented way to supply a transport, adapter, agent, or proxy setting. Add route verification at that boundary. If the SDK offers no suitable extension, evaluate a supported direct HTTP integration or another approved network architecture rather than assuming global proxy variables will work. Keep authentication and request semantics intact when changing the transport. Do not treat a networking change as authorization to rewrite financial-operation logic. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#the-ip-diagnostic-works-but-the-sdk-still-fails",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#the-ip-diagnostic-works-but-the-sdk-still-fails"
  },"1879": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "An authentication or permission error remains",
    "content": "Once you have evidence of the correct route, investigate credentials, account permissions, the selected environment, and the specific operation’s requirements. Use the provider’s error description to select the next check. Proxy credentials and destination credentials are independent. Swapping them, sending both to a diagnostic endpoint, or weakening the allowlist will not repair an account authorization problem. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#an-authentication-or-permission-error-remains",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#an-authentication-or-permission-error-remains"
  },"1880": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "A payload or payout state error remains",
    "content": "Review the request against the operation’s current documentation and reconcile any existing operation before retrying. The source address does not determine whether a request body is valid or whether an operation can move from its current state. Preserve the application’s idempotency behavior during network changes. Do not create new financial requests to find out whether an earlier request succeeded. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#a-payload-or-payout-state-error-remains",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#a-payload-or-payout-state-error-remains"
  },"1881": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "The observed IP is correct but access is still denied",
    "content": "Recheck the provider account, environment, saved allowlist, and precise error description. Confirm that the failing request used the same reviewed transport as the diagnostic. Then escalate with a concise, sanitized record: . Account reference approved for support: Environment and deployment identifier: Caller and HTTP client: Failure timestamp with timezone: Destination host and method: HTTP status and sanitized provider description: Observed source IP from that caller: Assigned pair and saved allowlist comparison: Recent deployment or secret rotation: . Do not attach financial payloads, customer personal data, full headers, authenticated URLs, API secrets, or raw stack traces without reviewing and redacting them. Share only the information needed to investigate through the approved support channel. ",
    "url": "/docs/apis/razorpayx/troubleshooting/#the-observed-ip-is-correct-but-access-is-still-denied",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#the-observed-ip-is-correct-but-access-is-still-denied"
  },"1882": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "Restore service without bypassing the intended route",
    "content": "A safe recovery is a controlled pause, queue handling under the application’s design, or a reviewed return to a previously approved egress configuration. Avoid removing the allowlist or enabling an automatic direct fallback to get a green health check. After recovery, repeat a non-mutating check from each affected caller and document what changed. Keep the network result distinct from the application’s financial reconciliation result. Both can matter, but they answer different questions. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/razorpayx/troubleshooting/#restore-service-without-bypassing-the-intended-route",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/#restore-service-without-bypassing-the-intended-route"
  },"1883": {
    "doc": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "title": "Troubleshoot Outbound IP Problems in a RazorpayX Integration",
    "content": "Start with the failing request’s caller and error description. This runbook helps separate source-IP authorization, proxy connectivity, API authentication, and application-state problems without using a live financial operation as a diagnostic. Capture the process name, deployment version, time, destination host, HTTP status if available, and a sanitized error description. Exclude API keys, proxy URLs, account data, and payout payloads from the working notes. ",
    "url": "/docs/apis/razorpayx/troubleshooting/",
    "relUrl": "/docs/apis/razorpayx/troubleshooting/"
  },"1884": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Read the helper’s result correctly",
    "content": "| Result | Where to start | . | configuration check failed; review configuration privately. | Input validation or client creation | . | IP echo check failed; review configuration privately. | Echo request, response parsing or source-IP comparison | . | Brails sandbox check failed; review configuration privately. | Sandbox transport or response-body cleanup | . | brailsHttpOk: false with a status | An HTTP response arrived from the Brails destination | . | brailsHttpOk: true | The sandbox HTTP request returned a success status | . The stage errors deliberately hide the underlying transport exception. A stage identifies the part of the helper that failed, not a complete root-cause diagnosis. The original helper does not report a distinct timeout, TLS or proxy-authentication error classification. ",
    "url": "/docs/apis/brails/troubleshooting/#read-the-helpers-result-correctly",
    "relUrl": "/docs/apis/brails/troubleshooting/#read-the-helpers-result-correctly"
  },"1885": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Configuration failure",
    "content": " ",
    "url": "/docs/apis/brails/troubleshooting/#configuration-failure",
    "relUrl": "/docs/apis/brails/troubleshooting/#configuration-failure"
  },"1886": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Check required settings in the deployed function",
    "content": "The helper reads QUOTAGUARD_PROXY_URL and QUOTAGUARD_EXPECTED_IPS for either mode. wallets also requires BRAILS_SANDBOX_API_KEY before any fetch is attempted. Confirm the correct Supabase project has those values. Do not print the values to prove they exist. Check the exact variable names. The general QuotaGuard guide uses other example names in places; this helper only reads the three names above. A similarly named secret does not satisfy the check. Follow Supabase’s secret-setting guidance for hosted configuration. ",
    "url": "/docs/apis/brails/troubleshooting/#check-presence-in-the-deployed-environment",
    "relUrl": "/docs/apis/brails/troubleshooting/#check-presence-in-the-deployed-environment"
  },"1887": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Check the proxy URL shape",
    "content": "The parser requires: . | http: or https: as the scheme. | A hostname ending in .quotaguard.com. | A username and password in the URL. | No path other than /, and no query or fragment. | . Use the subscription’s complete dashboard URL. Do not paste a bare IP address, a website URL, a SOCKS endpoint or a custom proxy hostname into this helper without a deliberate adaptation review. Credentials containing special characters must retain their proper URL encoding. The helper decodes the parsed username and password once before passing them to proxy authentication. If the URL parses but client creation is unavailable or fails, the error still belongs to the configuration stage. Confirm the deployed runtime supports the selected Deno HTTP client configuration. A Node syntax check alone cannot establish that runtime capability. ",
    "url": "/docs/apis/brails/troubleshooting/#check-the-proxy-url-shape",
    "relUrl": "/docs/apis/brails/troubleshooting/#check-the-proxy-url-shape"
  },"1888": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Check the expected addresses",
    "content": "The helper requires exactly two distinct IPv4 values after trimming whitespace. A duplicate address, a third value, an empty value, an IPv6 literal or an octet above 255 is rejected. Copy the pair from the same subscription as the connection URL. Avoid using documentation example addresses as live configuration. ",
    "url": "/docs/apis/brails/troubleshooting/#check-the-expected-addresses",
    "relUrl": "/docs/apis/brails/troubleshooting/#check-the-expected-addresses"
  },"1889": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "IP echo failure",
    "content": " ",
    "url": "/docs/apis/brails/troubleshooting/#ip-echo-failure",
    "relUrl": "/docs/apis/brails/troubleshooting/#ip-echo-failure"
  },"1890": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "The echo request never completes successfully",
    "content": "The cause could be proxy reachability, proxy authentication, the selected transport, destination access, TLS, a timeout or an unexpected response. Investigate with authorized runtime and provider tooling while keeping credentials redacted. A proxy authentication failure is different from Brails authorization. If trusted tooling specifically identifies a proxy 407, start with the proxy credentials and connection URL. The helper itself may surface a proxy handshake failure only as its sanitized stage exception; do not expect every proxy error to appear as an ordinary response status. Keep the actual dashboard scheme and port paired. For HTTPS destinations, Static and Shield differ on the outer connection. Switching a URL’s scheme without switching to the correct endpoint can create a protocol mismatch. Do not disable certificate verification to make a TLS failure disappear. Confirm the host, deployment trust configuration and supported protocol instead. ",
    "url": "/docs/apis/brails/troubleshooting/#the-echo-request-never-completes-successfully",
    "relUrl": "/docs/apis/brails/troubleshooting/#the-echo-request-never-completes-successfully"
  },"1891": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "The echo returns a different IP",
    "content": "The helper rejects the result and does not send the Brails key. Check that: . | The connection URL and expected pair belong to the same subscription. | You are inspecting the same project and deployment revision that ran the check. | The secret values are not stale after a route change. | The returned response is the documented echo JSON shape. | . Do not add an unexpected address to Brails just because it appeared in a failed diagnostic. First establish the authorized route and why the expected pair differs. ",
    "url": "/docs/apis/brails/troubleshooting/#the-echo-returns-a-different-ip",
    "relUrl": "/docs/apis/brails/troubleshooting/#the-echo-returns-a-different-ip"
  },"1892": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "The response is not parseable JSON",
    "content": "An HTML error document, a redirect or another unexpected response is not an acceptable routing result. The helper rejects redirects and requires an ip property matching the expected pair. Investigate the selected proxy and echo destination rather than removing validation. ",
    "url": "/docs/apis/brails/troubleshooting/#the-response-is-not-parseable-json",
    "relUrl": "/docs/apis/brails/troubleshooting/#the-response-is-not-parseable-json"
  },"1893": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "One address appears every time",
    "content": "This is not sufficient evidence of broken failover. The two-address design allows either source; repeated requests do not guarantee a particular distribution. Keep both approved. A controlled failover exercise needs a separately planned procedure and evidence, not a loop that assumes the next request must use the other address. ",
    "url": "/docs/apis/brails/troubleshooting/#one-address-appears-every-time",
    "relUrl": "/docs/apis/brails/troubleshooting/#one-address-appears-every-time"
  },"1894": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Echo succeeds but Brails access does not",
    "content": " ",
    "url": "/docs/apis/brails/troubleshooting/#echo-succeeds-but-brails-access-does-not",
    "relUrl": "/docs/apis/brails/troubleshooting/#echo-succeeds-but-brails-access-does-not"
  },"1895": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Distinguish helper errors from HTTP error responses",
    "content": "A thrown Brails sandbox stage error means the helper did not return a usable final result. A returned brailsHttpOk: false means an HTTP response was received. Treat those as different observations in your incident notes. In either case, an echo success proves only the echo route. The Brails connection has its own destination, provider policy and possible source selection. Obtain destination-side evidence where available. ",
    "url": "/docs/apis/brails/troubleshooting/#first-separate-the-failure-shapes",
    "relUrl": "/docs/apis/brails/troubleshooting/#first-separate-the-failure-shapes"
  },"1896": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Check environment and account pairing",
    "content": "The helper’s destination is fixed to: . https://sandboxapi.onbrails.com/api/v2/wallets . Use an authorized sandbox key for that account. A production key, another company’s sandbox key or a stale key is not a substitute. Brails documents environment-specific credentials and separate API base URLs. Do not convert this diagnostic to production by changing its URL during troubleshooting. Keep a small, known sandbox check and review the production application separately. ",
    "url": "/docs/apis/brails/troubleshooting/#check-environment-and-account-pairing",
    "relUrl": "/docs/apis/brails/troubleshooting/#check-environment-and-account-pairing"
  },"1897": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Check the account’s source-IP policy",
    "content": "Confirm both allocated addresses appear in the appropriate account/environment when allowlisting is enabled. Verify the selected source region and shared or dedicated address type are acceptable for the account. Do not assume that a supported payout country answers those networking questions. A returned 401 or 403 alone does not prove the root cause is IP rejection. It can require authentication or account-policy investigation. The linked Brails documentation does not justify an invented one-to-one error map for this helper. ",
    "url": "/docs/apis/brails/troubleshooting/#check-the-accounts-source-ip-policy",
    "relUrl": "/docs/apis/brails/troubleshooting/#check-the-accounts-source-ip-policy"
  },"1898": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Handle rate or service failures without creating a retry storm",
    "content": "If authorized evidence identifies rate limiting or a provider service problem, follow the provider’s guidance and your application’s retry policy. The helper does not retry. Repeatedly rerunning it at high frequency creates more traffic without establishing the original cause. For a production money-moving operation, determine transaction state before retrying. This packet intentionally uses a read diagnostic so network investigation does not create a second payment. ",
    "url": "/docs/apis/brails/troubleshooting/#handle-rate-or-service-failures-without-creating-a-retry-storm",
    "relUrl": "/docs/apis/brails/troubleshooting/#handle-rate-or-service-failures-without-creating-a-retry-storm"
  },"1899": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Verify production clients after a successful sandbox read",
    "content": "The wallet endpoint is a read. This helper cancels its body and reports HTTP-level status only. It does not parse the provider’s business response, validate a payout, confirm settlement, or establish the source seen by Brails. If the helper succeeds but the application fails, inspect the failing application’s actual client. It may use a separate SDK, an unconfigured background job, a direct fetch or a different environment. Compare call-site configuration rather than adding more retries to the successful helper. ",
    "url": "/docs/apis/brails/troubleshooting/#a-successful-read-still-needs-a-production-handoff",
    "relUrl": "/docs/apis/brails/troubleshooting/#a-successful-read-still-needs-a-production-handoff"
  },"1900": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Collect a useful private support record",
    "content": "Include only what is needed: . | UTC timestamp and environment label. | Supabase function/deployment revision. | Helper mode and the sanitized error stage or returned status. | HTTP or HTTPS proxy transport and the subscription label. | Whether the echo address matched the configured pair. | Whether both addresses are approved for the relevant Brails account. | Any request reference already available from provider-side records. | . Omit secrets, the complete connection URL, raw request headers, wallet data and customer information. If provider-side source evidence is unavailable, say that the source Brails observed remains unconfirmed. Do not substitute the echo IP for that missing observation. For the normal setup sequence, return to the quickstart or technical guide. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/brails/troubleshooting/#collect-a-useful-private-support-record",
    "relUrl": "/docs/apis/brails/troubleshooting/#collect-a-useful-private-support-record"
  },"1901": {
    "doc": "Troubleshoot the Supabase-to-Brails diagnostic",
    "title": "Troubleshoot the Supabase-to-Brails diagnostic",
    "content": "Find the failing stage without exposing credentials or weakening the account’s controls. The helper separates configuration, IP echo and Brails sandbox work so you can investigate the narrowest relevant part of the route. Start with the exact helper result, the function revision and the environment. Keep the full proxy URL, Brails token and wallet response bodies out of logs and tickets. ",
    "url": "/docs/apis/brails/troubleshooting/",
    "relUrl": "/docs/apis/brails/troubleshooting/"
  },"1902": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "Start with the observed result",
    "content": "| Observation | First place to investigate | . | Proxy connection, DNS, or TLS error | Runtime network access and proxy configuration | . | Proxy authentication failure | QuotaGuard proxy username, password, and connection URL | . | IP checker returns an unexpected address | The exact client, proxy settings, and bypass behavior | . | SendGrid rejects the request for an IP restriction | Assigned pair, SendGrid allowlist, and actual calling process | . | API authentication or permission error | SendGrid API key and required scope | . | Mail Send payload validation error | Request fields, data types, sender, and recipient configuration | . | Sandbox returns HTTP 200 | Validation succeeded; no delivery should occur | . | Live request returns HTTP 202 | Submission accepted; inspect the delivery pipeline | . | Some jobs work while others fail | Different workers, versions, runtimes, or network paths | . Status codes alone are not a complete diagnosis. Correlate a failure with the request time, the sanitized error category, the originating runtime, and SendGrid’s account-side information. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#start-with-the-observed-result",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#start-with-the-observed-result"
  },"1903": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "The IP check does not match the dashboard",
    "content": "Run the check from the actual sending runtime with explicit proxy configuration. Compare the result to both assigned QuotaGuard addresses. Check these common causes: . | The secret is present but the HTTP client never uses it. | A queue worker has a different environment from the web process. | A second library opens the real SendGrid request. | An ambient NO_PROXY or client-specific bypass changes the route. | A new deployment has not restarted the relevant processes. | The addresses copied into the expected-IP check belong to another subscription. | . Do not add the unexpected address to SendGrid merely to make the test pass. Establish why the request used it first. A successful IP check made by curl only proves curl’s egress configuration. Repeat the relevant check through the production client’s transport before concluding that the application uses the same route. QuotaGuard verification guidance . ",
    "url": "/docs/apis/sendgrid/troubleshooting/#the-ip-check-does-not-match-the-dashboard",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#the-ip-check-does-not-match-the-dashboard"
  },"1904": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "Only one QuotaGuard IP appears in repeated checks",
    "content": "Use the assigned pair from the dashboard as the source of truth. A short run can reuse connections or select the same proxy path repeatedly, so it may not show every possible assigned address. Allow both assigned IPs. Do not manually select just the observed address or remove the other to simplify the list. A configuration that depends on seeing only one address can become intermittent when the outbound path changes. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#only-one-quotaguard-ip-appears-in-repeated-checks",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#only-one-quotaguard-ip-appears-in-repeated-checks"
  },"1905": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "SendGrid rejects an IP after the proxy check passes",
    "content": "Confirm that the SendGrid call uses the same client configuration as the IP check. The checker must not be a separate utility with settings the sending library ignores. Then inspect: . | Both assigned addresses in SendGrid’s allowlist. | The SendGrid account or subuser used by the failing key. | The region and API endpoint configured by that client. | Every process that can send email, including retries and scheduled jobs. | Recent access attempts near the failure time. | . SendGrid’s access-attempt view includes source IP and method information. Use it as evidence to identify the caller, not as a list to approve in bulk. SendGrid IP Access Management . ",
    "url": "/docs/apis/sendgrid/troubleshooting/#sendgrid-rejects-an-ip-after-the-proxy-check-passes",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#sendgrid-rejects-an-ip-after-the-proxy-check-passes"
  },"1906": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "The proxy rejects authentication or cannot be reached",
    "content": "Copy the full HTTP proxy URL from the correct QuotaGuard subscription. Check that it has not been truncated, URL-decoded incorrectly, or copied with surrounding whitespace. Verify that the runtime permits an outbound connection to the proxy host and port. If the application runs behind a separate firewall or network policy, that policy still needs to permit the proxy connection. Keep the proxy credentials separate from the SendGrid key. Replacing the proxy password with an API key cannot authenticate the proxy. After rotating the QuotaGuard password, update every sending runtime that uses the connection. Restart or redeploy clients whose connection configuration was loaded only at process startup. Do not print the full URL while debugging. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#the-proxy-rejects-authentication-or-cannot-be-reached",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#the-proxy-rejects-authentication-or-cannot-be-reached"
  },"1907": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "A TLS verification error appears",
    "content": "Check the destination hostname, proxy URL, runtime trust store, and system time. The examples keep certificate verification enabled. HTTPX with trust_env=False ignores ambient certificate configuration as well as ambient proxy settings. If your organization requires a custom CA bundle, provide an approved SSL context explicitly. Do not set verify=False or use curl’s insecure option as a production fix. HTTPX environment variables . The proxy URL scheme describes the client-to-proxy transport. It does not become https merely because the final destination is an HTTPS API. Use the exact QuotaGuard Static connection supplied for the account. HTTPX proxy transport explanation . ",
    "url": "/docs/apis/sendgrid/troubleshooting/#a-tls-verification-error-appears",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#a-tls-verification-error-appears"
  },"1908": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "SendGrid reports an API authentication or scope problem",
    "content": "Confirm that SENDGRID_API_KEY is set in the sending process and belongs to the intended SendGrid account. Check that it is current and has the operation’s required permissions. For a mail-only worker, use the required Mail Send scope rather than assigning full account access. Adding more IPs does not repair a revoked key or a missing permission. SendGrid API keys . Avoid copying API keys into terminal commands, screenshots, tickets, or shared logs. If a credential has been exposed, rotate it through your normal security process and update all affected runtimes. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#sendgrid-reports-an-api-authentication-or-scope-problem",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#sendgrid-reports-an-api-authentication-or-scope-problem"
  },"1909": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "The sandbox check succeeds but no email arrives",
    "content": "That is the expected behavior. With mail_settings.sandbox_mode.enable set to true, SendGrid validates the request without delivery. There should not be Email Activity or Event Webhook events for that sandbox request. SendGrid sandbox mode . To evaluate delivery, obtain approval for one live recipient and submit a controlled non-sandbox message. Keep the subject and recipient clearly identifiable to the people reviewing the test. Do not switch production traffic to live mode as a way to investigate a request-formatting problem. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#the-sandbox-check-succeeds-but-no-email-arrives",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#the-sandbox-check-succeeds-but-no-email-arrives"
  },"1910": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "The live request returns HTTP 202 but delivery is missing",
    "content": "Treat HTTP 202 as an accepted submission. Review SendGrid’s email activity and your event-processing information for the message. Check the configured sender, recipients, suppression behavior, and other delivery-side signals. Mail Send reference . QuotaGuard controls the application request’s egress path. It does not replace SendGrid’s delivery infrastructure or repair an email reputation problem. Keep API routing diagnostics separate from deliverability diagnostics so that a successful network path is not changed unnecessarily. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#the-live-request-returns-http-202-but-delivery-is-missing",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#the-live-request-returns-http-202-but-delivery-is-missing"
  },"1911": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "A request times out and the application wants to retry",
    "content": "First decide whether the request could already have reached SendGrid. A connection failure before a request is submitted and a lost response after submission have different duplicate-send risks. The supplied examples make no automatic retry. In a production worker, use bounded retries and internal job tracking appropriate to your notification requirements. Record the uncertain state and inspect available evidence before replaying a live message. Do not assume a timed-out send was rejected. For sustained failures, pause or slow the affected queue under your operational policy instead of repeatedly generating uncertain submissions. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#a-request-times-out-and-the-application-wants-to-retry",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#a-request-times-out-and-the-application-wants-to-retry"
  },"1912": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "The administrator cannot access the SendGrid UI",
    "content": "Your browser and application can have different outbound addresses. The QuotaGuard settings inside a worker do not route the administrator’s browser. Use an already approved administrator network if available. If the account is locked out, contact SendGrid support using its account-recovery process. Avoid deleting the last working allowed address while attempting a repair. SendGrid lockout guidance . For prevention, document a stable administrator route before changing restrictions and verify it after the change. An open browser tab is not a substitute for an allowed future login path. ",
    "url": "/docs/apis/sendgrid/troubleshooting/#the-administrator-cannot-access-the-sendgrid-ui",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#the-administrator-cannot-access-the-sendgrid-ui"
  },"1913": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "Collect a useful support bundle",
    "content": "Provide the following through your approved support channel: . | UTC timestamp and approximate duration of the failed attempt. | Application platform and the specific process or worker. | Language, HTTP client, and relevant package versions. | Whether the failure was an IP check, sandbox request, or live request. | Expected assigned IPs and observed source IP, where appropriate for the channel. | HTTP status or sanitized error category. | Whether both assigned addresses are allowed and administrator access still works. | Recent deployment, secret rotation, or network-policy changes. | . Do not include the proxy password, full credential-bearing connection URL, API key, authorization headers, message content, or unnecessary recipient data. If support needs a more detailed trace, agree on a restricted collection and redaction method first. Download the reference examples · Integration overview . ",
    "url": "/docs/apis/sendgrid/troubleshooting/#collect-a-useful-support-bundle",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/#collect-a-useful-support-bundle"
  },"1914": {
    "doc": "Troubleshoot SendGrid API access through QuotaGuard",
    "title": "Troubleshoot SendGrid API access through QuotaGuard",
    "content": "Start by identifying which connection failed. Your application first connects through the QuotaGuard proxy to the SendGrid HTTPS API. SendGrid then handles a separate email-delivery process. A successful API request does not establish delivery, and an undelivered email does not by itself indicate a proxy problem. Use the checks below to narrow the issue without broadening access or exposing credentials. ",
    "url": "/docs/apis/sendgrid/troubleshooting/",
    "relUrl": "/docs/apis/sendgrid/troubleshooting/"
  },"1915": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "The “QuotaGuard proxy is not configured” error appears",
    "content": "The selected factory did not receive a nonempty quotaguard.proxy_url value. It stopped before sending a request. Check that config/quotaguard.php exists in the deployed code. Confirm QUOTAGUARDSTATIC_URL is linked to the correct Cloud environment, then inspect whether a custom variable with the same name overrides the organization secret. Redeploy after correcting the setting. Do not print config('quotaguard.proxy_url') to prove it exists. If the application caches configuration, review the build process. Reading env() directly from runtime code can behave differently after caching. Keep environment access in configuration files and use config() in the factory. Laravel configuration caching explains the behavior. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#the-proxy-is-not-configured-error-appears",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#the-proxy-is-not-configured-error-appears"
  },"1916": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "A credential rotation still uses the previous connection",
    "content": "A changed organization secret does not override an identically named custom environment variable. Remove or correct the stale override through the authorized environment workflow and redeploy. Also confirm you changed the secret linked to this environment rather than a similarly named staging secret. Check the release actually reached the relevant app and worker environment. Do not infer that a saved settings screen changed a process already serving requests. Follow Cloud’s secret and precedence rules. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#a-credential-rotation-still-uses-the-previous-connection",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#a-credential-rotation-still-uses-the-previous-connection"
  },"1917": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "The command shows an unexpected IPv4 address",
    "content": "Do not count a 200 response as a passing route check. Compare the address with the assigned pair from the intended subscription. Confirm that the deployed command uses QuotaGuardHttp::client(). Check for a custom Guzzle handler, request options that overwrite proxy, or a different SDK path. The example’s empty CURLOPT_NOPROXY applies to the cURL handle; it is not a guarantee for another transport. Review libcurl bypass behavior. Also check whether the expected pair came from the wrong subscription or a previous shared-to-dedicated migration. Correct the configuration reference rather than accepting an arbitrary echoed value. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#the-command-shows-an-unexpected-ipv4-address",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#the-command-shows-an-unexpected-ipv4-address"
  },"1918": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "The echo passes but the API rejects the request",
    "content": "The echo and the API are different requests. Confirm the API path uses the same configured client. Then confirm both assigned addresses are present in the correct provider environment’s allowlist. If the source is accepted, review API credentials, account permissions, destination hostname, versioned path, headers, request data, and provider-specific responses. A matching source IP does not establish API authorization or business success. Ask the provider for a request correlation or observed source where available rather than assigning every 403 to an IP failure. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#the-echo-passes-but-the-api-rejects-the-request",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#the-echo-passes-but-the-api-rejects-the-request"
  },"1919": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "Some calls succeed and others fail",
    "content": "First split failures by execution path and destination. Does the same service create requests in controllers and jobs, or does one path use a new Http instance or SDK? Does one hostname redirect to another? Do failures occur only when an address missing from the allowlist is selected? . Register both assigned addresses. Repeated echo calls may keep showing the same one and do not prove that failover or balancing can never use the other. Do not generate a large stream of diagnostic traffic hoping to force a second address. QuotaGuard’s two-address guidance makes the registration requirement explicit. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#some-calls-succeed-and-others-fail",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#some-calls-succeed-and-others-fail"
  },"1920": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "Web requests pass but queue jobs fail",
    "content": "Cloud workers share their environment’s code and variables, but jobs can construct their own transport. Check the actual job service, queue connection, worker process, and release. A diagnostic dispatched to a sync connection only ran inline. Use the real queue diagnostic and wait for completion in private worker logs. A successful dispatch is not proof that the worker ran. Cloud handles queue-worker restarts during deployment; avoid adding redundant restart commands as a first response. Cloud workers documents that lifecycle. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#web-requests-pass-but-queue-jobs-fail",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#web-requests-pass-but-queue-jobs-fail"
  },"1921": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "The queue diagnostic never completes",
    "content": "Inspect the configured queue, whether a worker consumes it, failed-job state, and the worker’s existing timeout and retry policy. Check for an application bootstrap or dependency error before blaming networking. The example job’s one attempt is deliberate so a diagnostic does not repeatedly send traffic in the background. If the diagnostic logged a success, that covers the worker echo path. It still does not prove that the actual business job calls the provider through the same client. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#the-queue-diagnostic-never-completes",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#the-queue-diagnostic-never-completes"
  },"1922": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "The proxy returns an authentication failure",
    "content": "Review the full current dashboard connection URL, including hostname, port, and credentials. Preserve percent-encoded components rather than manually rebuilding the URL. Check that the configured subscription and product match the chosen client transport. Keep the full URL private. A proxy authentication response is a different stage from a destination API authentication response. Use the source of the status and private logs to distinguish them. Do not send the provider’s Bearer token as proxy credentials or the proxy password as API authentication. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#the-proxy-returns-an-authentication-failure",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#the-proxy-returns-an-authentication-failure"
  },"1923": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "The request times out",
    "content": "A timeout alone does not identify the cause. Separate inability to reach the proxy from a slow destination or a request that the destination may already have processed. Review proxy host and port, destination DNS and IPv4 reachability, selected region, TLS, and the provider’s availability. Keep bounded timeouts. Increasing them indefinitely makes a worker harder to recover. For writes, use the provider’s documented idempotency and transaction lookup process before retrying. Never assume a timed-out write is safe to repeat through a direct connection. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#the-request-times-out",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#the-request-times-out"
  },"1924": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "The response is a redirect",
    "content": "The example deliberately disables automatic redirects. Inspect the destination and choose the provider’s documented final HTTPS endpoint. A redirect may change the hostname or authorization boundary. Do not globally enable redirects just to silence a diagnostic failure. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#the-response-is-a-redirect",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#the-response-is-a-redirect"
  },"1925": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "TLS or certificate validation fails",
    "content": "Leave certificate and hostname verification enabled. Review the destination hostname, certificate chain, client trust store, PHP/cURL build, and whether the selected proxy protocol is supported. Do not fix a TLS error with verify =&gt; false or withoutVerifying(). Static and Shield have different application-to-proxy transport requirements. Switching a URL’s scheme or port by guesswork is not a migration procedure. Use the actual dashboard settings and a supported client configuration. HTTPS proxying guidance describes the distinction. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#tls-or-certificate-validation-fails",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#tls-or-certificate-validation-fails"
  },"1926": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "What to include when requesting help",
    "content": "Prepare a sanitized record with the environment, UTC time window, release identifier, PHP and cURL versions, Guzzle version from the lockfile, product and proxy protocol, destination hostname, execution path, status category, and whether both assigned addresses are approved. State which evidence came from an echo request and which came from the destination. Never include the full proxy URL, API key, raw request body, raw exception stack, or confidential response data in a public issue. If a support engineer needs additional diagnostics, agree on a private, redacted collection method first. Download the reference examples · Integration overview . ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/#what-to-include-when-requesting-help",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/#what-to-include-when-requesting-help"
  },"1927": {
    "doc": "Troubleshoot Laravel Cloud API allowlisting",
    "title": "Troubleshoot Laravel Cloud API allowlisting",
    "content": "Start by identifying where the request failed. Configuration, the proxy connection, destination TLS, the destination allowlist, and the API’s own authorization are separate layers. Checking them in order is faster than changing all of them at once. Keep the failing environment, release identifier, execution path, UTC time, destination hostname, and sanitized status or request identifier. Do not paste a proxy URL, Authorization header, raw exception, wallet response, or other sensitive response body into a ticket. ",
    "url": "/docs/platforms/laravel-cloud/troubleshooting/",
    "relUrl": "/docs/platforms/laravel-cloud/troubleshooting/"
  },"1928": {
    "doc": "How to Upgrade, Downgrade, Cancel Subscription",
    "title": "Open Manage Subscriptions",
    "content": "Step 1. Log into QuotaGuard at https://www.quotaguard.com/users/sign_in. Step 2. In the upper right, click the subscriptions dropdown box to see all of your current QuotaGuard subscriptions. Step 3. Click Manage Subscriptions to see all your subscriptions on one screen. Find the subscription you want to upgrade, downgrade, or cancel. The Change Plan option is available here for plan changes. Choose the instructions below for upgrading, downgrading, or canceling. ",
    "url": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#open-manage-subscriptions",
    "relUrl": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#open-manage-subscriptions"
  },"1929": {
    "doc": "How to Upgrade, Downgrade, Cancel Subscription",
    "title": "Upgrade a Subscription",
    "content": "Step 1. On the Manage Subscriptions screen, click Change Plan on the subscription you want to upgrade. This opens the subscription plan options. Step 2. Select the higher plan that you want. If you need help deciding, we can help at Support. Step 3. Click Change Plan to select that plan. Upgrade billing: If you are increasing your plan (upgrading), Stripe will automatically charge the default payment method on file for a pro-rated amount based on the time remaining in your pre-paid monthly cycle. ",
    "url": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#upgrade-a-subscription",
    "relUrl": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#upgrade-a-subscription"
  },"1930": {
    "doc": "How to Upgrade, Downgrade, Cancel Subscription",
    "title": "Downgrade a Subscription",
    "content": "Before downgrading: A plan change would affect your service if you are on a Dedicated Proxy and downgrade below the Enterprise Plan. On Heroku, AWS, and Azure marketplace subscriptions, downgrading below the Micro Plan also affects Inbound proxies. If either of those cases is likely for you, please email us at Support first! . Heads up: Usage resets on the 1st of each month, not on your payment date. See Why your usage resets on the 1st. Step 1. On the Manage Subscriptions screen, find the subscription you want to downgrade and click Change Plan. This opens the subscription plan options, as shown in the screenshot in the upgrade section above. Step 2. Select the lower plan that you want, taking the proxy requirements above into account. If you need help deciding, we can help at Support. Step 3. Click Change Plan to select that plan. Downgrade billing: If you are decreasing your plan (downgrading), Stripe will automatically credit your on-going subscription with the unused, pre-paid amount paid in the prior month and apply it to your future payments. ",
    "url": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#downgrade-a-subscription",
    "relUrl": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#downgrade-a-subscription"
  },"1931": {
    "doc": "How to Upgrade, Downgrade, Cancel Subscription",
    "title": "Cancel a Subscription",
    "content": "Step 1. On the Manage Subscriptions screen, find the subscription you want to cancel. If you have multiple subscriptions, make sure you have selected the correct one. Step 2. Click Cancel Subscription for that subscription. Important: If this is your only subscription, canceling it will also close your account. That’s it! Happy Tunnelling! . ",
    "url": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#cancel-a-subscription",
    "relUrl": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/#cancel-a-subscription"
  },"1932": {
    "doc": "How to Upgrade, Downgrade, Cancel Subscription",
    "title": "How to Upgrade, Downgrade, Cancel Subscription",
    "content": "We try and make it very simple to upgrade, downgrade, or cancel your QuotaGuard subscription plan. Start by opening Manage Subscriptions, then follow the section for the task you want to complete. Note: Changing your plan will not affect the availability of your service, change your IP addresses, or cause downtime, except for the proxy downgrade cases explained under Downgrade a Subscription. This applies to plan changes, not cancellation. ",
    "url": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/",
    "relUrl": "/docs/account/subscriptions/upgrade-downgrade-or-cancel/"
  },"1933": {
    "doc": "How to Upgrade, Downgrade, or Cancel QuotaGuard on Heroku",
    "title": "How to Upgrade or Downgrade QuotaGuard on Heroku",
    "content": "To upgrade or downgrade your QuotaGuard Static or QuotaGuard Shield subscription plan, you can follow these simple steps. Note: Changing your plan does not repeat not change your IP addresses or cause any service interruptions. Step 1. Log into your Heroku Dashboard and go to the Resources page where you can click on the QuotaGuard Static or QuotaGuard Shield Add-On so you see the screen below. Step 2. On the right side of the screen, click the dropbox box so you see the “Modify Plan” option. Step 3. Select the appropriate plan for your traffic usage and click “Provision”. Now your QuotaGuard Static application should be updated on Heroku and your service should experience no interruptions. ",
    "url": "/docs/platforms/heroku/upgrade-downgrade-or-cancel/#how-to-upgrade-or-downgrade-quotaguard-on-heroku",
    "relUrl": "/docs/platforms/heroku/upgrade-downgrade-or-cancel/#how-to-upgrade-or-downgrade-quotaguard-on-heroku"
  },"1934": {
    "doc": "How to Upgrade, Downgrade, or Cancel QuotaGuard on Heroku",
    "title": "How to Cancel QuotaGuard on Heroku",
    "content": "Canceling with QuotaGuard on Heroku is a very straight forward process. It’s very similar to the above process for upgrading or downgrading the plan. Borrowing from Heroku’s own directions: .    Open the Heroku Dashboard. On the app’s Resources tab, scroll down to the Add-ons section.    On the rightmost side of the add-on listing, click the actions button (three vertically-stacked dots) to open the menu.    From this menu, you can remove, upgrade, or downgrade the add-on. Heroku keeps a current document on how to Remove, Downgrade, or Upgrade Add-on’s that should have all the relevant and current steps to work with your Add-on’s, like QuotaGuard. But, if you have any issues or questions with regard to Heroku plans, please feel free to write to us at Support any time. ",
    "url": "/docs/platforms/heroku/upgrade-downgrade-or-cancel/#how-to-cancel-quotaguard-on-heroku",
    "relUrl": "/docs/platforms/heroku/upgrade-downgrade-or-cancel/#how-to-cancel-quotaguard-on-heroku"
  },"1935": {
    "doc": "How to Upgrade, Downgrade, or Cancel QuotaGuard on Heroku",
    "title": "How to Upgrade, Downgrade, or Cancel QuotaGuard on Heroku",
    "content": " ",
    "url": "/docs/platforms/heroku/upgrade-downgrade-or-cancel/",
    "relUrl": "/docs/platforms/heroku/upgrade-downgrade-or-cancel/"
  },"1936": {
    "doc": "How to Upgrade or Delete QuotaGuard on Azure",
    "title": "Cancel QuotaGuard Service on Azure steps",
    "content": "Normally, when you open a resource in the Azure portal, there are actions you can take on that resource. However, for the Quota Guard subscription, the resource page doesn’t provide a single action that you can take. Very, very unhelpful to say the least… . The solution is to open the “All resources” view where get a sortable/filterable list of all of your resources. Then find the QuotaGuard subscription in that list…but don’t click on it. Rather than clicking on it (which takes you to the aforementioned unhelpful screen), you instead select it via the checkbox on that line-item. Then you can delete the QuotaGuard service effective immediately. If you still have issues or Azure changes their GUI’s (again…), just write to us at Support so we can help you cancel your account. Hat tip to Dan Kroymann from game creation company RecRoom.com for the help! . ",
    "url": "/docs/platforms/azure/upgrade-or-cancel/#cancel-quotaguard-service-on-azure-steps",
    "relUrl": "/docs/platforms/azure/upgrade-or-cancel/#cancel-quotaguard-service-on-azure-steps"
  },"1937": {
    "doc": "How to Upgrade or Delete QuotaGuard on Azure",
    "title": "How to Upgrade or Delete QuotaGuard on Azure",
    "content": "From time to time we get the question, “How do I change or delete the QuotaGuard subscription on Azure“? . We’ve learned that many Azure accounts don’t have the same views and default actions, so we believe the below to be a generic way to cancel the service on Azure that works for every type of account. With the kind help of one of our customers, we wanted to share the below possible solution to either change or delete the QuotaGuard product using Azure. ",
    "url": "/docs/platforms/azure/upgrade-or-cancel/",
    "relUrl": "/docs/platforms/azure/upgrade-or-cancel/"
  },"1938": {
    "doc": "Getting started with urllib2 - QuotaGuard Static",
    "title": "Getting started with urllib2 - QuotaGuard Static",
    "content": "Note: This example assumes your QUOTAGUARDSTATIC_URL environment variable is set and contains your unique connection string. urllib2 is a basic library used for HTTP communication in Python and uses environment variables to set a proxy service. In your application initialization you should set the http_proxy variable to match the QUOTAGUARDSTATIC_URL. Assign QuotaGuard to your environment’s http_proxy variable: . os.environ['http_proxy'] = os.environ['QUOTAGUARDSTATIC_URL'] . To test in the Python interpreter: . Copy import urllib2, os os.environ['http_proxy'] = os.environ['QUOTAGUARDSTATIC_URL'] url = 'http://ip.jsontest.com/' proxy = urllib2.ProxyHandler() opener = urllib2.build_opener(proxy) in_ = opener.open(url) res = in_.read() print res . If you have questions, or if this solution doesn’t work or fit your use case, please reach out to us at Support so we can help figure it out with you. ",
    "url": "/docs/outbound-proxy/python/urllib2-guide/",
    "relUrl": "/docs/outbound-proxy/python/urllib2-guide/"
  },"1939": {
    "doc": "Why your usage resets on the 1st, not on your payment date",
    "title": "The short version",
    "content": "Your request and bandwidth allowance is counted per calendar month. It resets on the 1st of every month at 00:00 UTC, no matter what day you signed up or what day your card is charged. Your payment date is just when we bill you. It doesn’t start a new usage window. ",
    "url": "/docs/usage-reset-billing-date/#the-short-version",
    "relUrl": "/docs/usage-reset-billing-date/#the-short-version"
  },"1940": {
    "doc": "Why your usage resets on the 1st, not on your payment date",
    "title": "Why it works this way",
    "content": "QuotaGuard was originally built for add-on marketplaces like Heroku, Microsoft Azure and AWS Marketplace. Those platforms all count usage on the calendar month, so QuotaGuard was built the same way, and that’s still how our usage counters work today. We completely understand it can be confusing, especially if you pay us directly on a date in the middle of the month. ",
    "url": "/docs/usage-reset-billing-date/#why-it-works-this-way",
    "relUrl": "/docs/usage-reset-billing-date/#why-it-works-this-way"
  },"1941": {
    "doc": "Why your usage resets on the 1st, not on your payment date",
    "title": "An example",
    "content": "Say you signed up on the 15th and you’re on the Production plan (100K requests and 50 GB a month). | Your card is charged on the 15th of each month. | Your usage counter still resets on the 1st of each month. | So usage from November 1 through November 30 counts against November’s allowance, and on December 1 you start fresh, even though your next charge isn’t until December 15. | . One nice side effect: in your first month, your counter resets a few days or weeks after you sign up, so you usually get extra usage that first month. ",
    "url": "/docs/usage-reset-billing-date/#an-example",
    "relUrl": "/docs/usage-reset-billing-date/#an-example"
  },"1942": {
    "doc": "Why your usage resets on the 1st, not on your payment date",
    "title": "Changing plans in the middle of the month",
    "content": "If you upgrade, the higher allowance applies right away to this month’s usage. If you downgrade, your usage so far this month still counts. If you’ve already used more than the smaller plan allows, you could go over your new limit right away, even though you just paid. Before you downgrade, check your usage on the dashboard. If you’re already over the smaller plan, it’s usually best to wait until the 1st. ",
    "url": "/docs/usage-reset-billing-date/#changing-plans-in-the-middle-of-the-month",
    "relUrl": "/docs/usage-reset-billing-date/#changing-plans-in-the-middle-of-the-month"
  },"1943": {
    "doc": "Why your usage resets on the 1st, not on your payment date",
    "title": "Where to see your reset date",
    "content": "Your dashboard shows your current usage for the month next to each subscription, along with the date it resets. ",
    "url": "/docs/usage-reset-billing-date/#where-to-see-your-reset-date",
    "relUrl": "/docs/usage-reset-billing-date/#where-to-see-your-reset-date"
  },"1944": {
    "doc": "Why your usage resets on the 1st, not on your payment date",
    "title": "If something looks wrong",
    "content": "If you have any questions, or you think your account was suspended for usage when it shouldn’t have been, just email us at support@quotaguard.com. We’ll look at it with you and fix any issues. Happy tunneling! . ",
    "url": "/docs/usage-reset-billing-date/#if-something-looks-wrong",
    "relUrl": "/docs/usage-reset-billing-date/#if-something-looks-wrong"
  },"1945": {
    "doc": "Why your usage resets on the 1st, not on your payment date",
    "title": "Why your usage resets on the 1st, not on your payment date",
    "content": " ",
    "url": "/docs/usage-reset-billing-date/",
    "relUrl": "/docs/usage-reset-billing-date/"
  },"1946": {
    "doc": "Understanding User Roles in QuotaGuard",
    "title": "Manager",
    "content": "The Manager is typically the user who originally signed up for the account. The Manager can: . | Invite new users to the account | View all users attached to the account | Receive all notification emails, including usage alerts and limit warnings | . If you signed up for QuotaGuard directly, you are the Manager on your account. For accounts created through a platform integration (such as Heroku or AWS), user roles are managed by that platform. ",
    "url": "/docs/account/subscriptions/user-roles/#manager",
    "relUrl": "/docs/account/subscriptions/user-roles/#manager"
  },"1947": {
    "doc": "Understanding User Roles in QuotaGuard",
    "title": "Team Member",
    "content": "Team Members are users who were invited by the Manager and have accepted the invitation. They can access the account dashboard but have limited permissions: . | They cannot invite additional users | They cannot see the full list of users on the account | They only receive usage limit notification emails (for example, when a usage threshold is reached) | . ",
    "url": "/docs/account/subscriptions/user-roles/#team-member",
    "relUrl": "/docs/account/subscriptions/user-roles/#team-member"
  },"1948": {
    "doc": "Understanding User Roles in QuotaGuard",
    "title": "Invited",
    "content": "The envelope icon appears next to a user who has been sent an invitation but has not yet accepted it. Once they accept, their icon changes to the person figure. If a user’s icon stays as an envelope, ask them to check their spam folder, or resend the invitation. ",
    "url": "/docs/account/subscriptions/user-roles/#invited",
    "relUrl": "/docs/account/subscriptions/user-roles/#invited"
  },"1949": {
    "doc": "Understanding User Roles in QuotaGuard",
    "title": "Email Notifications by Role",
    "content": "Billing-related emails (receipts, failed payment notices) are sent by Stripe directly and are not controlled by QuotaGuard roles. | Notification Type | Manager | Team Member | . | Usage limit warnings | Yes | Yes | . | Subscription changes (cancellation, plan changes) | Yes | No | . | SSL certificate expiry | Yes | No | . | Other account notifications | Yes | No | . ",
    "url": "/docs/account/subscriptions/user-roles/#email-notifications-by-role",
    "relUrl": "/docs/account/subscriptions/user-roles/#email-notifications-by-role"
  },"1950": {
    "doc": "Understanding User Roles in QuotaGuard",
    "title": "Related Pages",
    "content": ". | Add Users to your QuotaGuard Account | Account Administration Dashboard | . ",
    "url": "/docs/account/subscriptions/user-roles/#related-pages",
    "relUrl": "/docs/account/subscriptions/user-roles/#related-pages"
  },"1951": {
    "doc": "Understanding User Roles in QuotaGuard",
    "title": "Understanding User Roles in QuotaGuard",
    "content": "QuotaGuard accounts support multiple users under a single subscription. Each user is shown with a small icon in the Users panel that indicates their current role or status. There are three role indicators: . Star (★): Manager. The account owner and primary user. Person figure: Team Member. An invited user who has accepted their invitation. Envelope: Invited. An invitation has been sent but not yet accepted. ",
    "url": "/docs/account/subscriptions/user-roles/",
    "relUrl": "/docs/account/subscriptions/user-roles/"
  },"1952": {
    "doc": "What if I only want one QG Static IP Address?",
    "title": "Positive and Negatives of One IP",
    "content": "Keep in mind, all our normal dual-IP proxies are located behind a load balancer, therefore connections appear to come from different IPs when viewed from outside services. If you connect to only one of these two IP addresses, you will lose this load balancing and failover functionality, but you will gain the single IP address visibility. If you decide that one IP address is worth the loss of the load balancing and failover benefits, the simple solution is to connect to the proxy directly, as this will bypass load balancer. The other IP that you are not using will still be available at any time, if you want to change it for any reason. We do not remove it from your account. ",
    "url": "/docs/outbound-proxy/concepts/using-one-ip-address/#positive-and-negatives-of-one-ip",
    "relUrl": "/docs/outbound-proxy/concepts/using-one-ip-address/#positive-and-negatives-of-one-ip"
  },"1953": {
    "doc": "What if I only want one QG Static IP Address?",
    "title": "Setting Up Single IP Address Connections",
    "content": "To connect directly, just choose one of the static IPs from your dashboard instead of the DNS name of the proxy and connect to it directly by doing the following steps: . 1) Change your QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URL environment variable to point to one of the two IPs following this format: . FROM: .    http(s)://USERNAME:PASSWORD@PROXY.quotaguard.com:PORT . TO: .    http(s)://USERNAME:PASSWORD@PROXY-a.quotaguard.com:PORT . or .    http(s)://USERNAME:PASSWORD@PROXY-b.quotaguard.com:PORT . 2) Test and verify that you’re using only one IP Address, which can be either of the two IPs we provide for you in your account. The IP’s behind “-a/-b” will not change, so whichever one you choose will stay constant. If you have issues setting up the single IP address, reach out to us at Support so we can help. ",
    "url": "/docs/outbound-proxy/concepts/using-one-ip-address/#setting-up-single-ip-address-connections",
    "relUrl": "/docs/outbound-proxy/concepts/using-one-ip-address/#setting-up-single-ip-address-connections"
  },"1954": {
    "doc": "What if I only want one QG Static IP Address?",
    "title": "What if I only want one QG Static IP Address?",
    "content": "We know there are a few customer cases that require one and only one IP address. Don’t worry, that’s not a problem. You can use one Static IP address and bypass the load-balancer / dual-IP solution. If that is the case for your implementation, we have the directions below, as well as some information on what to be aware of that will not work going forward with this approach. ",
    "url": "/docs/outbound-proxy/concepts/using-one-ip-address/",
    "relUrl": "/docs/outbound-proxy/concepts/using-one-ip-address/"
  },"1955": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Choosing your setup",
    "content": " ",
    "url": "/docs/platforms/vercel/vercel-integration/#choosing-your-setup",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#choosing-your-setup"
  },"1956": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Why Vercel Functions Need a Static IP",
    "content": "Vercel Serverless Functions run on ephemeral infrastructure where the outbound IP is drawn from large, rotating public cloud ranges. A database or API that only accepts requests from a known source IP will reject your function, and the address changes across deployments and invocations so you cannot simply allowlist what you see today. Need a stable inbound route instead? QuotaGuard Inbound Proxy gives partners a stable address for reaching your Vercel application. You configure the forwarding destination and DNS in the QuotaGuard dashboard rather than adding a proxy agent to your application. See the full inbound setup guides for Static and Shield. The rest of this page covers outbound connections from Vercel. ",
    "url": "/docs/platforms/vercel/vercel-integration/#why-vercel-functions-need-a-static-ip",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#why-vercel-functions-need-a-static-ip"
  },"1957": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "QuotaGuard versus Vercel native static IPs",
    "content": "Vercel’s native Static IPs feature can be a straightforward choice for a single project. But because it is priced per project, costs can add up as you connect more applications. With QuotaGuard, multiple projects can share one subscription and the same pair of static IPs, within your plan’s usage limits. That means fewer separate static-IP charges and one consistent pair of IPs for your partners to allowlist. QuotaGuard also keeps your outbound IPs independent of your hosting platform. Use the same pair across Vercel and other supported hosts, or keep them when you move your application elsewhere by continuing to route through QuotaGuard. You don’t have to rebuild your partners’ allowlists just because you change platforms, and our team can help you plan and configure the migration. | Decision factor | Vercel native Static IPs | QuotaGuard | . | Multiple projects | Priced and configured per project | One subscription can serve multiple projects within its usage limits | . | Portability | Attached to the Vercel project | The same subscription and IP pair can be used across supported hosting platforms | . | Migration help | Follow Vercel’s project configuration workflow | QuotaGuard support can help plan and configure a move between platforms | . ",
    "url": "/docs/platforms/vercel/vercel-integration/#quotaguard-versus-vercel-native-static-ips",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#quotaguard-versus-vercel-native-static-ips"
  },"1958": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "| Feature | QuotaGuard Static | QuotaGuard Shield | . | Proxy endpoints | HTTP proxy on port 9293; SOCKS5 on port 1080 | HTTPS proxy on port 9294; Secure SOCKS on port 1081 | . | App-to-proxy transport | Unencrypted | TLS-encrypted | . | HTTPS payload | Tunneled end-to-end, never decrypted at the proxy | Tunneled end-to-end, never decrypted at the proxy | . | Best for | Most apps, including non-regulated mTLS connections | HIPAA or PCI regulated data and environments that require TLS on every hop | . | Starting price | $19/month | $29/month | . For most Vercel apps, Static is the right product. Choose QuotaGuard Shield if your functions handle HIPAA or PCI regulated data or your environment requires TLS between your app and the proxy itself. Static uses the QUOTAGUARDSTATIC_URL value from its dashboard; Shield uses QUOTAGUARDSHIELD_URL. Use the hostname, credentials, scheme, and product-specific port exactly as shown in the relevant dashboard. Each subscription receives two IP addresses. Starter, Production, and Business subscriptions use standard addresses that may also be assigned to other subscriptions or customers. Choose Enterprise when a destination requires source IPs reserved exclusively for your subscription. ",
    "url": "/docs/platforms/vercel/vercel-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#quotaguard-static-vs-quotaguard-shield"
  },"1959": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Supported runtimes and Edge limitations",
    "content": "Vercel Edge Functions run on a restricted runtime that does not allow arbitrary proxy agents or raw socket control. You cannot route an Edge Function through QuotaGuard directly. Move the calls that need a static IP into a Node.js Serverless Function and call that function from the edge if needed. Confirm the function that makes the external call is a Node.js Serverless Function, not an Edge Function. ",
    "url": "/docs/platforms/vercel/vercel-integration/#supported-runtimes-and-edge-limitations",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#supported-runtimes-and-edge-limitations"
  },"1960": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Follow the three steps below for an HTTP/API connection, choosing Node.js or Python. The SFTP setup and CRM, payment, commerce and unique-IP allowlisting examples remain in the reference. Review Choosing your setup first for product and runtime choices; use Troubleshooting if a check fails. ",
    "url": "/docs/platforms/vercel/vercel-integration/#guided-setup-quickstart",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#guided-setup-quickstart"
  },"1961": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "1. Configure QuotaGuard in Vercel",
    "content": " ",
    "url": "/docs/platforms/vercel/vercel-integration/#configure-quotaguard-in-vercel",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#configure-quotaguard-in-vercel"
  },"1962": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Getting Started",
    "content": "After creating a QuotaGuard account, you are redirected to your dashboard, where you can find your proxy credentials and two static IP addresses. Choose the right proxy region: Select the QuotaGuard region closest to your function region to minimize latency. The region is set at sign-up. Changes after sign-up require contacting support. ",
    "url": "/docs/platforms/vercel/vercel-integration/#getting-started",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#getting-started"
  },"1963": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Add your proxy environment variable",
    "content": "In the Vercel dashboard, open Settings &gt; Environment Variables, or use the CLI: . vercel env add QUOTAGUARDSTATIC_URL . ",
    "url": "/docs/platforms/vercel/vercel-integration/#add-your-proxy-environment-variable",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#add-your-proxy-environment-variable"
  },"1964": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Choose the deployment environment",
    "content": "Add the value http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 to the environment used by the deployment you are testing: Production, Preview (including any branch-specific settings), Development, or your custom staging environment. Confirm the variable is available in that environment; setting it for Preview alone does not establish that a separate staging environment has it. ",
    "url": "/docs/platforms/vercel/vercel-integration/#choose-the-deployment-environment",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#choose-the-deployment-environment"
  },"1965": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Redeploy after environment-variable changes",
    "content": "After adding or changing the variable, redeploy that environment and test the resulting deployment URL. Vercel environment-variable changes apply only to new deployments. Next, verify the HTTP client’s outbound IP before choosing a use-case example. ",
    "url": "/docs/platforms/vercel/vercel-integration/#redeploy-after-environment-variable-changes",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#redeploy-after-environment-variable-changes"
  },"1966": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "2. Connection examples",
    "content": ". ",
    "url": "/docs/platforms/vercel/vercel-integration/#connection-examples",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#connection-examples"
  },"1967": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "HTTP/API requests with Node.js",
    "content": "Vercel’s Node.js functions can use a proxy agent. Attach it to the outbound call. Setting QUOTAGUARDSTATIC_URL alone does not route traffic: configure each HTTP client, database driver, or SFTP client that needs a static IP. // api/data.js import { ProxyAgent } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); export default async function handler(req, res) { const response = await fetch('https://api.example.com/data', { dispatcher }); const data = await response.json(); res.status(200).json(data); } . Creating the agent at module level lets warm invocations reuse the proxy tunnel. If your function runs only occasionally, with gaps of several minutes between calls, create the ProxyAgent inside the handler instead and await dispatcher.close() once the request is done. An idle function instance can resume holding a tunnel the proxy has already closed, and the next request on that connection fails with ECONNRESET. If you use node-fetch rather than the built-in fetch, attach an HttpsProxyAgent instead: . import fetch from 'node-fetch'; import { HttpsProxyAgent } from 'https-proxy-agent'; const agent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL); export default async function handler(req, res) { const response = await fetch('https://api.example.com/data', { agent }); res.status(200).json(await response.json()); } . For a database or another non-HTTP TCP protocol, configure the driver to use QuotaGuard Static SOCKS5 on port 1080. Shield uses Secure SOCKS on port 1081. Do not send arbitrary TCP protocols to the HTTP proxy ports. HTTP CONNECT tunnels have a 600-second maximum lifetime, so keep an HTTP connection pool’s maximum connection lifetime below 10 minutes. SOCKS connections have no fixed lifetime cap, but they can still end during a deployment or proxy failover. Configure the client to reconnect safely. ",
    "url": "/docs/platforms/vercel/vercel-integration/#httpapi-requests-with-nodejs",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#httpapi-requests-with-nodejs"
  },"1968": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "HTTP/API requests with Python",
    "content": "For an existing Flask or FastAPI application on Vercel, add requests to your requirements.txt or pyproject.toml dependencies. Call this synchronous helper from an existing Flask route or synchronous FastAPI route, using your application’s normal error handling. It is a helper, not a standalone Vercel entrypoint; keep your existing supported Python application entrypoint. import os import requests def fetch_partner_data(): p = os.environ[\"QUOTAGUARDSTATIC_URL\"] with requests.get( \"https://api.example.com/data\", proxies={\"http\": p, \"https\": p}, timeout=(5, 15), # connect and read timeouts, in seconds ) as response: response.raise_for_status() return response.json() . ",
    "url": "/docs/platforms/vercel/vercel-integration/#httpapi-requests-with-python",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#httpapi-requests-with-python"
  },"1969": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "3. Verify your connection",
    "content": " ",
    "url": "/docs/platforms/vercel/vercel-integration/#verify-your-connection",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#verify-your-connection"
  },"1970": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Verify the HTTP client’s outbound IP",
    "content": "You cannot shell into a serverless function, so test through an endpoint. Add a temporary function: . // api/verify-ip.js import { ProxyAgent } from 'undici'; const dispatcher = new ProxyAgent(process.env.QUOTAGUARDSTATIC_URL); export default async function handler(req, res) { const r = await fetch('https://ip.quotaguard.com', { dispatcher }); res.status(200).json(await r.json()); } . Deploy to the environment configured in Configure QuotaGuard in Vercel and call that deployment’s endpoint (replace the example hostname with its deployment URL): . curl https://your-app.vercel.app/api/verify-ip . Expected JSON response, with the address in the ip field: . {\"ip\":\"&lt;one of your two QuotaGuard static IPs&gt;\"} . The ip value must match either of the two static IPs assigned to your subscription in the QuotaGuard dashboard. Either address is valid; repeated requests do not have to show both. Allowlist both addresses at your destination. This verifies the HTTP request in this example. ",
    "url": "/docs/platforms/vercel/vercel-integration/#verify-the-http-clients-outbound-ip",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#verify-the-http-clients-outbound-ip"
  },"1971": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Verify SFTP routing",
    "content": "It does not verify a separate SFTP connection: check the SFTP server’s connection logs, or ask its administrator to confirm the source IP of the operation made by your application through SOCKS5. A successful host-key check confirms the SSH server presented the expected key, and a successful file-digest comparison confirms the downloaded bytes match the trusted expected digest. Neither check establishes the SFTP source IP without destination-side connection evidence. ",
    "url": "/docs/platforms/vercel/vercel-integration/#verify-sftp-routing",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#verify-sftp-routing"
  },"1972": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Programmatic reference",
    "content": "Use the shared environment, deployment and region configuration, Node.js and Python HTTP clients, HTTP verification endpoint and expected response, and separate SFTP verification requirements above. Continue below for the complete SFTP, CRM, payment, commerce and unique-IP examples and troubleshooting. The early product comparison and runtime limitations apply to both reader paths. ",
    "url": "/docs/platforms/vercel/vercel-integration/#programmatic-reference",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#programmatic-reference"
  },"1973": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "SFTP from a Node.js Vercel Function",
    "content": "In your existing server-side application, use the Node.js runtime and pass a native SOCKS5 connection to your SFTP client. Add ssh2-sftp-client and socks to the application’s dependencies; use a supported Node.js version compatible with both (for example, Node.js 22). Keep QUOTAGUARDSTATIC_URL and separate SFTP_HOST, SFTP_PORT (optional, defaults to 22), SFTP_USERNAME, SFTP_PASSWORD, SFTP_REMOTE_PATH, SFTP_HOST_FINGERPRINT, and SFTP_EXPECTED_SHA256 environment variables server-side in Vercel. Never expose credentials in browser code or NEXT_PUBLIC_ variables. Obtain both verification values through trusted channels: . | Set SFTP_HOST_FINGERPRINT to the server administrator’s exact SHA256:... SSH host-key fingerprint, with unpadded base64 after the colon. | Set SFTP_EXPECTED_SHA256 to the expected file digest as exactly 64 hexadecimal characters. A digest computed during download only verifies content when it is compared with a trusted expected value. | . Allowlist both static IPs assigned to your QuotaGuard subscription on the SFTP server. This helper downloads one existing file and returns it as a Buffer. It rejects files larger than SFTP_MAX_BYTES, which defaults to 1 MiB, and closes an inactive socket after SFTP_TIMEOUT_MS, which defaults to 30 seconds. Call and await it inside your existing authenticated function handler, using your application’s normal error handling: . import { createHash, timingSafeEqual } from 'node:crypto'; import { SocksClient } from 'socks'; import SftpClient from 'ssh2-sftp-client'; function positiveIntegerSetting(name, fallback) { const text = process.env[name] || String(fallback); if (!/^\\d+$/.test(text)) throw new Error(`${name} must be a positive integer`); const value = Number(text); if (!Number.isSafeInteger(value) || value &lt; 1) { throw new Error(`${name} must be a positive integer`); } return value; } async function downloadVerifiedRemoteFile() { const proxy = new URL(process.env.QUOTAGUARDSTATIC_URL); const host = process.env.SFTP_HOST; const port = positiveIntegerSetting('SFTP_PORT', 22); const remotePath = process.env.SFTP_REMOTE_PATH; const hostFingerprint = process.env.SFTP_HOST_FINGERPRINT; const expectedSha256 = process.env.SFTP_EXPECTED_SHA256?.toLowerCase(); const maxBytes = positiveIntegerSetting('SFTP_MAX_BYTES', 1024 * 1024); const timeoutMs = positiveIntegerSetting('SFTP_TIMEOUT_MS', 30000); if (!host || !remotePath || !process.env.SFTP_USERNAME || !process.env.SFTP_PASSWORD || !proxy.username || !proxy.password) { throw new Error('SFTP connection configuration is missing'); } if (!/^SHA256:[A-Za-z0-9+/]+$/.test(hostFingerprint || '')) { throw new Error('SFTP_HOST_FINGERPRINT must use unpadded SHA256 base64'); } if (!/^[a-f0-9]{64}$/.test(expectedSha256 || '')) { throw new Error('SFTP_EXPECTED_SHA256 must contain 64 hexadecimal characters'); } const client = new SftpClient(); let socket; let readStream; let connected = false; let operationError; try { ({ socket } = await SocksClient.createConnection({ proxy: { host: proxy.hostname, port: 1080, // QuotaGuard Static SOCKS5, not the HTTP URL's port type: 5, userId: decodeURIComponent(proxy.username), password: decodeURIComponent(proxy.password), }, command: 'connect', destination: { host, port }, timeout: timeoutMs, })); socket.setTimeout(timeoutMs, () =&gt; { socket.destroy(new Error('SFTP socket inactivity timeout')); }); // Hand the socket to the SFTP client immediately. await client.connect({ host, port, sock: socket, username: process.env.SFTP_USERNAME, password: process.env.SFTP_PASSWORD, hostVerifier: (key) =&gt; `SHA256:${createHash('sha256').update(key).digest('base64').replace(/=+$/, '')}` === hostFingerprint, readyTimeout: timeoutMs, }); connected = true; const metadata = await client.stat(remotePath); if (!metadata.isFile || !Number.isSafeInteger(metadata.size) || metadata.size &lt; 0 || metadata.size &gt; maxBytes) { throw new Error('Remote path is not a regular file within SFTP_MAX_BYTES'); } const hash = createHash('sha256'); const chunks = []; let totalBytes = 0; readStream = client.createReadStream(remotePath, { autoClose: true }); for await (const chunk of readStream) { totalBytes += chunk.length; if (totalBytes &gt; maxBytes) { throw new Error('Remote file exceeded SFTP_MAX_BYTES while downloading'); } hash.update(chunk); chunks.push(chunk); } const actualDigest = hash.digest(); const expectedDigest = Buffer.from(expectedSha256, 'hex'); if (!timingSafeEqual(actualDigest, expectedDigest)) { throw new Error('Downloaded file did not match SFTP_EXPECTED_SHA256'); } return Buffer.concat(chunks, totalBytes); } catch (error) { operationError = error; throw error; } finally { readStream?.destroy(); let cleanupError; try { if (connected) await client.end(); } catch (error) { cleanupError = error; } finally { socket?.destroy(); } if (!operationError &amp;&amp; cleanupError) { throw new Error('SFTP cleanup failed', { cause: cleanupError }); } } } . The SFTP client’s SOCKS example documents this socket handoff; socks supports proxy username/password authentication. Keep hostVerifier: omitting it accepts unverified host keys. This example uses QuotaGuard Static’s SOCKS5 port 1080. The size check before transfer avoids known oversized files, while the streaming check also catches a file that grows or changes after the metadata request. Keep the configured maximum and the actual transfer within Vercel’s duration and memory limits. ",
    "url": "/docs/platforms/vercel/vercel-integration/#sftp-from-a-nodejs-vercel-function",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#sftp-from-a-nodejs-vercel-function"
  },"1974": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "CRM contact creation with Node.js: HubSpot example",
    "content": "Call this server-only helper from your existing validated form handler in a Node.js Vercel Function. Keep your form validation and anti-abuse controls. HubSpot is an illustrative CRM here; this example does not imply that HubSpot requires IP allowlisting. Add axios and https-proxy-agent to your application’s dependencies. Keep QUOTAGUARDSTATIC_URL and HUBSPOT_ACCESS_TOKEN in server-only environment variables for the deployment you use. Use your existing bearer credential with contact-write permission (crm.objects.contacts.write); do not expose either credential to the browser. This helper uses the documented create-contact endpoint and returns the new contact’s ID. Running this helper creates a real CRM record and may trigger configured workflows. It makes one POST without automatic retries. Pass only validated contact fields, never an upstream URL. import axios from 'axios'; import { HttpsProxyAgent } from 'https-proxy-agent'; async function createCrmContact({ email, firstname, lastname }) { const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const token = process.env.HUBSPOT_ACCESS_TOKEN; if (!proxyUrl || !token) throw new Error('CRM proxy configuration is missing'); let agent; try { agent = new HttpsProxyAgent(proxyUrl); const client = axios.create(); const response = await client.post( 'https://api.hubapi.com/crm/objects/2026-09/contacts', { properties: { email, firstname, lastname }, associations: [] }, { adapter: 'http', // Node.js HTTP adapter, not Edge or browser fetch httpsAgent: agent, proxy: false, // the agent handles the authenticated proxy connection headers: { Authorization: `Bearer ${token}` }, timeout: 15000, maxRedirects: 0, }, ); if (response.status !== 201 || typeof response.data?.id !== 'string' || !response.data.id) { throw new Error('Unexpected CRM response'); } return response.data.id; } catch (error) { // Do not log the Axios error/config, tokens, proxy URL, or contact data. console.error('CRM contact request failed', { status: error.response?.status ?? null, }); throw new Error('CRM creation was not confirmed; check the CRM before retrying'); } finally { agent?.destroy(); } } . Handle the returned ID or sanitized error in your existing form handler. A timeout or reset leaves the write outcome uncertain: check for the contact in the CRM before retrying, including by email through your existing read access. Do not wrap this POST in automatic retry middleware. For a read-only API-access check, use the same proxy configuration with the contacts GET: https://api.hubapi.com/crm/objects/2026-09/contacts?limit=1&amp;properties=hs_object_id. This requires separate contact-read permission. It checks API access; use outbound-IP verification to check observed HTTP egress. For HubSpot errors, check credentials for 401, permissions or account policy for 403 (not automatically an IP block), contact validation for 400, and provider rate limits for 429. Keep raw provider errors and form data out of browser responses and logs. ",
    "url": "/docs/platforms/vercel/vercel-integration/#crm-contact-creation-with-nodejs-hubspot-example",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#crm-contact-creation-with-nodejs-hubspot-example"
  },"1975": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Payment API credential test with Node.js: Authorize.net example",
    "content": "Use this server-only helper to confirm that a Vercel Node.js Function can reach the Authorize.net sandbox through QuotaGuard Static and that the sandbox accepts an existing API Login ID and Transaction Key. Sandbox credentials are separate from production credentials. Add axios and https-proxy-agent to your application’s dependencies, then set AUTHORIZENET_API_LOGIN_ID and AUTHORIZENET_TRANSACTION_KEY as server-only Vercel environment variables alongside QUOTAGUARDSTATIC_URL. The Authorize.net API reference requires JSON fields in the same order as its XML schema. This example preserves that order and sends authenticateTestRequest to the documented sandbox endpoint: . import axios from 'axios'; import { HttpsProxyAgent } from 'https-proxy-agent'; async function testAuthorizeNetSandboxCredentials() { const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const apiLoginId = process.env.AUTHORIZENET_API_LOGIN_ID; const transactionKey = process.env.AUTHORIZENET_TRANSACTION_KEY; if (!proxyUrl || !apiLoginId || !transactionKey) { throw new Error('Authorize.net sandbox configuration is missing'); } let agent; try { agent = new HttpsProxyAgent(proxyUrl); const response = await axios.post( 'https://apitest.authorize.net/xml/v1/request.api', { authenticateTestRequest: { merchantAuthentication: { name: apiLoginId, transactionKey, }, }, }, { adapter: 'http', httpsAgent: agent, proxy: false, headers: { 'Content-Type': 'application/json' }, timeout: 15000, maxRedirects: 0, validateStatus: () =&gt; true, }, ); if (response.status !== 200 || response.data?.messages?.resultCode !== 'Ok') { throw new Error('Authorize.net sandbox credentials were not accepted'); } return true; } catch (error) { // Do not log the Axios config, proxy URL, API Login ID, or Transaction Key. console.error('Authorize.net sandbox authentication failed', { status: error.response?.status ?? null, }); throw new Error('Authorize.net sandbox authentication was not confirmed'); } finally { agent?.destroy(); } } . A true result confirms that this request reached the sandbox through the configured proxy and that the sandbox accepted the supplied credentials. It does not create a transaction, test payment approval, validate production credentials, or prove that an optional transaction-IP filter will accept a production transaction. Use Authorize.net’s transaction and account guidance for those separate checks. ",
    "url": "/docs/platforms/vercel/vercel-integration/#payment-api-credential-test-with-nodejs-authorizenet-example",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#payment-api-credential-test-with-nodejs-authorizenet-example"
  },"1976": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Commerce API product lookup with Node.js: Naver example",
    "content": "This server-only helper performs a read-only product search through QuotaGuard Static using an existing Naver Commerce seller access token. Although the Naver product-search endpoint uses POST, it retrieves product data and does not modify the catalog. Obtain and refresh the seller token through your existing Naver integration; this example does not provision tokens. Add axios and https-proxy-agent to your application’s dependencies. Store NAVER_COMMERCE_ACCESS_TOKEN and NAVER_CHANNEL_PRODUCT_NO as server-only Vercel environment variables alongside QUOTAGUARDSTATIC_URL: . import axios from 'axios'; import { HttpsProxyAgent } from 'https-proxy-agent'; async function findNaverChannelProduct() { const proxyUrl = process.env.QUOTAGUARDSTATIC_URL; const token = process.env.NAVER_COMMERCE_ACCESS_TOKEN; const productNumberText = process.env.NAVER_CHANNEL_PRODUCT_NO; if (!proxyUrl || !token || !/^\\d+$/.test(productNumberText || '')) { throw new Error('Naver Commerce configuration is missing or invalid'); } const channelProductNo = Number(productNumberText); if (!Number.isSafeInteger(channelProductNo)) { throw new Error('NAVER_CHANNEL_PRODUCT_NO is outside the supported range'); } let agent; try { agent = new HttpsProxyAgent(proxyUrl); const response = await axios.post( 'https://api.commerce.naver.com/external/v1/products/search', { searchKeywordType: 'CHANNEL_PRODUCT_NO', channelProductNos: [channelProductNo], page: 1, size: 1, }, { adapter: 'http', httpsAgent: agent, proxy: false, headers: { Accept: 'application/json;charset=UTF-8', Authorization: `Bearer ${token}`, 'Content-Type': 'application/json', }, timeout: 15000, maxRedirects: 0, }, ); if (!Array.isArray(response.data?.contents)) { throw new Error('Unexpected Naver Commerce response'); } return response.data.contents[0] ?? null; } catch (error) { // Do not log the Axios config, token, proxy URL, or product data. console.error('Naver Commerce product lookup failed', { status: error.response?.status ?? null, }); throw new Error('Naver Commerce product lookup was not confirmed'); } finally { agent?.destroy(); } } . A product object confirms the matching product was returned through this proxied request. null means the successful search returned no matching item. Neither result proves that another Naver endpoint is allowlisted; confirm the observed source IP in Naver or destination-side logs when that evidence is required. ",
    "url": "/docs/platforms/vercel/vercel-integration/#commerce-api-product-lookup-with-nodejs-naver-example",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#commerce-api-product-lookup-with-nodejs-naver-example"
  },"1977": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Allowlisting for systems with unique-IP rules: Juniper example",
    "content": "Some provider portals reject an IP address that is already registered to another customer account. Juniper’s IP management documentation states that an IP already present in another buyer account cannot be registered and that a newly added IP can take up to 24 hours to become effective for existing connections. | Copy both IP addresses for the correct subscription from the QuotaGuard dashboard and submit both to Juniper. Either address may carry a request after load balancing or failover. | Allow up to 24 hours for Juniper’s change to take effect before treating the registration as failed. | If Juniper reports that an address belongs to another buyer account, contact QuotaGuard to ask whether another standard shared pair is available. QuotaGuard can try an available pair, but cannot guarantee that Juniper will accept it. | If no available shared pair works, use an Enterprise subscription with dedicated IP addresses reserved for your subscription. | . Standard QuotaGuard IPs are shared across subscriptions, so do not describe a standard pair as exclusive or dedicated. The Upstox static-IP guide discusses a similar unique-registration constraint, but each provider sets its own allowlisting rules. ",
    "url": "/docs/platforms/vercel/vercel-integration/#allowlisting-for-systems-with-unique-ip-rules-juniper-example",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#allowlisting-for-systems-with-unique-ip-rules-juniper-example"
  },"1978": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/platforms/vercel/vercel-integration/#troubleshooting",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#troubleshooting"
  },"1979": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "The proxy did not receive credentials it accepts. Confirm QUOTAGUARDSTATIC_URL is present in the failing deployment and matches the QuotaGuard dashboard exactly, including the scheme, hostname, port, username, and password. Redeploy after correcting the environment variable. ",
    "url": "/docs/platforms/vercel/vercel-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#407-proxy-authentication-required"
  },"1980": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Works in production, fails in preview",
    "content": "Confirm the variable is scoped to the failing deployment’s environment and branch, including a custom staging environment if used. Redeploy that environment after changes and test the new deployment URL. ",
    "url": "/docs/platforms/vercel/vercel-integration/#works-in-production-fails-in-preview",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#works-in-production-fails-in-preview"
  },"1981": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Wrong IP returned",
    "content": "The proxy is not attached to the request. Confirm you passed the dispatcher or agent on the specific fetch call and that the call runs in a Node.js function, not an Edge Function. ",
    "url": "/docs/platforms/vercel/vercel-integration/#wrong-ip-returned",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#wrong-ip-returned"
  },"1982": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Edge runtime error about unsupported API",
    "content": "You are trying to attach a proxy in an Edge Function. Move the external call to a Node.js Serverless Function. ",
    "url": "/docs/platforms/vercel/vercel-integration/#edge-runtime-error-about-unsupported-api",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#edge-runtime-error-about-unsupported-api"
  },"1983": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Build-time vs runtime",
    "content": "Vercel exposes environment variables during builds and function execution. Server-side module-scope initialization can read them when the module loads; it is not inherently incorrect. If your framework evaluates that code during its build, the variable must also be available there. Confirm the deployment’s environment scope and redeploy after changes. ",
    "url": "/docs/platforms/vercel/vercel-integration/#build-time-vs-runtime",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#build-time-vs-runtime"
  },"1984": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Intermittent connection resets",
    "content": "If requests work initially but later fail with ECONNRESET or a socket error, check whether the client tried to reuse an HTTP CONNECT tunnel after its 600-second maximum lifetime. Keep pooled HTTP connections below 10 minutes and compare a safe, read-only request through a fresh connection. On a function that is invoked infrequently, create the proxy agent inside the handler and close it after the request, as described in HTTP/API requests with Node.js. SOCKS connections do not have that fixed lifetime cap, but a deployment or proxy failover can still interrupt them. Review your HTTP client’s connection-pool settings; do not disable keep-alive across the application by default. Retry only operations that are safe to repeat, using a bounded retry policy. For payments and other non-idempotent writes, follow the destination API’s idempotency and recovery guidance before retrying. If failures continue, contact support with your client/version, timestamps, and redacted error details. ",
    "url": "/docs/platforms/vercel/vercel-integration/#intermittent-connection-resets",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#intermittent-connection-resets"
  },"1985": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Try QuotaGuard Now . View Vercel Integration Features . Read: Vercel Static Outbound IP Without Paying Per Project . Contact Support . ",
    "url": "/docs/platforms/vercel/vercel-integration/#ready-to-get-started",
    "relUrl": "/docs/platforms/vercel/vercel-integration/#ready-to-get-started"
  },"1986": {
    "doc": "QuotaGuard and Vercel Integration Guide",
    "title": "QuotaGuard and Vercel Integration Guide",
    "content": "QuotaGuard Static IPs give your Vercel Serverless Functions two fixed outbound IP addresses for firewalled databases and IP-restricted APIs. Set QUOTAGUARDSTATIC_URL as a Vercel environment variable, attach the proxy to your function’s outbound calls, and every request routed through QuotaGuard exits from one of your two static IPs. On this page . | Choosing your setup . | Why Vercel Functions Need a Static IP | QuotaGuard versus Vercel native static IPs | QuotaGuard Static vs QuotaGuard Shield | Supported runtimes and Edge limitations | . | Guided setup (Quickstart) | Configure QuotaGuard in Vercel . | Getting Started | Add your proxy environment variable | . | Connection examples . | HTTP/API requests with Node.js | HTTP/API requests with Python | . | Verify your connection . | Verify the HTTP client’s outbound IP | Verify SFTP routing | . | Programmatic reference . | SFTP from a Node.js Vercel Function | CRM contact creation with Node.js: HubSpot example | Payment API credential test with Node.js: Authorize.net example | Commerce API product lookup with Node.js: Naver example | Allowlisting for systems with unique-IP rules: Juniper example | . | Troubleshooting | . ",
    "url": "/docs/platforms/vercel/vercel-integration/",
    "relUrl": "/docs/platforms/vercel/vercel-integration/"
  },"1987": {
    "doc": "Do Static IP’s Work w/ VNC for Remote Workers?",
    "title": "Do Static IP’s Work w/ VNC for Remote Workers?",
    "content": "Many times we get requests for help to set up a team of remote workers or help with a “Work From Home” Static IP address solution. As much as we don’t want to turn away an engineering challenge, our business is not exactly the best fit for that type of long term business use case. Our opinion is that Static IP proxies, like QuotaGuard, work best from an application to application level. Typically when we get this type of request, we tell people to look for a VPN with a Static IP. We don’t have any VPN service that we recommend - as it depends on your business case, location, and security. However if you’ve landed on our site trying to integrate QuotaGuard with VNC, it’s likely what you’re really trying to find is a VPN with a Static IP. Happy Tunneling! . ",
    "url": "/docs/outbound-proxy/concepts/vnc-and-remote-work/",
    "relUrl": "/docs/outbound-proxy/concepts/vnc-and-remote-work/"
  },"1988": {
    "doc": "How do I Setup QuotaGuard VPN Tunneling?",
    "title": "How do I Setup QuotaGuard VPN Tunneling?",
    "content": "Question: “How can I do VPN Tunneling using Quotaguard?” . Answer: We have a wrapper program call QGSocksify that can route traffic destined for specific IP ranges through our proxies. We have a few customers use this to send ALL of their outbound traffic through the proxy. Here are our instructions on how to accomplish this: . 1) Download QGSocksify and extract into your project: . curl https://quotaguard.s3.amazonaws.com/quotaguard-socksify-latest.tar.gz | tar xz . 2) Change your startup code to use QG Socksify. In Heroku this is done with the Procfile. Prepend your existing application startup with bin/qgsocksify. So if you have a Procfile that looks like this: . web: npm start worker: rails worker go . Then change it to this: . web: bin/qgsocksify npm start worker: bin/qgsocksify rails worker go . 3) Set the environment variable QUOTAGUARDSTATIC_MASK to this: . Copy 0.0.0.0/5,8.0.0.0/7,11.0.0.0/8,12.0.0.0/6,16.0.0.0/4,32.0.0.0/3,64.0.0.0/3,96.0.0.0/4,112.0.0.0/5,120.0.0.0/6,124.0.0.0/7,126.0.0.0/8,128.0.0.0/3,160.0.0.0/5,168.0.0.0/6,172.0.0.0/12,172.32.0.0/11,172.64.0.0/10,172.128.0.0/9,173.0.0.0/8,174.0.0.0/7,176.0.0.0/4,192.0.0.0/9,192.128.0.0/11,192.160.0.0/13,192.169.0.0/16,192.170.0.0/15,192.172.0.0/14,192.176.0.0/12,192.192.0.0/10,193.0.0.0/8,194.0.0.0/7,196.0.0.0/6,200.0.0.0/5,208.0.0.0/4 . This should NOT mask out: . | 10.0.0.0/8 - LAN private range | 127.0.0.0/8 - Loopback range | 172.16.0.0/12 - LAN private range | 192.168.0.0/16 - LAN private range | 224.0.0.0+ - multicast and reserved range | . Everything else should go through the QGSocksify. 4) Commit and push your code. Be sure to add all of the files from the first step. You may have to force add the .so file with the following additional command: . git add -f vendor/dante/lib/libdsocks.so.0 . Do you want to send all your traffic through the VPN tunnel? . We are required to say, this solution includes software developed by Inferno Nettverk A/S, Norway. We know this can be tricky to setup, so if you have questions, write us at Support. ",
    "url": "/docs/qgtunnel/vpn-tunneling-setup/",
    "relUrl": "/docs/qgtunnel/vpn-tunneling-setup/"
  },"1989": {
    "doc": "Routing requests to WCF from Azure Function App",
    "title": "Why is a CustomBinding used?",
    "content": "The pitfall is that the proxy settings on BasicHttpBinding don’t seem to be properly implemented as there is no way to get it to use the proper credentials. Questions? Reach out on Support so we can help. ",
    "url": "/docs/platforms/azure/wcf-azure-function-app/#why-is-a-custombinding-used",
    "relUrl": "/docs/platforms/azure/wcf-azure-function-app/#why-is-a-custombinding-used"
  },"1990": {
    "doc": "Routing requests to WCF from Azure Function App",
    "title": "Routing requests to WCF from Azure Function App",
    "content": "June 2019 Update : QuotaGuard is now available natively on Azure at the following link : QuotaGuard Static on Azure or QuotaGuard Shield on Azure. You can also use the below directions with our direct service at : https://www.quotaguard.com. We have had a few customers ask for help with a WCF/Azure configuration, so we will share some working code below that customers have found helpful : . Copy binding.Security.Mode = BasicHttpSecurityMode.Transport; binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Certificate; //Wrap binding custom binding to route request through proxy with credential authentication var customBinding = new CustomBinding(binding); var httpElement = customBinding.Elements.Find&lt;HttpTransportBindingElement&gt;(); httpElement.ProxyAddress = new Uri(Environment.GetEnvironmentVariable(ProxyURL)); httpElement.ProxyAuthenticationScheme = AuthenticationSchemes.Basic; httpElement.UseDefaultWebProxy = false; using (var webClient = new TransparencyPlatformClient(customBinding, FinalEndpoint) { webClient.ClientCredentials.ClientCertificate.Certificate = Certificate; webClient.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust; var xmlString = XmlString(xml); webClient.ClientCredentials.UserName.UserName = ProxyUserName; webClient.ClientCredentials.UserName.Password = ProxyPassword; webClient.sendMessage(YourMessage);; } . ",
    "url": "/docs/platforms/azure/wcf-azure-function-app/",
    "relUrl": "/docs/platforms/azure/wcf-azure-function-app/"
  },"1991": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Accessing Static IP Connection Settings",
    "content": "You can start using our service immediately using the credentials we added to your dyno in the QUOTAGUARDSTATIC_URL or QUOTAGUARDSHIELD_URLenvironment variable. Additionally, your Static IP connection information can be found in your QuotaGuard administrator dashboard. To reach the dashboard, either run $ heroku addons:open quotaguardstatic or click on the upper right arrow next to the QuotaGuard Add­on. If you have trouble finding how to open the QuotaGuard Administrator, please follow Step 6 from the instructions in this blog post, How to Provision the QuotaGuard Add-on. ",
    "url": "/docs/platforms/heroku/welcome-email/#accessing-static-ip-connection-settings",
    "relUrl": "/docs/platforms/heroku/welcome-email/#accessing-static-ip-connection-settings"
  },"1992": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Your Static IPs",
    "content": "   * {Static IP #1} .    * {Static IP #2} . Please allow all IP addresses for any whitelisting or firewall rules, as traffic may route through any of the IP addresses at any time. ",
    "url": "/docs/platforms/heroku/welcome-email/#your-static-ips",
    "relUrl": "/docs/platforms/heroku/welcome-email/#your-static-ips"
  },"1993": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Subscription Information",
    "content": "Username: {QuotaGuard UserName, it will look something like 33f8spbzv4pp4x} . Proxy Password: Located in your QuotaGuard administration dashboard . ",
    "url": "/docs/platforms/heroku/welcome-email/#subscription-information",
    "relUrl": "/docs/platforms/heroku/welcome-email/#subscription-information"
  },"1994": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Connection String Format",
    "content": "HTTP url: [http://{USERNAME}:{PASSWORD}@:9293](http://{USERNAME}:{PASSWORD}@:9293){:target=\"_blank\"} (_for HTTP and HTTPS traffic._) . SOCKS url: [socks5://{USERNAME}:{PASSWORD}@:1080](socks5://{USERNAME}:{PASSWORD}@:1080){:target=\"_blank\"} (_for all types of TCP traffic._) . ",
    "url": "/docs/platforms/heroku/welcome-email/#connection-string-format",
    "relUrl": "/docs/platforms/heroku/welcome-email/#connection-string-format"
  },"1995": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Testing Your Connection",
    "content": "via Heroku CLI . $ heroku run 'curl -x http://{USERNAME}:{PASSWORD}@&lt;your-quotaguard-proxy-host&gt;:9293 -L ip.quotaguard.com' . via Curl . $ curl -x http://{USERNAME}:{PASSWORD}@&lt;your-quotaguard-proxy-host&gt;:9293 -L ip.quotaguard.com . ",
    "url": "/docs/platforms/heroku/welcome-email/#testing-your-connection",
    "relUrl": "/docs/platforms/heroku/welcome-email/#testing-your-connection"
  },"1996": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Inbound Proxy",
    "content": "If you are looking to use the Inbound proxy, you will need to upgrade to the Micro plan or higher. To upgrade you either run $ heroku addons:upgrade quotaguardstatic:micro or change the plan from the Resource tab on the Heroku dashboard. Setup instructions for Inbound Proxys can be found for both services at: . QuotaGuard Static: Getting Started with QuotaGuard Static IP Inbound Proxy . QuotaGuard Shield: Getting Started with QuotaGuard Shield IP Inbound Proxy . ",
    "url": "/docs/platforms/heroku/welcome-email/#inbound-proxy",
    "relUrl": "/docs/platforms/heroku/welcome-email/#inbound-proxy"
  },"1997": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Support",
    "content": "To access Support and get help, we have a few options for you, or you can just open a new ticket at our Support portal and we will answer you directly. ",
    "url": "/docs/platforms/heroku/welcome-email/#support",
    "relUrl": "/docs/platforms/heroku/welcome-email/#support"
  },"1998": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "More Resources",
    "content": ". | Heroku Documentation for QuotaGuard Static and QuotaGuard Shield. | Language and Platform Setup Support for configuring with Node.js, Ruby, Python, Go, Java, and PHP, etc. | MongoDB can be tricky, so here’s how to Setup QuotaGuard for MongoDB. | Need to Create a Support Ticket? . | News and Announcements? Find them at our QuotaGuard Blog. | Request for Dedicated Proxy Setup (Enterprise plans and higher) . | Do you have Privacy, GDPR, or Legal Questions? . | . Thanks for giving us a try and don’t be shy about reaching out for help, we’re always here to assist with any questions you might have. The QuotaGuard Support Team . ",
    "url": "/docs/platforms/heroku/welcome-email/#more-resources",
    "relUrl": "/docs/platforms/heroku/welcome-email/#more-resources"
  },"1999": {
    "doc": "Heroku Welcome Email for New Customers",
    "title": "Heroku Welcome Email for New Customers",
    "content": "The “Welcome to QuotaGuard” email from a new Heroku provisioning outlines how to start configuring your QuotaGuard Static IP settings. Sometimes the email is lost or just misplaced in some manner, so we’ll post it here for your future reference any time: . Hi, . First of all, welcome to QuotaGuard, we’re happy you’ve decided to try out our service for your application. This email should get you up and running in no time. Please keep this email for future reference, as it can help with setting up, reaching out to support, knowing your configurations, and answering general FAQ. Note: Provisioning the QuotaGuard Add-On does not automatically route your application traffic through the QuotaGuard Static IP’s. There are a few steps to setup your app to send only desired traffic through the Static IP’s, as outlined below. ",
    "url": "/docs/platforms/heroku/welcome-email/",
    "relUrl": "/docs/platforms/heroku/welcome-email/"
  },"2000": {
    "doc": "Welcome to QuotaGuard",
    "title": "Welcome to QuotaGuard",
    "content": "QuotaGuard is a simple and easy to use Static IP proxy service intended for use with Enterprise and self-hosted cloud-based applications. Originally developed in 2013 as a dynamic proxy service, QuotaGuard today is a Static IP hosted service trusted by thousands of paying subscribers, available on all cloud marketplaces (like AWS, Heroku, Azure, etc.) to secure and route their cloud-application data internally and externally across the Internet. QuotaGuard is run by a team of fellow software engineers that are self-funded, completely independent, and working day in and day out trying to make the static IP service better and easier to use for every current and future customer. Welcome to the Home of QuotaGuard Documentation . Our documentation is a best place to start to find answers to Architecture, Setup, Configuration, and Account questions. Setting up a unique Static IP proxy connection can be challenging, so we try to publish and share as many examples and use cases of documentation as possible. Please use the search box above to explore our public solutions and technical advice to help you make the most of your Static IP connection security and flexibility. If you can’t find what you’re looking for - or have a unique use case that you want to discuss with our engineers - please Contact Our Support so we begin the discussion and get everything up and running. Thank you for working with our team and Happy Tunneling! . Next: Register an Account ",
    "url": "/docs/getting-started/welcome/",
    "relUrl": "/docs/getting-started/welcome/"
  },"2001": {
    "doc": "What Happens (IP's/Settings) When I Change Plans?",
    "title": "The short answer is “Nothing”.",
    "content": "To prevent any issues arising from plan changes, your billing and subscription plans are completely decoupled from the Static IP Proxy system. Therefore, if you are considering changing plans (upgrading or downgrading), when you make the plan change, nothing will happen to your IP addresses or configuration settings. ",
    "url": "/docs/account/subscriptions/what-changes-when-you-change-plans/#the-short-answer-is-nothing",
    "relUrl": "/docs/account/subscriptions/what-changes-when-you-change-plans/#the-short-answer-is-nothing"
  },"2002": {
    "doc": "What Happens (IP's/Settings) When I Change Plans?",
    "title": "What About Use Cases Where Your QuotaGuard Static IP Address Would Change?",
    "content": "There are rare cases where customers want their IP addresses to change. For completeness, we’ll list those below: . ",
    "url": "/docs/account/subscriptions/what-changes-when-you-change-plans/#what-about-use-cases-where-your-quotaguard-static-ip-address-would-change",
    "relUrl": "/docs/account/subscriptions/what-changes-when-you-change-plans/#what-about-use-cases-where-your-quotaguard-static-ip-address-would-change"
  },"2003": {
    "doc": "What Happens (IP's/Settings) When I Change Plans?",
    "title": "Request Dedicated Proxy / Dedicated IP’s",
    "content": "When you move to a Enterprise plan or higher - and request dedicated IP’s (vs. the shared proxies and shared IP’s) - your Dedicated IP’s will be different than the shared IP’s on the shared proxies. This is the same case if you downgrade below Enterprise and we are required to reverse that process. Note: You do not need to move to dedicated if you’re on Enterprise or higher, it’s only if you want to do it, it’s just an option, not a requirement. This article helps with what happens when I switch from a Shared to a Dedicated Proxy? . Switch from Static to Shield (and vice versa). QG Static and QG Shield are hosted on completely different proxies and, therefore, they have different IP’s. ",
    "url": "/docs/account/subscriptions/what-changes-when-you-change-plans/#request-dedicated-proxy--dedicated-ips",
    "relUrl": "/docs/account/subscriptions/what-changes-when-you-change-plans/#request-dedicated-proxy--dedicated-ips"
  },"2004": {
    "doc": "What Happens (IP's/Settings) When I Change Plans?",
    "title": "You Ask Us to Change Them (Dev/Staging should be different than Production, etc).",
    "content": "There are cases - quite a few actually - where you don’t want to share your production IP’s with your development teams. If this is the case, we can always move your dev/staging proxies so that when you go to production, you have a fresh set of IP’s that only a few need-to-know engineers are familiar with when your application is live. ",
    "url": "/docs/account/subscriptions/what-changes-when-you-change-plans/#you-ask-us-to-change-them-devstaging-should-be-different-than-production-etc",
    "relUrl": "/docs/account/subscriptions/what-changes-when-you-change-plans/#you-ask-us-to-change-them-devstaging-should-be-different-than-production-etc"
  },"2005": {
    "doc": "What Happens (IP's/Settings) When I Change Plans?",
    "title": "You Downgrade Below Enterprise on Dedicated Resources",
    "content": "If you have subscriptions on dedicated resources and downgrade below an Enterprise plan (the lowest level that qualifies for dedicated resources), your IP’s will change as we will have to move you to a shared proxy. We strongly recommend that if you plan to downgrade below Enterprise, you contact us first so we can coordinate the IP change with your team. That’s it! . Those are the only ways your IP’s would change - and they are all at the discretion of the user. If you have more questions or need help getting a dedicated proxy set up, email us at Support any time. ",
    "url": "/docs/account/subscriptions/what-changes-when-you-change-plans/#you-downgrade-below-enterprise-on-dedicated-resources",
    "relUrl": "/docs/account/subscriptions/what-changes-when-you-change-plans/#you-downgrade-below-enterprise-on-dedicated-resources"
  },"2006": {
    "doc": "What Happens (IP's/Settings) When I Change Plans?",
    "title": "What Happens (IP's/Settings) When I Change Plans?",
    "content": " ",
    "url": "/docs/account/subscriptions/what-changes-when-you-change-plans/",
    "relUrl": "/docs/account/subscriptions/what-changes-when-you-change-plans/"
  },"2007": {
    "doc": "What Counts as a Request?",
    "title": "The basics",
    "content": "If you are using the HTTP proxy, each HTTP call is one request. A single GET (or POST, PUT, etc.) routed through the proxy counts as one request. When using the SOCKS proxy, we count each TCP Connect as one request. For HTTPS through the HTTP proxy, one request equals one CONNECT tunnel.    Note: Most database users are going to run into bandwidth limits well before they run into request limits. A lot of applications use a connection library to establish a long-lived connection, which results in very few requests. You will have to see what the best practice is for your use case. ",
    "url": "/docs/account/billing/what-counts-as-a-request/#the-basics",
    "relUrl": "/docs/account/billing/what-counts-as-a-request/#the-basics"
  },"2008": {
    "doc": "What Counts as a Request?",
    "title": "Inbound and outbound both count",
    "content": "It does not matter which direction the traffic flows. Each call routed through QuotaGuard counts as one request whether it is inbound or outbound. Only traffic you actually route through the proxy is counted. ",
    "url": "/docs/account/billing/what-counts-as-a-request/#inbound-and-outbound-both-count",
    "relUrl": "/docs/account/billing/what-counts-as-a-request/#inbound-and-outbound-both-count"
  },"2009": {
    "doc": "What Counts as a Request?",
    "title": "Redirects, retries, and reused connections",
    "content": "QuotaGuard never follows a redirect or retries a request on its own. We count exactly what your client sends, so how your application behaves is what determines the count. For the HTTP proxy (plain HTTP), every request your client sends is one request, including each redirect hop your client follows and each retry it sends. We count the request when we accept it, before we contact the destination, so an attempt that times out or fails at the destination still counts. A failed proxy authentication (407) does not count. For HTTPS (one request per CONNECT tunnel): . | A redirect to a different host always opens a new tunnel, so that is one more request. | A redirect or retry to the same host only adds a request if your client opens a new connection. If your HTTP library reuses a pooled connection, no extra request is counted. | . For SOCKS, it is one request per TCP connection, and a connection that fails at the destination still counts. The practical takeaway: each redirect your client follows and each retry it sends normally counts as another request, unless your client reuses an already-open connection to the same host. Connection pooling reduces your request count. ",
    "url": "/docs/account/billing/what-counts-as-a-request/#redirects-retries-and-reused-connections",
    "relUrl": "/docs/account/billing/what-counts-as-a-request/#redirects-retries-and-reused-connections"
  },"2010": {
    "doc": "What Counts as a Request?",
    "title": "How this differs on QuotaGuard Shield",
    "content": "On Shield, everything is a tunnel, so one request always equals one CONNECT. There is no per-HTTP-request counting like the HTTP proxy’s plain-HTTP mode. That means a client that pools connections can make many API calls inside a single counted request, and “each API call is one request” only holds for clients that open a new connection per call. The redirect and retry rule is the same as Static: we never follow or retry anything, and a redirect or retry adds a request only when it opens a new tunnel. ",
    "url": "/docs/account/billing/what-counts-as-a-request/#how-this-differs-on-quotaguard-shield",
    "relUrl": "/docs/account/billing/what-counts-as-a-request/#how-this-differs-on-quotaguard-shield"
  },"2011": {
    "doc": "What Counts as a Request?",
    "title": "Monitoring your usage",
    "content": "You can watch your request and bandwidth usage in real time from your dashboard, or pull it programmatically with our read-only Usage API. We also email your account administrator automatically at 80% and again at 100% of your allowance. For more on how we handle usage near your limit, see our Soft Limit and Overage Policy. If you have questions about SOCKS bandwidth, our article on “How Does QuotaGuard Measure Bandwidth for SOCKS” might help. If you need help figuring this out, just reach out to us on Support. Please don’t be shy, we get these questions all the time. ",
    "url": "/docs/account/billing/what-counts-as-a-request/#monitoring-your-usage",
    "relUrl": "/docs/account/billing/what-counts-as-a-request/#monitoring-your-usage"
  },"2012": {
    "doc": "What Counts as a Request?",
    "title": "What Counts as a Request?",
    "content": "Each plan includes a monthly request allowance. This page explains exactly what we count as one request so you can size your plan and predict your usage. ",
    "url": "/docs/account/billing/what-counts-as-a-request/",
    "relUrl": "/docs/account/billing/what-counts-as-a-request/"
  },"2013": {
    "doc": "What is a Request in MongoDB?",
    "title": "Persistent Connections, Commands, and Heartbeats",
    "content": "MongoDB commands and driver heartbeats sent through an open connection do not count as additional requests. The SOCKS5 proxy relays the connection without counting the individual operations inside it. MongoDB drivers keep monitoring and pooled connections open. New requests come from opening new connections, including application startup, Heroku dyno restarts, separate Node.js processes, pool growth, Atlas maintenance or elections, and replacement of dropped connections. Each dyno or Node.js process has its own MongoDB client and connection pools, so the exact count depends on your number of dynos, cluster members, pool settings, traffic, and reconnect activity. For a typical single-process Atlas replica set, a restart normally creates only a handful of connections, so a 20,000-request allowance leaves substantial room for stable persistent use. ",
    "url": "/docs/databases/mongodb/what-counts-as-a-request/#persistent-connections-commands-and-heartbeats",
    "relUrl": "/docs/databases/mongodb/what-counts-as-a-request/#persistent-connections-commands-and-heartbeats"
  },"2014": {
    "doc": "What is a Request in MongoDB?",
    "title": "Bandwidth",
    "content": "SOCKS5 bandwidth includes every byte relayed between your application and Atlas in both directions, including the MongoDB TLS handshake. The SOCKS5 negotiation itself and TCP/IP packet overhead are not counted. For long-lived connections, the Log Viewer writes a bandwidth entry each time another 1 MB is relayed. Any remaining amount is recorded when the connection closes. ",
    "url": "/docs/databases/mongodb/what-counts-as-a-request/#bandwidth",
    "relUrl": "/docs/databases/mongodb/what-counts-as-a-request/#bandwidth"
  },"2015": {
    "doc": "What is a Request in MongoDB?",
    "title": "Soft Limits",
    "content": "On paid standard plans, the soft-limit policy applies independently to both requests and bandwidth. We send an automated email at 80%. At 100%, someone from Support contacts you personally, and traffic continues while we work out the appropriate plan together. Suspension is a last resort after human review and unanswered outreach, not an automatic cutoff. You can monitor your actual request and bandwidth usage in the QuotaGuard dashboard after connecting. For setup instructions, see Connecting MongoDB Atlas through QuotaGuard. For limit handling, see the Soft Limit and Overage Policy. ",
    "url": "/docs/databases/mongodb/what-counts-as-a-request/#soft-limits",
    "relUrl": "/docs/databases/mongodb/what-counts-as-a-request/#soft-limits"
  },"2016": {
    "doc": "What is a Request in MongoDB?",
    "title": "What is a Request in MongoDB?",
    "content": "Each accepted SOCKS5 TCP connection counts as one request. We count the connection after proxy authentication succeeds and before dialing MongoDB Atlas. A connection that fails at Atlas still counts; failed proxy authentication does not. ",
    "url": "/docs/databases/mongodb/what-counts-as-a-request/",
    "relUrl": "/docs/databases/mongodb/what-counts-as-a-request/"
  },"2017": {
    "doc": "Why Can't My Client Connect To My IP Addresses Directly?",
    "title": "Heroku ‘How did you end up here’ error page when trying to use IP address directly",
    "content": "D﻿id you get a Heroku ‘How did you end up here’ error page like the one below when you used the static IP address directly, while trying to navigate to your custom domain? . A common question we receive at Support is that a customer can’t access their IP’s when they check them directly (for example in a web browser). If you want a client to reach your application via your QuotaGuard Static IPs, there are a few things you need to do to make this work as you desire. ",
    "url": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#heroku-how-did-you-end-up-here-error-page-when-trying-to-use-ip-address-directly",
    "relUrl": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#heroku-how-did-you-end-up-here-error-page-when-trying-to-use-ip-address-directly"
  },"2018": {
    "doc": "Why Can't My Client Connect To My IP Addresses Directly?",
    "title": "Subscription Plan",
    "content": "To enable the Inbound Proxy service, the plan floor depends on your channel: on the Heroku, AWS, and Azure marketplaces your subscription must be on the Micro plan (or higher), while direct plans include the Inbound Proxy on all plans (Starter and above). ",
    "url": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#subscription-plan",
    "relUrl": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#subscription-plan"
  },"2019": {
    "doc": "Why Can't My Client Connect To My IP Addresses Directly?",
    "title": "Shared Proxy Service",
    "content": "By default, all new users are on a shared proxy service. When you are on a shared proxy service, you are sharing the servers and IP addresses with other customers and users. Therefore, when you are setting up an inbound proxy, you need to use the specific URL we provide (getstatica.com) to route your traffic correctly and appropriately log the usage for billing purposes. ",
    "url": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#shared-proxy-service",
    "relUrl": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#shared-proxy-service"
  },"2020": {
    "doc": "Why Can't My Client Connect To My IP Addresses Directly?",
    "title": "Why Can’t We Just Point to the IP’s?",
    "content": "Since the IP Addresses are shared among many users, we can’t receive inbound requests for an IP address and route it to your application successfully. You have a few options to resolve this issue and make it work as intended: . | Use the getstatica.com URL we provided you to access your website directly. | Setup a custom domain (ie: your.domain.com) in our dashboard and update the DNS records for that FQDN to point to the IPs or URL we provided you. (see notes below on Custom Domain) | For Enterprise plans and greater, you can also request Dedicated Proxy service via Support. | .    This gives you dedicated proxy resources, dedicated IPs, and the ability to customize the inbound proxy.    With the dedicated proxy service we can allow you to access your site using the IPs we provide you. ",
    "url": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#why-cant-we-just-point-to-the-ips",
    "relUrl": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#why-cant-we-just-point-to-the-ips"
  },"2021": {
    "doc": "Why Can't My Client Connect To My IP Addresses Directly?",
    "title": "Custom Domain",
    "content": "If you want to do option 2, you can setup your own custom domain if you have edit access to your DNS records. To map custom domain click on “Add Custom Domain” and enter the domain name and optionally upload SSL certificate. For specific directions, please visit How to Add a Custom Domain. At the last step, you will see details about necessary DNS record changes for the custom domain. If you follow those directions, you should be all set. But, if you have issues, reach out to us at Support so we can help get you setup. ",
    "url": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#custom-domain",
    "relUrl": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/#custom-domain"
  },"2022": {
    "doc": "Why Can't My Client Connect To My IP Addresses Directly?",
    "title": "Why Can't My Client Connect To My IP Addresses Directly?",
    "content": " ",
    "url": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/",
    "relUrl": "/docs/troubleshooting/why-cant-i-connect-directly-to-my-ips/"
  },"2023": {
    "doc": "Why Can't I Ping My IP Addresses?",
    "title": "Why Can't I Ping My IP Addresses?",
    "content": "Are you trying to access your assigned IP addresses via the ping command? Maybe you can access them through a browser, but aren’t sure why you can’t ping them? . There is a simple reason: Our servers do not respond to ICMP (ping’s protocol). Since we don’t open ICMP on our servers, you can check that the port is open with netcat. Ports 80, 443, 1080, and 9293 for QuotaGuard Static and ports 80, 443, 1081, and 9294 for QuotaGuard Shield. For example, you can check that ports are open for TCP on 9293 (http proxy) and 1080 (socks proxy) like below: ​ . Copy nc -w 2 -zv &lt;your-quotaguard-proxy-host&gt; 9293 Connection to &lt;your-quotaguard-proxy-host&gt; 9293 port [tcp/*] succeeded! . Hopefully this helps avoid explain why trying to ping your IP’s isn’t working, it’s not because there is a problem or anything like that going on. It’s that we’ve disabled that capability. If you still have questions, write to us at Support. ",
    "url": "/docs/troubleshooting/why-cant-i-ping-my-ips/",
    "relUrl": "/docs/troubleshooting/why-cant-i-ping-my-ips/"
  },"2024": {
    "doc": "Why My Static IP’s are the same with others?",
    "title": "Why My Static IP’s are the same with others?",
    "content": "By default, we provide users with a shared proxy service. This means that you share the servers and the IPs with many other users. If you sign up for two subscriptions, there’s a likelihood they will both be on the same shared proxy with the same IP addresses. Only the usernames and passwords would be different for each subscription. We use your usernames/passwords to distinguish your traffic for billing purposes. If you want different IP’s for your multiple subscriptions, you have three options that can result in this change: . | If you use our service in two different regions, you will get different IPs (although still shared). | If you request from Support for us to move you to different IPs for each subscription - and we have additional servers in your region (usually not a problem)- then you can be reassigned new IPs to split the two accounts (still shared). | For Enterprise plans and greater, you can request Dedicated Proxy service. This gives you dedicated proxy resources and dedicated IPs. | . ",
    "url": "/docs/outbound-proxy/concepts/why-same-ips-across-subscriptions/",
    "relUrl": "/docs/outbound-proxy/concepts/why-same-ips-across-subscriptions/"
  },"2025": {
    "doc": "Why Provide Customers Two Static IP Addresses?",
    "title": "Why Provide Customers Two Static IP Addresses?",
    "content": "We use load balancing to provide customers a high availability service. That requires we implementent a two static IP per subscription setup. Therefore, each subscription will have a primary and secondary static IP address. If one IP address should become unreachable, then our load balancer will direct traffic through the other IP address until we have resolved the problem and reinstated the failed IP. Please allow-list both IP addresses as traffic may route through either one at any time. If you have a requirement to only use one IP address, please see How to Use One Static IP Address. If you have more detailed questions on load balancing or failover, send us an email at Support. ",
    "url": "/docs/outbound-proxy/concepts/why-two-ip-addresses/",
    "relUrl": "/docs/outbound-proxy/concepts/why-two-ip-addresses/"
  },"2026": {
    "doc": "Can QuotaGuard Tunnels Support Wildcard Hosts?",
    "title": "Can QuotaGuard Tunnels Support Wildcard Hosts?",
    "content": "Here’s a typical question we get about Wildcard Hosts: . Do the QuotaGuard tunnels support wildcard hosts? Our app lets users connect to their remote DBs (Snowflake/Postgres/MySQL) and while it wouldn’t be bad to setup the default ports for those, creating a new tunnel for each host wouldn’t be ideal. Fortunately, we offer a feature in the QGTunnel program called “dynamic tunnels”. The way to make this work is to find the place in your code where you want to create a tunnel. Just before that, you create a new file with the appropriate configuration, then connect through the tunnel, then after the connection is done, you delete that new file. Copy func connect_to_db_through_qg(hostname, database_port) { local_port = random(10000..20000) #preferrably you use a port pool create_file(hostname, database_port, local_port) connect_to_database(hostname, local_port) ..do things with database...teardown database connection.. delete_file(local_port) } . ​When you create the file it needs to be in the same format as our .qgtunnel file you can download from our dashboard, which looks like this: . Copy [qgtunnel.12345] accept = \"localhost:12345\" connect = \"hostname:3306\" transparent = true . In this example, 12345 is the local port, hostname is hostname, and 3306 is the databases port. The file needs to be placed in the .qgtunnels directory, which should be put in the root of your application. You can add a .keep file to git in that directory if you want it to be there upon startup. Otherwise you will need to create the directory before adding the file. We usually recommend you name the file based on the port number, something like qgtunnel.12345, but the name doesn’t matter. When you are done with the connection, remove the file so we can close the socket connection to the proxy. ​Pro Tip We would also suggest you add the environment variable QGTUNNEL_DYNAMIC=true. Right now, we startup the dynamic mode feature automatically, but in future releases we are going to require this environment variable to enable the feature. ",
    "url": "/docs/qgtunnel/wildcard-hosts/",
    "relUrl": "/docs/qgtunnel/wildcard-hosts/"
  },"2027": {
    "doc": "Will My Static IP Addresses Ever Change?",
    "title": "High Level Static IP Assignment",
    "content": "We use Amazon Elastic IPs for our service and they are permanently reserved. If one of our services associated with an IP fails, we have an auto-start service that will use the same IP instantly. Since all of your inbound/outbound requests process via our load balancers, this underlying restart and change would be transparent to you and your endpoint users. If Amazon ever changes its Elastic IP policy for some reason, we will obviously inform you well ahead of time. We’ve never seen this happen, but leave it open here as a remote possibility. ",
    "url": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#high-level-static-ip-assignment",
    "relUrl": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#high-level-static-ip-assignment"
  },"2028": {
    "doc": "Will My Static IP Addresses Ever Change?",
    "title": "Possible Reasons A User Would Require An IP Address Change",
    "content": "There are a few ways the IP addresses could change, based on decisions made by a customer, so we wanted to point them out in case this is something you might do in the future. ",
    "url": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#possible-reasons-a-user-would-require-an-ip-address-change",
    "relUrl": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#possible-reasons-a-user-would-require-an-ip-address-change"
  },"2029": {
    "doc": "Will My Static IP Addresses Ever Change?",
    "title": "Region Change",
    "content": "One way the IP’s would change is if you decide to change your proxy to a different region. Then those IP’s are going to be different as they are on a different proxy region. For example, if you decide to switch from US-WEST to EU-WEST, then those IP’s would be different from your prior region. ",
    "url": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#region-change",
    "relUrl": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#region-change"
  },"2030": {
    "doc": "Will My Static IP Addresses Ever Change?",
    "title": "Dedicated Proxy Setup",
    "content": "Enterprise subscriptions (and above) are eligible to move their solution to their own dedicated proxy resources. This allows for more stability, security, and customization, and all usual things that come from moving off a shared resource to a dedicated proxy. If you believe you might want a dedicated resource for your solution in the future, then it would be best to make that change early, so you don’t have to inform downstream vendors or suppliers that your IP addresses needed to be changed. Please remember, if you are on a dedicated proxy and change your plan below Enterprise, we’ll have to move you off the dedicated proxy back to a shared proxy. This will result in your IP’s changing when that move is completed. ",
    "url": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#dedicated-proxy-setup",
    "relUrl": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#dedicated-proxy-setup"
  },"2031": {
    "doc": "Will My Static IP Addresses Ever Change?",
    "title": "Change from QuotaGuard Static to QuotaGuard Shield (or vice versa)",
    "content": "The reserved IP pools for our Static and Shield proxies are different and can’t be used together. If you change from one product to the other, your IP’s will have to change, as well. ",
    "url": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#change-from-quotaguard-static-to-quotaguard-shield-or-vice-versa",
    "relUrl": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#change-from-quotaguard-static-to-quotaguard-shield-or-vice-versa"
  },"2032": {
    "doc": "Will My Static IP Addresses Ever Change?",
    "title": "Potential Solution to Changing Products",
    "content": "You can always have a QG Static subscription for your development/staging servers and a QG Shield subscription for your production instance. Many of our customers implement this solution, so that their production IP’s don’t change, but they can also have a different set of IP’s to develop and test against that customers and other downstream vendors don’t have to know about for their connections. If you have more questions or want to set up a Dedicated Proxy Static IP, write us at Support any time. ",
    "url": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#potential-solution-to-changing-products",
    "relUrl": "/docs/outbound-proxy/concepts/will-my-static-ips-change/#potential-solution-to-changing-products"
  },"2033": {
    "doc": "Will My Static IP Addresses Ever Change?",
    "title": "Will My Static IP Addresses Ever Change?",
    "content": "The short answer is no, unless you want them to change. Your Static IP’s will stay the same unless you ask us to change them or elect to do any of the following options that would require us to provide you with different IP’s. ",
    "url": "/docs/outbound-proxy/concepts/will-my-static-ips-change/",
    "relUrl": "/docs/outbound-proxy/concepts/will-my-static-ips-change/"
  },"2034": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Why Zaps Get Blocked",
    "content": "Zapier runs on AWS infrastructure, spinning up instances dynamically as needed, and publishes static IP ranges for us-east-1 and us-west-2. Ordinary Zap traffic is not pinned to either range, so your Zap’s outbound requests could originate from a large pool of addresses shared across all Zapier customers. When your Zap tries to connect to security-conscious partners, you’ll see errors like: . | 403 Forbidden from corporate firewalls and WAFs | Connection refused from databases with IP allowlisting | Access denied from banking APIs and payment gateways | Blocked requests from Google Workspace Context-Aware Access policies | . The problem is not your code or API keys. The target service is blocking requests from unknown cloud IP ranges. QuotaGuard gives your Zaps a fixed, verifiable identity that partners can add to their firewall allowlists once. ",
    "url": "/docs/automation/zapier-integration/#why-zaps-get-blocked",
    "relUrl": "/docs/automation/zapier-integration/#why-zaps-get-blocked"
  },"2035": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Zapier’s Native Static IP Feature",
    "content": "Zapier offers a static IP feature on its Professional, Team, and Enterprise plans. Before using QuotaGuard, you should understand when Zapier’s native feature works and when you need QuotaGuard instead. ",
    "url": "/docs/automation/zapier-integration/#zapiers-native-static-ip-feature",
    "relUrl": "/docs/automation/zapier-integration/#zapiers-native-static-ip-feature"
  },"2036": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "When Zapier’s Native Static IP Works",
    "content": "Zapier’s static IP feature only applies to the apps Zapier has enabled for it, and that list now reaches well beyond databases. It currently covers the data warehouses (Snowflake, Google BigQuery, Amazon Redshift, Databricks, Looker), the built-in transfer apps (Webhooks by Zapier, API by Zapier, SFTP by Zapier, SMTP by Zapier, MCP Client by Zapier), and a long list of public apps including Airtable, Salesforce, Stripe, GitHub, GitLab, Microsoft Outlook, QuickBooks Online, WooCommerce, and WordPress. PostgreSQL, MySQL, and SQL Server are supported through separate per-database instructions, and private integrations can be enabled by Zapier Support on request. Zapier keeps the authoritative list in Use a static IP address to connect to Zapier. Traffic from those apps leaves through Zapier’s own published ranges, which you allowlist as CIDR blocks: . | Zapier region | Range to allowlist | . | us-east-1 | 44.214.195.64/28 (16 addresses) | . | us-west-2 | 18.246.81.208/28 (16 addresses) | . Those ranges are published and shared: every customer using the feature allowlists the same blocks. Read the list as a list of the Zapier apps that make the call, not of the services you are allowed to call. A request sent by Webhooks by Zapier reaches an arbitrary partner API from these ranges on a qualifying plan, because the enabled app is the sender. If you’re on Professional, Team, or Enterprise and the step sending the request belongs to an enabled app, the native feature may be all you need. Code by Zapier is not on that list, so code steps still egress from Zapier’s general IP pool. ",
    "url": "/docs/automation/zapier-integration/#when-zapiers-native-static-ip-works",
    "relUrl": "/docs/automation/zapier-integration/#when-zapiers-native-static-ip-works"
  },"2037": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "When You Need QuotaGuard",
    "content": "You need QuotaGuard when: . | You’re on the Free plan, where Zapier’s static IP feature is not available | The request leaves from a Code by Zapier step, which Zapier’s static IP feature does not cover | The step sending the request belongs to an app Zapier has not enabled for static IP | The destination will not allowlist a shared 16-address block and wants a smaller entry assigned to one subscription | You need to reach custom APIs or internal services behind a firewall that will not open to a Zapier-wide range | You need support for HIPAA/PCI requirements (QuotaGuard Shield) | You need regional data residency (US/EU proxy selection) | . | Feature | Zapier Native Static IP | QuotaGuard | . | Plan requirement | Professional/Team/Enterprise | Any plan | . | Supported apps | Zapier’s published enabled-app list (data warehouses, Webhooks/API/SFTP/SMTP by Zapier, many public apps, private apps on request) | Any Code by Zapier step, plus anything else you can point at a proxy | . | Code by Zapier steps | Not covered | Fully supported | . | HIPAA/PCI support | No | Yes (Shield) | . | Data residency | No | US/EU options | . | IP allocation | Published /28 block per region, shared by all customers on the feature | Allowlistable static IP pair assigned to your subscription | . ",
    "url": "/docs/automation/zapier-integration/#when-you-need-quotaguard",
    "relUrl": "/docs/automation/zapier-integration/#when-you-need-quotaguard"
  },"2038": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "What Each Option Costs",
    "content": "Zapier bundles the static IP feature with Professional and above. On Zapier’s pricing page, Professional starts at $19.99/month billed annually ($29.99 billed monthly) for 750 tasks and Team starts at $69.00/month billed annually ($103.50 billed monthly), with Enterprise quoted by their sales team. On QuotaGuard’s pricing page, Static starts at $19/month billed monthly and is independent of your Zapier tier. Compare the IP allocation carefully, because both products share addresses at their entry tiers. Zapier’s feature routes you through published /28 blocks that every customer on the feature allowlists. QuotaGuard’s Starter, Production, and Business plans assign your subscription a static IP pair that is also shared; a pair reserved for your account alone is an Enterprise feature, $219/month on Static and $269/month on Shield. If a destination’s security review insists on addresses nobody else uses, price Enterprise rather than Starter. That leaves two decisions: . | Already on Professional or above. The native feature costs you nothing extra, so the choice is about coverage rather than money: which app sends the request, and whether the destination accepts a Zapier-wide block. | On Free, or paying for a higher Zapier tier only to get a fixed egress IP. QuotaGuard supplies the egress address without moving your whole Zapier account up a tier. Two Zapier plan rules still apply in their own right: declaring packages in a Code step requires a paid plan, and the standard Code step runtime on Free is 1 second, with the full table under Latency Considerations. | . ",
    "url": "/docs/automation/zapier-integration/#what-each-option-costs",
    "relUrl": "/docs/automation/zapier-integration/#what-each-option-costs"
  },"2039": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "No-Code and Webhooks by Zapier Users",
    "content": "The Python Code by Zapier path below is the most direct route, but it requires a small code step. If you are a no-code user, or your Zap relies on Webhooks by Zapier, host a small relay function that egresses through QuotaGuard and point your webhook or HTTP action at it instead. Webhooks by Zapier has no proxy field of its own; on Professional and above its requests do leave from Zapier’s shared static IP ranges, whatever API they are aimed at, so reach for the relay when the destination wants a smaller allowlist entry than a Zapier-wide block. Your Zap calls the relay URL, the relay forwards the request through your two static IPs, and the target API sees a fixed source. QuotaGuard publishes a ready-to-deploy relay at github.com/quotaguard/static-examples, and the pattern is documented in the Static IP Without an HTTP Proxy guide. ",
    "url": "/docs/automation/zapier-integration/#no-code-and-webhooks-by-zapier-users",
    "relUrl": "/docs/automation/zapier-integration/#no-code-and-webhooks-by-zapier-users"
  },"2040": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Guided setup (Quickstart)",
    "content": "Follow the four sections below: get the connection details, check the Code environment, configure a Code step and test it. Python’s numbered Basic Setup is the recommended path; the full JavaScript alternative stays alongside it. Review Keeping Credentials Secure when configuring Input Data and use Troubleshooting if a check fails. ",
    "url": "/docs/automation/zapier-integration/#guided-setup-quickstart",
    "relUrl": "/docs/automation/zapier-integration/#guided-setup-quickstart"
  },"2041": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "1. Getting Started",
    "content": "After creating a QuotaGuard account, you will be redirected to your dashboard where you can find your proxy credentials and static IP addresses. Choose the right proxy region: Zapier runs primarily in AWS us-east-1. For lowest latency, select QuotaGuard’s US-East region. Your proxy URL will look like this: . http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 . This URL contains your credentials and the proxy hostname. You’ll use this to route requests through your static IPs. Finding Your Static IPs: Your two static IPs are displayed in the QuotaGuard dashboard. Both IPs are active simultaneously for high availability. Add both to any firewall allowlists you’re configuring on the target service side. ",
    "url": "/docs/automation/zapier-integration/#getting-started",
    "relUrl": "/docs/automation/zapier-integration/#getting-started"
  },"2042": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "2. Understanding Zapier’s Code Environment",
    "content": "Zapier’s Code by Zapier app provides two language options: . ",
    "url": "/docs/automation/zapier-integration/#understanding-zapiers-code-environment",
    "relUrl": "/docs/automation/zapier-integration/#understanding-zapiers-code-environment"
  },"2043": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Python Environment",
    "content": ". | Python 3.13 | Standard library available | requests library pre-installed | BeautifulSoup library available | No pip install from inside the code, but paid plans can declare public PyPI packages on the step itself | . ",
    "url": "/docs/automation/zapier-integration/#python-environment",
    "relUrl": "/docs/automation/zapier-integration/#python-environment"
  },"2044": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "JavaScript Environment",
    "content": ". | Node.js 22 | Standard Node.js library available | Built-in fetch available, and the Zapier SDK is pre-installed | No npm install from inside the code, but paid plans can declare public npm packages on the step itself | . ",
    "url": "/docs/automation/zapier-integration/#javascript-environment",
    "relUrl": "/docs/automation/zapier-integration/#javascript-environment"
  },"2045": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Declaring Packages on Paid Plans",
    "content": "Code steps on the Professional, Team, and Enterprise plans can pull public packages straight from PyPI and npm. In the Code step, open the Packages panel, choose Add new package, enter the case-sensitive package name and an optional version, then save; Zapier copies the matching import statement for you to paste into the editor. The constraints are worth knowing before you design around them: . | JavaScript packages must ship ESM. A package that publishes only CommonJS will not load, and native modules are not supported. | Adding a package switches the JavaScript editor to the export default async function main() wrapper, which Zapier inserts for you. | Private registries are not supported, and Zapier does not scan packages for vulnerabilities. | Installation has its own budget per run: 30 seconds on paid plans, 120 seconds on Enterprise. Memory is 512 MB on every plan. | . Important: the built-in fetch takes no proxy argument. That is a property of the Fetch API itself rather than a Zapier limitation. Node added opt-in support for the standard HTTP_PROXY, HTTPS_PROXY, and NO_PROXY variables in 22.21.0 and 24.5.0, but it has to be switched on as the process starts (NODE_USE_ENV_PROXY=1 or --use-env-proxy), and a Code step does not control how its runtime is launched. To proxy from JavaScript, use the raw http and https modules with the HTTP CONNECT method as shown below. For this reason, Python is the recommended language for proxy integration in Zapier. The requests library is pre-installed and supports proxies natively with a simple configuration. ",
    "url": "/docs/automation/zapier-integration/#declaring-packages-on-paid-plans",
    "relUrl": "/docs/automation/zapier-integration/#declaring-packages-on-paid-plans"
  },"2046": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "3. Python Code Examples (Recommended)",
    "content": "Python is the simplest and most reliable way to route Zapier requests through QuotaGuard. The requests library is pre-installed and supports proxies natively. ",
    "url": "/docs/automation/zapier-integration/#python-code-examples-recommended",
    "relUrl": "/docs/automation/zapier-integration/#python-code-examples-recommended"
  },"2047": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Basic Setup",
    "content": "Step 1: In the Zap editor, click + to add a new step. Step 2: Search for and select Code by Zapier. Step 3: Select Run Python as the action. Step 4: In the Input Data section, add your proxy URL as a variable: . | Key: proxy_url | Value: http://username:password@&lt;your-quotaguard-proxy-host&gt;:9293 | . Using Input Data keeps your credentials out of the code itself. Step 5: Add your code in the Code field. ",
    "url": "/docs/automation/zapier-integration/#basic-setup",
    "relUrl": "/docs/automation/zapier-integration/#basic-setup"
  },"2048": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "HTTP GET Request",
    "content": "import requests # Get proxy URL from Input Data proxy_url = input_data.get('proxy_url') # Configure proxy proxies = { 'http': proxy_url, 'https': proxy_url } # Make the request response = requests.get( 'https://api.example.com/data', proxies=proxies, timeout=25 ) # Return the response output = { 'status_code': response.status_code, 'data': response.json() } . ",
    "url": "/docs/automation/zapier-integration/#http-get-request",
    "relUrl": "/docs/automation/zapier-integration/#http-get-request"
  },"2049": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "HTTP POST Request with JSON",
    "content": "import requests import json proxy_url = input_data.get('proxy_url') proxies = {'http': proxy_url, 'https': proxy_url} # Data to send payload = { 'name': input_data.get('name'), 'email': input_data.get('email'), 'message': input_data.get('message') } response = requests.post( 'https://api.example.com/submit', json=payload, proxies=proxies, headers={'Content-Type': 'application/json'}, timeout=25 ) output = { 'status_code': response.status_code, 'response': response.json() if response.headers.get('content-type', '').startswith('application/json') else response.text } . ",
    "url": "/docs/automation/zapier-integration/#http-post-request-with-json",
    "relUrl": "/docs/automation/zapier-integration/#http-post-request-with-json"
  },"2050": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "HTTP PUT Request",
    "content": "import requests proxy_url = input_data.get('proxy_url') proxies = {'http': proxy_url, 'https': proxy_url} record_id = input_data.get('record_id') updated_data = { 'status': input_data.get('status'), 'notes': input_data.get('notes') } response = requests.put( f'https://api.example.com/records/{record_id}', json=updated_data, proxies=proxies, timeout=25 ) output = { 'status_code': response.status_code, 'updated': response.status_code == 200 } . ",
    "url": "/docs/automation/zapier-integration/#http-put-request",
    "relUrl": "/docs/automation/zapier-integration/#http-put-request"
  },"2051": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Request with Custom Headers and Authentication",
    "content": "import requests proxy_url = input_data.get('proxy_url') api_key = input_data.get('api_key') proxies = {'http': proxy_url, 'https': proxy_url} headers = { 'Authorization': f'Bearer {api_key}', 'Content-Type': 'application/json', 'X-Custom-Header': 'Zapier-Integration' } response = requests.get( 'https://api.example.com/protected-endpoint', headers=headers, proxies=proxies, timeout=25 ) output = { 'status_code': response.status_code, 'data': response.json() } . ",
    "url": "/docs/automation/zapier-integration/#request-with-custom-headers-and-authentication",
    "relUrl": "/docs/automation/zapier-integration/#request-with-custom-headers-and-authentication"
  },"2052": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Error Handling",
    "content": "import requests proxy_url = input_data.get('proxy_url') proxies = {'http': proxy_url, 'https': proxy_url} try: response = requests.get( input_data.get('target_url'), proxies=proxies, timeout=25 ) response.raise_for_status() output = { 'success': True, 'status_code': response.status_code, 'data': response.json() if 'application/json' in response.headers.get('content-type', '') else response.text } except requests.exceptions.Timeout: output = { 'success': False, 'error': 'Request timed out', 'error_type': 'timeout' } except requests.exceptions.HTTPError as e: output = { 'success': False, 'error': str(e), 'error_type': 'http_error', 'status_code': e.response.status_code if e.response else None } except requests.exceptions.RequestException as e: output = { 'success': False, 'error': str(e), 'error_type': 'request_error' } . ",
    "url": "/docs/automation/zapier-integration/#error-handling",
    "relUrl": "/docs/automation/zapier-integration/#error-handling"
  },"2053": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "JavaScript Code Examples",
    "content": "JavaScript proxy support in Zapier is more involved because the built-in fetch does not accept a proxy. The examples below use the native http and https modules with the HTTP CONNECT method, so there are no packages to declare. On a paid plan you can instead declare a proxy-aware npm package in the step’s Packages panel, provided it ships an ESM build and contains no native modules. Check both before committing to one, and keep the native-module approach below as your fallback. Note: If possible, use Python instead. The Python approach is simpler and more reliable. ",
    "url": "/docs/automation/zapier-integration/#javascript-code-examples",
    "relUrl": "/docs/automation/zapier-integration/#javascript-code-examples"
  },"2054": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Basic HTTP GET with Proxy (Native http/https)",
    "content": "const http = require('http'); const https = require('https'); const { URL } = require('url'); // Parse proxy URL from Input Data const proxyUrl = new URL(inputData.proxy_url); const targetUrl = new URL(inputData.target_url || 'https://ip.quotaguard.com'); // Create proxy authorization header const proxyAuth = 'Basic ' + Buffer.from( proxyUrl.username + ':' + proxyUrl.password ).toString('base64'); // Use HTTP CONNECT method to tunnel through proxy const tunnelReq = http.request({ host: proxyUrl.hostname, port: proxyUrl.port || 9293, method: 'CONNECT', path: `${targetUrl.hostname}:443`, headers: { 'Proxy-Authorization': proxyAuth } }); return new Promise((resolve, reject) =&gt; { tunnelReq.on('connect', (res, socket) =&gt; { if (res.statusCode !== 200) { reject(new Error(`Proxy connection failed: ${res.statusCode}`)); return; } // Create HTTPS agent using the tunneled socket const agent = new https.Agent({ socket }); const req = https.get({ hostname: targetUrl.hostname, path: targetUrl.pathname + targetUrl.search, agent: agent, headers: { 'Host': targetUrl.hostname } }, (response) =&gt; { let data = ''; response.on('data', chunk =&gt; data += chunk); response.on('end', () =&gt; { try { resolve({ status_code: response.statusCode, data: JSON.parse(data) }); } catch { resolve({ status_code: response.statusCode, data: data }); } }); }); req.on('error', reject); }); tunnelReq.on('error', reject); tunnelReq.end(); }); . ",
    "url": "/docs/automation/zapier-integration/#basic-http-get-with-proxy-native-httphttps",
    "relUrl": "/docs/automation/zapier-integration/#basic-http-get-with-proxy-native-httphttps"
  },"2055": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Simplified JavaScript Helper Function",
    "content": "const http = require('http'); const https = require('https'); const { URL } = require('url'); async function fetchThroughProxy(targetUrl, proxyUrl, options = {}) { const proxy = new URL(proxyUrl); const target = new URL(targetUrl); const proxyAuth = 'Basic ' + Buffer.from( proxy.username + ':' + proxy.password ).toString('base64'); return new Promise((resolve, reject) =&gt; { const tunnelReq = http.request({ host: proxy.hostname, port: proxy.port || 9293, method: 'CONNECT', path: `${target.hostname}:443`, headers: { 'Proxy-Authorization': proxyAuth } }); tunnelReq.on('connect', (res, socket) =&gt; { if (res.statusCode !== 200) { reject(new Error(`Proxy failed: ${res.statusCode}`)); return; } const agent = new https.Agent({ socket }); const method = (options.method || 'GET').toUpperCase(); const reqOptions = { hostname: target.hostname, path: target.pathname + target.search, method: method, agent: agent, headers: { 'Host': target.hostname, ...options.headers } }; const req = https.request(reqOptions, (response) =&gt; { let data = ''; response.on('data', chunk =&gt; data += chunk); response.on('end', () =&gt; { resolve({ status: response.statusCode, headers: response.headers, body: data }); }); }); req.on('error', reject); if (options.body) { req.write(options.body); } req.end(); }); tunnelReq.on('error', reject); tunnelReq.end(); }); } // Usage const result = await fetchThroughProxy( inputData.target_url, inputData.proxy_url ); output = { status_code: result.status, data: result.body }; . ",
    "url": "/docs/automation/zapier-integration/#simplified-javascript-helper-function",
    "relUrl": "/docs/automation/zapier-integration/#simplified-javascript-helper-function"
  },"2056": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "4. Testing Your Implementation",
    "content": "Create a simple test Zap to verify your proxy configuration: . ",
    "url": "/docs/automation/zapier-integration/#testing-your-implementation",
    "relUrl": "/docs/automation/zapier-integration/#testing-your-implementation"
  },"2057": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Test Zap Structure",
    "content": ". | Trigger: Manual trigger (or any trigger you want) | Action: Code by Zapier (Run Python) | . ",
    "url": "/docs/automation/zapier-integration/#test-zap-structure",
    "relUrl": "/docs/automation/zapier-integration/#test-zap-structure"
  },"2058": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Test Code",
    "content": "Add a second Input Data field alongside proxy_url for this test: . | Key: expected_ips | Value: both IPs from your QuotaGuard dashboard, comma-separated | . import requests proxy_url = input_data.get('proxy_url') expected_ips = [ip.strip() for ip in input_data.get('expected_ips', '').split(',') if ip.strip()] proxies = {'http': proxy_url, 'https': proxy_url} response = requests.get( 'https://ip.quotaguard.com', proxies=proxies, timeout=25 ) observed_ip = response.json().get('ip') output = { 'your_static_ip': observed_ip, 'expected_ips': expected_ips, 'proxy_working': observed_ip in expected_ips } . proxy_working is the comparison itself rather than a constant, so the step tells you whether the request really left from one of your addresses. Fill expected_ips from the dashboard; the values below are only placeholders. ",
    "url": "/docs/automation/zapier-integration/#test-code",
    "relUrl": "/docs/automation/zapier-integration/#test-code"
  },"2059": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Expected Response",
    "content": "{ \"your_static_ip\": \"52.34.188.175\", \"expected_ips\": [\"52.34.188.175\", \"52.34.188.176\"], \"proxy_working\": true } . The returned IP must match either of your two assigned IPs shown in the QuotaGuard dashboard. You can repeat the Zap, but observing both addresses is not required for success. Allowlist both assigned IPs at the destination. ",
    "url": "/docs/automation/zapier-integration/#expected-response",
    "relUrl": "/docs/automation/zapier-integration/#expected-response"
  },"2060": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Keeping Credentials Secure",
    "content": "Do not hard-code your QuotaGuard credentials in the Code field. Use Zapier’s Input Data feature instead. ",
    "url": "/docs/automation/zapier-integration/#keeping-credentials-secure",
    "relUrl": "/docs/automation/zapier-integration/#keeping-credentials-secure"
  },"2061": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Recommended Setup",
    "content": ". | In your Code step, add Input Data fields: . | Key: proxy_url | Value: Your full QuotaGuard URL | . | | Key: api_key | Value: Any API keys for your target service | . | . | Reference these in your code: proxy_url = input_data.get('proxy_url') api_key = input_data.get('api_key') . | . This keeps credentials: . | Visible only to Zap editors | Out of the code logic | Easier to update without modifying code | . ",
    "url": "/docs/automation/zapier-integration/#recommended-setup",
    "relUrl": "/docs/automation/zapier-integration/#recommended-setup"
  },"2062": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Programmatic reference",
    "content": "Use the shared connection and allowlist, runtime and package constraints, Python examples including authenticated requests and error handling, JavaScript alternatives, verification and expected output, and credential handling above. Continue below for inbound webhooks, database HTTP APIs and SOCKS5 limitations, runtime budgets, troubleshooting and product distinctions. The early native-IP comparison and no-code relay option apply to both paths. ",
    "url": "/docs/automation/zapier-integration/#programmatic-reference",
    "relUrl": "/docs/automation/zapier-integration/#programmatic-reference"
  },"2063": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Inbound Webhooks (Reverse Proxy)",
    "content": "If a secure partner needs to send data TO your Zap but requires a static destination IP to open their firewall, QuotaGuard can help with inbound traffic too. ",
    "url": "/docs/automation/zapier-integration/#inbound-webhooks-reverse-proxy",
    "relUrl": "/docs/automation/zapier-integration/#inbound-webhooks-reverse-proxy"
  },"2064": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "How Inbound Proxy Works",
    "content": ". | Open your QuotaGuard dashboard | Navigate to Setup &gt; Inbound | Enter your Zapier Webhook URL (e.g., https://hooks.zapier.com/hooks/catch/12345/abcdef) | QuotaGuard generates a unique URL like a62b1d0b4983db763450411fd393b3ce-us-east-1.getstatica.com | . Your partner sends requests to this QuotaGuard URL, which resolves to your static IPs. QuotaGuard then forwards the traffic to your actual Zapier webhook. ",
    "url": "/docs/automation/zapier-integration/#how-inbound-proxy-works",
    "relUrl": "/docs/automation/zapier-integration/#how-inbound-proxy-works"
  },"2065": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Use Case",
    "content": "A financial institution needs to send transaction data to your Zap but only allows outbound traffic to whitelisted IP addresses. They can whitelist your QuotaGuard static IPs, send data to your QuotaGuard inbound URL, and you receive it in your standard Webhooks by Zapier trigger. ",
    "url": "/docs/automation/zapier-integration/#use-case",
    "relUrl": "/docs/automation/zapier-integration/#use-case"
  },"2066": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Database Connections (SOCKS5)",
    "content": "For non-HTTP protocols like PostgreSQL, MySQL, or MongoDB, use QuotaGuard’s SOCKS5 proxy on port 1080. ",
    "url": "/docs/automation/zapier-integration/#database-connections-socks5",
    "relUrl": "/docs/automation/zapier-integration/#database-connections-socks5"
  },"2067": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Limitations in Zapier",
    "content": "Zapier Code steps are ephemeral (serverless). Each execution starts fresh with no persistent connections. This creates challenges for database connections: . | Connection must open, execute, and close within Zapier’s timeout limits | Connection pooling is not possible | No keep-alive connections between Zap runs | . ",
    "url": "/docs/automation/zapier-integration/#limitations-in-zapier",
    "relUrl": "/docs/automation/zapier-integration/#limitations-in-zapier"
  },"2068": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Python Database Example",
    "content": "Python’s SOCKS5 support comes from PySocks, installed as requests[socks]. It is not pre-installed, but on a paid plan you can declare it in the step’s Packages panel, so library availability is no longer the obstacle it once was. What has not changed is the shape of the environment. A Code step is a short-lived sandbox with a per-plan runtime budget, no connection pooling, and no sockets kept open between runs, and Zapier’s Code documentation covers HTTP requests rather than raw outbound TCP. The alternatives below keep database access on HTTP, which is what the Code environment is documented to do. For database access from Zapier, consider these alternatives: . | API Wrapper: Create a simple API endpoint (using AWS Lambda, Google Cloud Functions, or a small server) that accepts HTTP requests and queries your database. Route the HTTP request through QuotaGuard. | Self-hosted automation: For complex database workflows, consider a self-hosted automation platform like n8n where you have full control over the environment. | Database HTTP APIs: Some databases offer HTTP/REST APIs (Supabase via PostgREST, Firebase, Neon’s SQL-over-HTTP, and similar) that you can reach through the HTTP proxy. MongoDB’s Atlas Data API is no longer one of them: it reached end of life on 30 September 2025. | . ",
    "url": "/docs/automation/zapier-integration/#python-database-example",
    "relUrl": "/docs/automation/zapier-integration/#python-database-example"
  },"2069": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Example: Using a Database via HTTP API",
    "content": "If your database provider offers an HTTP API: . import requests proxy_url = input_data.get('proxy_url') db_api_key = input_data.get('db_api_key') proxies = {'http': proxy_url, 'https': proxy_url} # Example: Supabase, which exposes PostgreSQL over PostgREST response = requests.get( 'https://your-project.supabase.co/rest/v1/users', params={'select': '*', 'status': 'eq.active'}, headers={ 'apikey': db_api_key, 'Accept': 'application/json' }, proxies=proxies, timeout=25 ) response.raise_for_status() output = { 'rows': response.json() } . Supabase’s publishable and secret keys are short strings rather than JWTs, and they belong on the apikey header. Add Authorization: Bearer &lt;token&gt; only when the request acts as a signed-in user and you have that user’s own JWT. Postgres checks grants before Row Level Security. The role needs SELECT access to the queried data. With RLS enabled, anon and authenticated roles also need a matching SELECT policy; secret keys use service_role and bypass RLS. Missing grants return a permission error; an RLS policy matching no rows returns an empty list. The same shape works for any database with an HTTP front end: swap the URL, the authentication headers, and the query parameters, and keep the proxies argument so the request leaves from your static IPs. ",
    "url": "/docs/automation/zapier-integration/#example-using-a-database-via-http-api",
    "relUrl": "/docs/automation/zapier-integration/#example-using-a-database-via-http-api"
  },"2070": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Latency Considerations",
    "content": "Using QuotaGuard adds a network hop to your requests: . | Configuration | Added Latency | . | Zapier (us-east-1) + QuotaGuard US-East | 10-30ms | . | Cross-region | 50-100ms | . Zapier Code steps have strict runtime limits. QuotaGuard’s latency is well within them and is typically not the bottleneck; the cold-start time of a Code step usually adds more delay than the proxy connection. Those runtime limits depend on your plan: . | Plan | Standard Code step runtime | . | Free | 1 second | . | Professional | 30 seconds | . | Team | 30 seconds | . | Enterprise | 2 minutes | . Professional, Team, and Enterprise can also request an extended runtime of up to 10 minutes, which applies to Code actions only, not Code triggers. Memory is 512 MB on every plan. For production Zaps, always include a timeout in your requests and keep it inside your plan’s limit. The timeout=25 used in the examples above leaves a little headroom on Professional’s and Team’s 30 seconds. On Free the whole step has 1 second, so set the request timeout inside that budget. ",
    "url": "/docs/automation/zapier-integration/#latency-considerations",
    "relUrl": "/docs/automation/zapier-integration/#latency-considerations"
  },"2071": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Troubleshooting",
    "content": " ",
    "url": "/docs/automation/zapier-integration/#troubleshooting",
    "relUrl": "/docs/automation/zapier-integration/#troubleshooting"
  },"2072": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "407 Proxy Authentication Required",
    "content": "Your proxy credentials are incorrect. Verify: . | Username and password in the proxy URL | The URL format is correct: http://username:password@hostname:9293 | You’re using the correct QuotaGuard product (Static vs Shield) | . ",
    "url": "/docs/automation/zapier-integration/#407-proxy-authentication-required",
    "relUrl": "/docs/automation/zapier-integration/#407-proxy-authentication-required"
  },"2073": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Connection Timeout",
    "content": ". | Ensure the target URL is correct and accessible | Add explicit timeout to your requests: timeout=25 | Check if the target service has additional firewall rules | Verify QuotaGuard proxy hostname is correct | . ",
    "url": "/docs/automation/zapier-integration/#connection-timeout",
    "relUrl": "/docs/automation/zapier-integration/#connection-timeout"
  },"2074": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "403 Forbidden (Still Getting Blocked)",
    "content": "After configuring the proxy, if you still see 403 errors: . | Verify the proxy is working by testing with ip.quotaguard.com | Confirm both QuotaGuard IPs are added to the target service’s allowlist | Check if the target service requires additional headers or authentication | Some services block by user-agent. Try adding a custom user-agent header. | . ",
    "url": "/docs/automation/zapier-integration/#403-forbidden-still-getting-blocked",
    "relUrl": "/docs/automation/zapier-integration/#403-forbidden-still-getting-blocked"
  },"2075": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Code Step Errors",
    "content": "“Process exited before completing request” . Your code is not returning properly. For Python, ensure you’re setting output. For JavaScript with async code, ensure you’re using await or properly handling Promises. “Scripting payload too large” . The response data exceeds Zapier’s limits. Filter or limit the response data before returning. ",
    "url": "/docs/automation/zapier-integration/#code-step-errors",
    "relUrl": "/docs/automation/zapier-integration/#code-step-errors"
  },"2076": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Python Import Errors",
    "content": "If you see ModuleNotFoundError, the library is not in the step’s environment. The standard library, requests, and BeautifulSoup are present by default; anything else has to be declared in the step’s Packages panel, which requires a paid plan. Package names are case-sensitive, so check the spelling and capitalization against PyPI. ",
    "url": "/docs/automation/zapier-integration/#python-import-errors",
    "relUrl": "/docs/automation/zapier-integration/#python-import-errors"
  },"2077": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "JavaScript Proxy Not Working",
    "content": "If using JavaScript and the proxy isn’t working: . | The built-in fetch takes no proxy argument, and Node’s environment-variable proxy support has to be enabled as the process starts, which a Code step does not control. See Understanding Zapier’s Code Environment for the versions involved, and use the http/https modules with the CONNECT method as shown above. | If you declared an npm package to handle the proxy, confirm it ships an ESM build. CommonJS-only packages and native modules do not load in Code steps. | Consider switching to Python, which has simpler proxy support. | . ",
    "url": "/docs/automation/zapier-integration/#javascript-proxy-not-working",
    "relUrl": "/docs/automation/zapier-integration/#javascript-proxy-not-working"
  },"2078": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "QuotaGuard Static vs QuotaGuard Shield",
    "content": "QuotaGuard offers two products for static IPs: . | Feature | QuotaGuard Static | QuotaGuard Shield | . | Protocol | HTTP/SOCKS5 | HTTPS/SOCKS5 over TLS | . | Outbound proxy URL | http://username:password@&lt;host&gt;:9293 | https://username:password@&lt;host&gt;:9294 | . | Encryption | Outbound HTTPS travels in a blind CONNECT tunnel; payload never decrypted. The app-to-proxy hop uses the plain HTTP proxy protocol | Outbound HTTPS travels in a blind CONNECT tunnel; payload never decrypted. The app-to-proxy hop is encrypted with TLS | . | Best for | General API access | HIPAA, PCI-DSS, regulated data | . | Starting price | $19/month | $29/month | . For most Zapier workflows, QuotaGuard Static provides everything you need. Choose Shield if you’re handling protected health information (PHI), payment card data, or have specific compliance requirements. ",
    "url": "/docs/automation/zapier-integration/#quotaguard-static-vs-quotaguard-shield",
    "relUrl": "/docs/automation/zapier-integration/#quotaguard-static-vs-quotaguard-shield"
  },"2079": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "Ready to Get Started?",
    "content": "Get in touch or create a free trial account. Get QuotaGuard for Zapier . View Zapier Integration Features . Contact Engineering Support . ",
    "url": "/docs/automation/zapier-integration/#ready-to-get-started",
    "relUrl": "/docs/automation/zapier-integration/#ready-to-get-started"
  },"2080": {
    "doc": "QuotaGuard and Zapier Integration Guide",
    "title": "QuotaGuard and Zapier Integration Guide",
    "content": "QuotaGuard Static IPs allow your Zapier workflows to send outbound HTTP requests through a load-balanced pair of static IP addresses. Once configured, you can use QuotaGuard’s IPs to connect to firewalled APIs, enterprise databases, and services that require IP allowlisting. This integration requires “Code by Zapier” steps. Standard Zap triggers and actions (like Gmail, Slack, or Webhooks by Zapier) cannot be proxied directly. QuotaGuard is specifically for custom code steps that need to reach external services requiring a known, static source IP address. ",
    "url": "/docs/automation/zapier-integration/",
    "relUrl": "/docs/automation/zapier-integration/"
  },"2081": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "Why Zoho Requests Get Blocked",
    "content": "Deluge scripts run inside Zoho’s cloud, and their outbound invokeUrl calls originate from Zoho’s shared infrastructure rather than from IP addresses you control. When the API you’re calling restricts access by source IP, those requests are rejected: . | 403 Forbidden from corporate firewalls and WAFs | Access denied from banking APIs and payment gateways | Blocked requests from any partner that maintains an IP allowlist | . Your code and API keys are fine. The target service is blocking requests because they arrive from IPs it doesn’t recognize. ",
    "url": "/docs/automation/zoho-integration/#why-zoho-requests-get-blocked",
    "relUrl": "/docs/automation/zoho-integration/#why-zoho-requests-get-blocked"
  },"2082": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "The Zoho Constraint",
    "content": "On most platforms, you point your HTTP client at the QuotaGuard proxy and you’re done. Zoho doesn’t give you that option: . | Deluge’s invokeUrl has no proxy setting. | Zoho’s managed environment can’t run our QGTunnel helper, which needs a long-running process alongside your app. | . So Deluge cannot send traffic through QuotaGuard directly. The working pattern is a small relay function that you host outside Zoho. ",
    "url": "/docs/automation/zoho-integration/#the-zoho-constraint",
    "relUrl": "/docs/automation/zoho-integration/#the-zoho-constraint"
  },"2083": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "The Relay Pattern",
    "content": "Deluge invokeUrl --&gt; your relay function --&gt; QuotaGuard proxy --&gt; target API . Your Deluge script calls the relay’s URL, passing the real target URL in a header. The relay forwards the request through QuotaGuard, so the target API sees one of your two static IPs. The response comes back to Deluge as the invokeUrl result. We publish a ready-to-use relay for AWS Lambda, including setup steps and a Deluge invokeUrl example: . python/lambda-relay in quotaguard/static-examples . It’s a single Python file you paste into a Lambda function in the AWS console. It uses only libraries already present in the Lambda runtime, so there is nothing to package, and it’s protected by a secret key that you set as an environment variable. The same pattern can be implemented in a Google Cloud Function if you prefer GCP; adapt the Lambda-specific event and response handling to that platform. Setup summary (details in the example’s README): . | Sign up for QuotaGuard and find your proxy connection details and both assigned IPs in the dashboard. | Create the Lambda, paste in the code, and set the QUOTAGUARDSTATIC_URL and RELAY_KEY environment variables. | Give the Lambda a Function URL with auth type NONE; the relay’s RELAY_KEY check protects it. Call it from Deluge with X-Relay-Key and X-Target-URL headers. Use the existing Deluge invokeUrl example. | Add both static IPs to the target API’s allowlist. Both are active simultaneously, so allowlist both. | . Choosing regions: create the Lambda in the AWS region closest to you, and pick the matching QuotaGuard region when you sign up. Your two static IPs stay the same regardless of how much traffic you send. ",
    "url": "/docs/automation/zoho-integration/#the-relay-pattern",
    "relUrl": "/docs/automation/zoho-integration/#the-relay-pattern"
  },"2084": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "QuotaGuard Static or QuotaGuard Shield",
    "content": "Use the Static relay linked above, or deploy the Shield relay for TLS between the relay and the proxy: . | Relay setting | QuotaGuard Static | QuotaGuard Shield | . | Environment variable | QUOTAGUARDSTATIC_URL | QUOTAGUARDSHIELD_URL | . | Proxy URL from your dashboard | http://username:password@&lt;host&gt;:9293 | https://username:password@&lt;host&gt;:9294 | . | Relay-to-proxy connection | HTTP | TLS-encrypted HTTPS | . Deploy the matching relay code: the Static example constructs an http:// proxy URL, while the Shield example preserves the URL’s scheme. Changing only the port or environment variable does not convert the Static relay to TLS. Deluge still calls the relay’s HTTPS Function URL with the same X-Relay-Key and X-Target-URL headers. For an HTTPS target, both products tunnel the relay-to-target TLS session without decrypting it at the proxy; Shield additionally encrypts the relay-to-proxy connection, including proxy credentials. Use an https:// target URL to protect the proxy-to-target connection too. The shared Static IP with no HTTP proxy guide explains the relay pattern for other platforms. ",
    "url": "/docs/automation/zoho-integration/#quotaguard-static-or-quotaguard-shield",
    "relUrl": "/docs/automation/zoho-integration/#quotaguard-static-or-quotaguard-shield"
  },"2085": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "What This Covers (and What It Can’t)",
    "content": "The published relays handle HTTP(S) calls from Deluge or other custom code where you control the URL being invoked. They return the response as UTF-8 text; binary downloads need different response handling. Both forward the method, body, Content-Type, and Authorization headers. The Shield relay also forwards Accept and headers prefixed with X-Fwd-: for example, X-Fwd-X-Api-Key: abc reaches the target as X-Api-Key: abc. It cannot change where Zoho’s built-in integrations connect from. If a Zoho app talks to an external service through a native connector rather than your Deluge code, that traffic goes out from Zoho directly and can’t be routed through QuotaGuard. Check which of your IP-restricted connections run through Deluge before planning the allowlist. ",
    "url": "/docs/automation/zoho-integration/#what-this-covers-and-what-it-cant",
    "relUrl": "/docs/automation/zoho-integration/#what-this-covers-and-what-it-cant"
  },"2086": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "Testing",
    "content": "Point X-Target-URL at https://ip.quotaguard.com. It returns the IP your request came from, which should be one of the two static IPs shown in your dashboard. A match to either assigned IP is valid; observing both addresses is not required. Allowlist both assigned IPs at the destination. Once that checks out, switch the target to the real API. ",
    "url": "/docs/automation/zoho-integration/#testing",
    "relUrl": "/docs/automation/zoho-integration/#testing"
  },"2087": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "Troubleshooting",
    "content": "Add detailed: true to invokeUrl to inspect the returned HTTP status, headers, and body. | Relay returns 403 with Forbidden: check that X-Relay-Key matches the function’s RELAY_KEY. Target APIs can also return 403, so check which service rejected the request. | Relay returns 400 with Missing X-Target-URL header: supply X-Target-URL with the full target URL, including https://. | Function logs a KeyError: set the environment variable named in the error. The matching proxy URL variable is required at startup, and RELAY_KEY is required when handling a request. | Call times out: the relay READMEs set the Lambda timeout to 30 seconds instead of the 3-second default. Zoho documents a 40-second invokeUrl response limit, so increasing Lambda’s timeout alone does not extend Deluge’s wait. | . If you run into anything odd during setup, contact support and include the error you’re seeing. ",
    "url": "/docs/automation/zoho-integration/#troubleshooting",
    "relUrl": "/docs/automation/zoho-integration/#troubleshooting"
  },"2088": {
    "doc": "QuotaGuard and Zoho Deluge Integration Guide",
    "title": "QuotaGuard and Zoho Deluge Integration Guide",
    "content": "QuotaGuard Static IPs let your Zoho applications reach APIs and services that require IP allowlisting. This guide covers Deluge scripts across the Zoho suite (CRM, Creator, Flow, and the rest of Zoho One) and explains the one extra piece Zoho needs compared to other platforms. ",
    "url": "/docs/automation/zoho-integration/",
    "relUrl": "/docs/automation/zoho-integration/"
  }
}
