How to make one database talk to an elgg database?

Is there any possible way to do this?