Use ProviderConfig helper to get object from domain.
Work in progress