Add railtie for setting the api key via configuration file