Add endpoint configuration.

We'd like to be able to tweak which endpoint the plugin uses in the config.