How to use local provider

Docs are there.