# How to get nextflow pull to work with github enterprise

**URL:** <https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519>\
**Category:** Ask for help\
**Created:** [February 27, 2024, 1:05pm UTC](https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519 "2024-02-27T13:05:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Neaves](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/sam_neaves/32/497_2.png) [@Sam\_Neaves](https://community.seqera.io/u/Sam_Neaves)\
**Post date:** [February 27, 2024, 1:05pm UTC](https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519/1 "2024-02-27T13:05:21Z")

</div>

I want to be able to run:

```auto
nextflow pull https://github.com/AI-Digital-Research/targetevaluator

```

which is a private repo in github enterprise

I normally access the github with ssh keys, I dont think there is the option to create an access token.

What bash vars do I need and how do I set up the scm file?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![mribeirodantas](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mribeirodantas/32/235_2.png) [@mribeirodantas](https://community.seqera.io/u/mribeirodantas)\
**Post date:** [February 27, 2024, 3:21pm UTC](https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519/2 "2024-02-27T15:21:19Z")

</div>

Hey, @Sam_Neaves. You will find instructions on configuring your credentials to pull private repositories [here](https://www.nextflow.io/docs/latest/sharing.html#scm-configuration-file), in the official docs.

It’s basically adding credentials about the SCM provider in the `$HOME/.nextflow/scm` file, like:

```auto
providers {
    github {
        user = 'your-user-name'
        password = 'your-personal-access-token'
    }
}

```

**Pay attention to the green box with instructions for the GitHub token in recent versions of Nextflow 😉**

---

<div class="post-metadata">

**Author:** ![Sam\_Neaves](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/sam_neaves/32/497_2.png) [@Sam\_Neaves](https://community.seqera.io/u/Sam_Neaves)\
**Post date:** [February 28, 2024, 8:40am UTC](https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519/3 "2024-02-28T08:40:50Z")

</div>

Thanks for the reply. I found that information but still no luck in getting it to work :S

I get an error:

WARN: Cannot read project manifest – Cause: Remote resource not found:

---

<div class="post-metadata">

**Author:** ![mribeirodantas](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mribeirodantas/32/235_2.png) [@mribeirodantas](https://community.seqera.io/u/mribeirodantas)\
**Post date:** [February 28, 2024, 1:27pm UTC](https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519/4 "2024-02-28T13:27:10Z")

</div>

Please check the discussion [here](https://github.com/nextflow-io/nextflow/issues/4310) and see if you can make it work by using what Trevor did. Then, let me know of the outcome, please 🙂

---

<div class="post-metadata">

**Author:** ![mribeirodantas](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/mribeirodantas/32/235_2.png) [@mribeirodantas](https://community.seqera.io/u/mribeirodantas)\
**Post date:** [March 13, 2024, 1:36pm UTC](https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519/5 "2024-03-13T13:36:26Z")

</div>

Hey, @Sam_Neaves. Have you managed to make it work? 🙂

---

<div class="post-metadata">

**Author:** ![Sam\_Neaves](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/sam_neaves/32/497_2.png) [@Sam\_Neaves](https://community.seqera.io/u/Sam_Neaves)\
**Post date:** [March 13, 2024, 4:07pm UTC](https://community.seqera.io/t/how-to-get-nextflow-pull-to-work-with-github-enterprise/519/6 "2024-03-13T16:07:43Z")

</div>

Thanks for the reply and follow up. I have been taken off working on this for the time being so I have not tried your suggestions.
