bootstrapping how to add support for custom provider