# Api authentication for loading script

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fapi-authentication-for-loading-script%2F80933%3E%5C
**Category:** 🤗Datasets\
**Created:** [April 9, 2024, 5:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fapi-authentication-for-loading-script%2F80933 "2024-04-09T17:30:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayseguldalgic](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@ayseguldalgic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fayseguldalgic)%5C
**Post date:** [April 9, 2024, 5:30pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fapi-authentication-for-loading-script%2F80933%2F1 "2024-04-09T17:30:22Z")

</div>

Hello HF community. I am trying to build loading script by means of HF dataset guide. I uploaded my dataset files on my github as private repo. But i can not set api authentication for following code snippets. How can i solve this? If you have any idea, i would be grateful.

```
def _split_generators(self, dl_manager):
    downloaded_files = dl_manager.download_and_extract(_URLS)

```
