When you are logged in to your account, go to the domain dashboard for which you want to add the record.
In the Hostname field, if you are setting up the record for the root domain, e.g. mydomain.com, you can leave it blank. It's usually left blank, and once the record is saved the field will show @.
If you are setting up the record for a subdomain, e.g. mail.mydomain.com, then you would enter "mail" in that field.
In the Type drop-down list, select TXT. (Yes, even though you're creating an SPF record.)
Add the Value, which could be an alphanumeric code, a word, or combination phrase. It should be supplied by your email hosting provider.
Leave the TTL as is at 3600.
Click the blue add button, then click Save DNS Settings.
Google Workspace: Ensure mail delivery & prevent spoofing (SPF)
Zoho Mail: Sender Policy Framework