Use something to export the database to a text file of some sort.
Use a scripting tool (Python, etc) to write a program that converts the format of the file to the format that Forge requires. This will require computer programming.
There are no shortcuts to doing this. Every time I do this myself, the source files have their own unique formatting needs, and there is always custom work to be done to make it happen.