How to setup a Database activity.