How to get username password for GrapheneDB addon on Heroku

220 Views Asked by At

I want to connect to the graphenedb url from my node.js application, it is mentioned in documentation , to configure

$ heroku config:get GRAPHENEDB_URL

http://:@resourceId.station-name.stations.graphenedb.com:24789/db/data

but where can i get the username and password to include in the url ? i have tried connecting directly using neo4j-driver with bolt:// url, with default username: neo4j password: neo4j, it returned

Neo4jError: The client is unauthorized due to authentication failure.

2

There are 2 best solutions below

1
cybersam On

GrapheneDB has its own authentication system. Follow the documentation to create a GrapheneDB username and password.

0
kiran goud On

In cmd prompt type

For Url

heroku config:get GRAPHENEDB_BOLT_URL -a appname

For username

heroku config:get GRAPHENEDB_BOLT_USER -a appname

For password

heroku config:get GRAPHENEDB_BOLT_PASSWORD -a appname