External database - documentation

Great Plugin, can you tell me where can I find examples or documentation?

How do I connect to an external database? Can I use nodejsdb?

Thanks in advance.