How to pass snowflake’s external_access_integrations & secret key in dbt python model

We have a business requirement wherein we would like to implement a dbt python model or macro to invoke a API call . This requires a snowflake’s external_access_integrations & secret key to pass . But we are not sure where & how to use these objects in dbt python model

https://docs.getdbt.com/docs/build/python-models#specific-data-platforms|https://docs.getdbt.com/docs/build/python-models#specific-data-platforms

Note: @Jeremy Yeo originally posted this reply in Slack. It might not have transferred perfectly.

^ there should be an example on that page

Note: @Jeremy Yeo originally posted this reply in Slack. It might not have transferred perfectly.