I created another discussion to even setting up Gateway with Access Grant to begin with.
Gateway set up: Unauthorized API credentials