Open your Google Search Console account.
Select Domain as the property type. Insert your domain (domain.com) there and hit Continue.
3. Choose to verify domain ownership via DNS record. Copy the value for a TXT record.
5. Go back to the Google Search Console and click Verify. You will see this, once verified: