Guide to creating a simple Custom Target System

I hoping someone can point me in the right direction or a handy document.

I want to add a basic Custom Target System that will be able to interact with a database outside of One Identity Manager when an employee gets assigned a Business Role.

Many thanks

Werner