How exactly the SPF entry has to look like always depends on how you use the email service. What SPF does is explained in the article What is SPF? explained.
By default, the following entry in the form of a DNS record of type TXT is sufficient.
Contents: v=spf1 a mx -all
TTL: Doesn’t matter