For your python app to interact with fauna, you need to create an API key for the database. To do this, go to the security tab on the left side of your screen.
Click on New Key
to generate a secret key. To create the key, you will need to provide a name for your key and save it.
Your secret key will now be displayed to you, as seen in the image below. Copy and paste it somewhere you can easily retrieve it.
client = FaunaClient(secret="fnAETH3xELAAxp99WYA-8_xMLqFM1uMTfAwZYmZO", domain="db.eu.fauna.com",
#NOTE: Use the correct domain for your database's Region Group.
port=443,
scheme="https")