---
title: Cypress Authentication | TestingBot
description: How to authenticate with the TestingBot Cypress CLI.
source_url:
  html: https://testingbot.com/support/web-automate/cypress/authentication
  md: https://testingbot.com/support/web-automate/cypress/authentication/index.md
---
# Authentication Options

To use the TestingBot CLI, you'll need to authenticate with our Service.   
 You can authenticate in two ways:

- Specify [environment variables](https://testingbot.com#environment)
- [Adding the credentials](https://testingbot.com#file) in the `testingbot.json` file 

## Environment Variables

You can set the following two environment variables before using the CLI:

    TESTINGBOT_KEY=your_testingbot_key

    TESTINGBOT_SECRET=your_testingbot_secret

The CLI will automatically pick up these two variables and use them to authenticate.   
 You can find these two values in our [member dashboard](https://testingbot.com/members/user/edit).

## Credentials in Config File

You can set the [TestingBot Key and Secret values](https://testingbot.com/members/user/edit) in the `testingbot.json` file:

    {
        "auth": {
            "key": "TESTINGBOT_KEY",
            "secret": "TESTINGBOT_SECRET"
        },
        ...
    }

Was this page helpful? Yes No 

## Looking for More Help?

Have questions or need more information?   
 You can reach us via the following channels:

- [Email us](https://testingbot.com/contact/new)
- [Join our Slack Channel](https://join.slack.com/t/testingb0t/shared_invite/zt-3bcw9xch-jk19~6XPs_xBrsAgAedkCw)
