If running Financial Edge, set which database to post to on the General Ledger page in Configuration.

If running General Ledger 6.4, set which database to post to on the General Ledger page in Configuration and run the ConnectREtoGL.exe found in the tools directory on the Accounting for Nonprofits installation CD.