Skip to content

Connect to Neptune from your code#

To connect to your self-hosted 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 Neptune app, expand the user menu 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 Expose Neptune.