Add endpoint configuration.