global connection settings

Monostate global element with api configuration