> For the complete documentation index, see [llms.txt](https://docs.espresso.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.espresso.ai/snowflake-optimizer/proxy-onboarding/proxy-onboarding-python.md).

# Python

If you have custom Python code, add or modify the `host` parameter to your connection initialization to point to the Espresso Proxy, e.g.

```python
import snowflake.connector

conn = snowflake.connector.connect(
    ...
    host="<your_locator>.espressocomputing.com",
)
```
