> For the complete documentation index, see [llms.txt](https://docs-presto.gateway.fm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-presto.gateway.fm/overview/features-for-developers/how-to-use-presto-with-web3.py.md).

# How to use Presto with web3.py

1. Create your rollup ([How to Create a Rollup](/overview/main-functionality/how-to-create-a-rollup.md)), open it and get the RPC url ([What Is RPC](/overview/features-for-developers/what-is-rpc.md))<br>

   <figure><img src="https://1439499438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fti15D1ubA4vJmpJV8XEc%2Fuploads%2Fo3JlP11g34wgw3TpDhWG%2Frpc-link.png?alt=media&amp;token=1cf3f06c-c8cf-4a24-8159-442d63bab23f" alt=""><figcaption></figcaption></figure>

```python
from web3 import Web3

presto = Web3(
    Web3.HTTPProvider(
        "<L2 RPC URL>"
    )
)
```
