# Get HF token into custom handler

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fget-hf-token-into-custom-handler%2F79355%3E%5C
**Category:** Inference Endpoints on the Hub\
**Created:** [March 29, 2024, 10:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fget-hf-token-into-custom-handler%2F79355 "2024-03-29T22:16:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryanhealey](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/bryanhealey/32/25061_2.png) [@bryanhealey](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbryanhealey)%5C
**Post date:** [March 29, 2024, 10:16pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fget-hf-token-into-custom-handler%2F79355%2F1 "2024-03-29T22:16:38Z")

</div>

how do I inject my HF token into my endpoint code to use a secured model?
