How to find my Neptune API Token?

Problem

I don’t know where to find my Neptune api token. How can I get it?

Solution

To get your api token, go to the terminal and type:

1
neptune account api-token get

Note

It is also a good idea to put it in the NEPTUNE_API_TOKEN environmental variable for future use. You can either do it via:

1
export NEPTUNE_API_TOKEN=YOUR_TOKEN

or add export NEPTUNE_API_TOKEN=YOUR_TOKEN to your ~/.bashrc or ~/.bash_profile files.

See also