Express and normal Node.js

How would you recommend setting up Sentry (raven), when you both have an express application and “normal” serverside code?

I have configured raven with the middleware, as recommended by the docs and it works. So my question is, how would you use raven outside express?

A simple use case could be an extensive start up script, before the express server. Would you just wrap that script in a simple context?