Skip to content

Working with AWS#

The Neptune–AWS integration lets you initialize Neptune by reading your credentials from AWS Secrets.


Before you start#

Installing the neptune–aws integration#

On the command line or in a terminal app, such as Command Prompt, enter the following:

pip install -U "neptune[aws]"
conda install -c conda-forge neptune-aws


You can now initialize a Neptune run by passing the name of the secret and an AWS region:

from import init_run 

run = init_run(
    secret="neptune-secret",  # Use your secret name here
    region="us-west-1",  # Use the appropriate region here