# Authentication for the Eclipse plugin

Once the CLI is downloaded you will be redirected to the browser to authenticate and then connect the IDE with your account.

## Steps in authentication

* You get a notification that a browser window will open (lower right).

![Notification, browser window opening for authentication](https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2F9WKx3DR1CxtSRJZkPaNv%2FScreenshot%202022-05-13%20at%2011.29.37.png?alt=media\&token=00af0405-8b26-482f-8580-32d5a9d08d41)

* Once you are redirected to the browser for authentication, click **Authenticate**.

![Authenticate](https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2F4u6w6w4i5ZKEfellVd0B%2FScreenshot%202022-05-13%20at%2011.30.02.png?alt=media\&token=e9bc4e8c-c55d-4956-837c-51aeeb46a2e0)

* You should see a successful message saying you've been authenticated.

![Confirmation of authentication](https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2FHemNGootPLPqsIqSaKzN%2FScreenshot%202022-05-13%20at%2011.30.30.png?alt=media\&token=4b2c72e7-4c46-43d2-b034-2791caaec929)

* Going back to the IDE, you should see a confirmation that the IDE has been successfully connected and the API token has been securely stored (lower right).

![Confirmation of connection](https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2FfHev2mN1BS0mM1uEHECK%2FScreenshot%202022-05-13%20at%2011.30.54.png?alt=media\&token=2364265d-53a6-46d9-9508-f5a64738bc90)

To verify that the Eclipse plugin is ready to start scanning, be sure the Snyk preferences show the following after the downloads and the authentication are done:

* Language server path that the Eclipse plugin will use
* Snyk CLI path that the Eclipse plugin will use
* Snyk API token, securely stored through the Eclipse's secure storage mechanism

![Snyk preferences](https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2FlRwypg9ra8NLZ9uLyBRA%2Fimage.png?alt=media\&token=088cbc89-069e-4be2-9f0d-9c2e52cb1d6b)

## Configure the API token manually

You can provide the API token by copying it from your [account settings](https://app.snyk.io/account) and paste it into the Eclipse preferences Snyk API Token field. Click **Apply and Close** once the token has been set.

![Configure token](https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2Fgit-blob-521981d7e6b7a2d16b5695701cfea64e3b22c95d%2Fimage%20\(170\).png?alt=media)

## Next steps

Change the [configuration settings](https://docs.snyk.io/ide-tools/eclipse-plugin/configuration-of-the-eclipse-plugin) as needed and set the [environment variables](https://docs.snyk.io/ide-tools/eclipse-plugin/environment-variables-for-the-eclipse-plugin).
