docs(guide/providers): fix example snippet

Closes #6331
Closes #6332