Connecting to Neptune from your code#
To connect to your Neptune instance, use the Neptune API token obtained from your local installation.
The external address of the Neptune instance is encoded in the token.
How do I find my API token?
In the top-right corner of the Neptune app, click your avatar and select Get your API token.
You can copy your token from the dialog that opens. It's very long – make sure to copy and paste it in full!
For how to expose your installation (so you can load the Neptune app in a browser), see Exposing Neptune.