Add endpoint to config.