# \[solved\] Clone repo using Token

**URL:** <https://forum.gitea.com/t/solved-clone-repo-using-token/1816>\
**Category:** Install/Maintain/Configure\
**Created:** [January 17, 2020, 7:55am UTC](https://forum.gitea.com/t/solved-clone-repo-using-token/1816 "2020-01-17T07:55:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr-Reca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/mr-reca/32/679_2.png) [@Mr-Reca](https://forum.gitea.com/u/Mr-Reca)\
**Post date:** [January 17, 2020, 7:55am UTC](https://forum.gitea.com/t/solved-clone-repo-using-token/1816/1 "2020-01-17T07:55:00Z")

</div>

Hello everyone,

I’m trying to link Jenkins with Gitea. When installing Jenkins, it shows me that I need to create an specific account for jenkins (in order to download the repo) and an Access Token.

I have configurated that Access, but I want to test it.

How can I check that the Token is working? Can I clone a repo using the username & the Token as credentials, or maybe using curl?

Thanks,

---

<div class="post-metadata">

**Author:** ![buddyspencer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/buddyspencer/32/4770_2.png) [@buddyspencer](https://forum.gitea.com/u/buddyspencer)\
**Post date:** [January 17, 2020, 10:38am UTC](https://forum.gitea.com/t/solved-clone-repo-using-token/1816/2 "2020-01-17T10:38:01Z")

</div>

Hi,

you are able to clone a repo via username and the token as password.

---

<div class="post-metadata">

**Author:** ![Mr-Reca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/mr-reca/32/679_2.png) [@Mr-Reca](https://forum.gitea.com/u/Mr-Reca)\
**Post date:** [January 17, 2020, 11:11am UTC](https://forum.gitea.com/t/solved-clone-repo-using-token/1816/3 "2020-01-17T11:11:33Z")

</div>

That’s good to know! I was looking for documentation, but I was not able to find anything.

Thank you so much,

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [February 14, 2020, 11:47pm UTC](https://forum.gitea.com/t/solved-clone-repo-using-token/1816/4 "2020-02-14T23:47:21Z")

</div>


