Integration with external URL

Hello,

I have requirement to post issue data to external URL when ticket created/updated using custom app.

I used https://developer.atlassian.com/platform/forge/automate-jira-using-triggers/ and able to get the EventType trigger the action. Currently, I am keeping external site credentials on the file. Is it possible to create a UI so admin can configure username and password and app can read those values. How can we to it? Please suggest. Thanks!