# Which credential do I use?

> Pick the CloudRepo credential for a build: your own repository token for your laptop, or an organization token for CI that the owner or an Admin makes.

Every build tool signs in to CloudRepo with a repository token. The question is who owns it: you, or your organization.

|                        | Your own repository token                                                                      | Organization token                                                                                        |
| ---------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| For                    | Your laptop and your own builds                                                                | CI and build servers                                                                                      |
| Who owns it            | You. It acts as you, and stops working if you leave.                                           | Your organization. It belongs to your organization, not to a person, so removing members never breaks it. |
| Who makes it           | Any user, for themselves                                                                       | The organization owner or an Admin                                                                        |
| Username in your build | Your email address                                                                             | `token`                                                                                                   |
| Make one               | [Create a token](/docs/authenticate/repository-tokens.html#create-a-token-in-the-admin-portal) | [Make an organization token](/docs/authenticate/repository-tokens.html#service-keys-for-your-pipelines)   |

Use an organization token for anything your team shares, such as a CI pipeline. A build on your own token stops when you leave the organization.

Subscriber access keys for your customers, and `npm login` tokens, are compared in [Pick the Right Credential](/docs/authenticate/repository-tokens.html#pick-the-right-credential).

## Setting Up CI

Do not run CI as a member account on a shared mailbox. CloudRepo emails a password reset to the member’s own address, so anyone who can read that mailbox, and who can reset passwords in your organization, could choose a new password for the account.

Give your CI an [organization token](/docs/authenticate/repository-tokens.html#service-keys-for-your-pipelines) instead.

---

The page: https://www.cloudrepo.io/docs/authenticate/which-credential.html
