How do I record a grant from a company?

Did you have a search of the forum? I can see a few posts covering this subject:

Tagging Grant / Donation Funding

Accounting for a grant

How do I log a grant