{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Guides","type":"markdown"},"seo":{"title":"Use TD Toolbelt behind a proxy","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"use-td-toolbelt-behind-a-proxy","__idx":0},"children":["Use TD Toolbelt behind a proxy"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can configure TD Toolbelt to use a proxy by setting environment variables in your shell."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["HTTP_PROXY"]}," environment variable. Proxy support is available in TD Toolbelt version v0.10.41 and later."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"powershell","header":{"controls":{"copy":{}}},"source":"$env:HTTP_PROXY = \"http://proxy_host:proxy_port\"\n$env:HTTPS_PROXY = \"https://proxy_host:proxy_port\"\n","lang":"powershell"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"export HTTP_PROXY=http://proxy_host:proxy_port\nexport HTTPS_PROXY=https://proxy_host:proxy_port\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can set the user and password for proxy authentication in this format:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["user:passwd@proxy_host:proxy_port"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":1},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you do not want to run the above commands every time, for Windows, you can set the environment variable, and for Linux and other platforms, you can set it in your ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".bash_profile"]}," file."]}]},"headings":[{"value":"Use TD Toolbelt behind a proxy","id":"use-td-toolbelt-behind-a-proxy","depth":1},{"value":"Troubleshooting","id":"troubleshooting","depth":2}],"frontmatter":{"seo":{"title":"Use TD Toolbelt behind a proxy"}},"lastModified":"2026-02-17T05:21:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/tools/cli-and-sdks/proxy-access","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}