Setting up SMTP Relay with Sendgrid

I’m sorry to ask this but could you please be more specific in the steps?

I found this link: https://sendgrid.com/docs/Integrate/Mail_Servers/postfix.html but it didn’t work for me saying that the auth didn’t work but the credentials are definitely correct.