You can either create a dialog user or a technical user. However, it is recommended that you create a technical user as their password does not expire.
Create a user profile that has rights to the following:
- rights to make RFC calls, at least the Authorization
check for RFC Access role
- rights to access the authorization objects of any IDoc