accept now an API key to get a token from the engine