Path: blob/master/Algolia/Algolia_Setup_connection.ipynb
2973 views
Kernel: Python 3
Algolia - Setup connection
Tags: #algolia #naas #secret #connection #setup
Author: Florent Ravenel
Last update: 2023-11-21 (Created: 2023-11-21)
Description: This notebook help you setup your connection with Algolia and add required credentials to Naas secret. You will be able to establish a seamless connection to Algolia without the need to repeatedly redefine your credentials in variables by using naas.secret.get()
in your notebook.
Input
Import libraries
In [ ]:
Setup variables
Mandatory
app_id
: Algolia application ID. This value will be stored under the secret 'ALGOLIA_APP_ID'.api_key
: Algolia API key. This value will be stored under the secret 'ALGOLIA_API_KEY'.
Optional
secrets
: Dict to add secrets to naas
In [ ]:
Model
Add secret
In [ ]:
Output
Display result
In [ ]:
In [ ]: