Welcome to the Community. Let me help you record grants in QuickBooks Online.
You can use the Bank deposit option to enter grants you received. However, I recommend consulting an accountant for expert advice about the account best to use during the process.