To get started you will need to login to your ONID (http://www.onid.orst.edu) account and click on the "Web Database" option. If you haven't already created your database, you should do so now. If you've already created it, you will see the information would need to connect to the database (hostname, database name, username and password).
For more information on using CGI from your Engineering account, see these documents:
If you have any issues connecting to the database or with your scripts, please contact support, not ONID support.