If you have a physical key, you can enter it manually in the app under File > Account > Change Product Key .
Getting Started with Microsoft Office 2019: Your Essential iLoadZone Guide