How to request access for Facebook and IG business Page

Hello Makers, I need a help in how can i automate the Fb and Ig business page access for posting Images and videos Like when we connect fb & ig to scenario, a pop up opens asking for our access. How can i do something like that. Any ideas and suggestions on this.