Select the “Connectors” tab on the top page and press the “Create” button.
2
Enter Mailchimp Credentials
Select Mailchimp and press the sign-in button.After entering the information, press the Create button to complete the creation. If there are any errors in the parameters, an error message will be displayed, so please check the connection details again.
3
Retrieve access_token from the Created Connector
Once the creation is successful, you can retrieve the connector name from the list.Use the dedicated function to input the connector name in the Python code and retrieve the access_token.
Copy
import morphfrom morph import MorphGlobalContextfrom morph_lib.api import get_auth_token@morph.funcdef main(context: MorphGlobalContext): access_token = get_auth_token("connection_name") # ↓↓↓ Process using access_token ↓↓↓