description |
---|
How to connect to an existing database using the TerminusDB Python Client |
If you have created a Team in TerminusCMS and put an API key in your environment you can connect to an existing database in the following way:
team = "MyTeam",
client.connect(db="nuclear", team=team, use_token=True)
You can connect to a database with basic authorisation just by using the connect
member function.
team = "MyTeam",
client.connect(db="nuclear")
If you want to connect as a specific user and with a specific password, you can pass them here:
team = "MyTeam",
client.connect(db="nuclear")