# How to create an access token for another user?

**URL:** <https://forum.buildkite.community/t/how-to-create-an-access-token-for-another-user/3488>\
**Category:** General\
**Created:** [January 15, 2024, 3:23pm UTC](https://forum.buildkite.community/t/how-to-create-an-access-token-for-another-user/3488 "2024-01-15T15:23:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RRosa](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@RRosa](https://forum.buildkite.community/u/RRosa)\
**Post date:** [January 15, 2024, 3:23pm UTC](https://forum.buildkite.community/t/how-to-create-an-access-token-for-another-user/3488/1 "2024-01-15T15:23:52Z")

</div>

Hello, I’ve a pretty basic question, but can’t find an answer to it.  
If I have created a bot user for my CI, how can I create a token for them?

---

<div class="post-metadata">

**Author:** ![jared](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/jared/32/1304_2.png) [@jared](https://forum.buildkite.community/u/jared)\
**Post date:** [January 15, 2024, 3:34pm UTC](https://forum.buildkite.community/t/how-to-create-an-access-token-for-another-user/3488/2 "2024-01-15T15:34:04Z")

</div>

Hi @RRosa 👋

To create a token for your Bot User, you’d want to login into that Bot User’s Buildkite account and navigate to this page: [https://buildkite.com/user/api-access-tokens](https://buildkite.com/user/api-access-tokens). You can find this by clicking on the profile image of the user in the top right of our UI and then navigating to **API Access Tokens** on the left hand side bar under the user details after logging in.

If your Bot User does not yet have it’s own Buildkite Account, you’ll need to create one for it first, invite it to your organization and then follow the above link to create the token. 😄

From there, you can create API access tokens for both GraphQL and Rest API, or either one based on scoping for that specific Bot User.

---

<div class="post-metadata">

**Author:** ![RRosa](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@RRosa](https://forum.buildkite.community/u/RRosa)\
**Post date:** [January 15, 2024, 4:02pm UTC](https://forum.buildkite.community/t/how-to-create-an-access-token-for-another-user/3488/3 "2024-01-15T16:02:03Z")

</div>

Thank you @jared!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/system/32/1321_2.png) [@system](https://forum.buildkite.community/u/system)\
**Post date:** [February 15, 2024, 2:02am UTC](https://forum.buildkite.community/t/how-to-create-an-access-token-for-another-user/3488/4 "2024-02-15T02:02:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
