---
title: How do I access the Access Token inside my code? | Dhan Support
url: https://dhan.co/support/platforms/dhanhq-api/how-do-i-access-the-access-token-inside-my-code/
page_type: support_answer
last_updated: 2026-11-23
---

# How do I access the Access Token inside my code?

The Access Token is available through the environment or global variables provided within the Dhan Cloud environment.
