# How to Sync GrowSurf Referral Data to Mailjet Contacts > Connect Mailjet to GrowSurf with an API key and secret, pick a list, and sync 15 referral contact properties. - URL: https://growsurf.com/integration-guides/mailjet-referral-contact-sync/ --- [← View All Guides](/integration-guides/) An API key and secret key, one contact list, and every contact carries their referral link as a property. Want the full setup walkthrough? Use these docs for exact setup steps, supported fields, and troubleshooting. [GrowSurf Mailjet setup guide](https://docs.growsurf.com/integrations/mailjet) [Mailjet templating language docs](https://dev.mailjet.com/docs/email-api/send-api-v31/templating-language) GrowSurf adds and updates contacts in the Mailjet list you choose and creates the contact properties holding each participant’s referral link, referral counts, referrer details, and milestone progress. Mailjet issues API credentials in pairs. GrowSurf needs both halves — the API key and the secret key — so copy them together. ## Integration Steps ### Get both Mailjet keys Copy your API key and secret key from [Mailjet > Account > API Key Management](https://app.mailjet.com/account/apikeys). The secret is shown when the pair is created, so grab it at the same time as the key. ### Connect Mailjet in GrowSurf Open **Program Editor > 4. Options > Integrations** and search for Mailjet. Searching for Mailjet in the GrowSurf Program Editor integrations listSearch the integrations list in Program Editor > 4. Options > Integrations. Expand the card, enter both values, and submit. The Mailjet API key and secret key fields in the GrowSurf Program EditorMailjet takes both halves of the credential pair. Connect before importing participants; the sync covers people added from that point on. Already imported? Use the [existing-participant sync options](https://support.growsurf.com/article/385-how-can-i-sync-my-growsurf-participants-to-my-esp). ### Choose the Mailjet list and save Pick the contact list GrowSurf should keep current, then save changes. Contacts are added or updated there whenever someone joins your program or gets referred. ### Know your contact properties | GrowSurf data | Contact property | Type | What it holds | | --- | --- | --- | --- | | Share URL | [[data:grsf_share_url]] | Text | The participant’s unique referral link | | Participant ID | [[data:grsf_participant_id]] | Text | The participant’s GrowSurf ID | | Referral Status | [[data:grsf_referral_status]] | Text | CREDIT_PENDING, CREDIT_AWARDED, or CREDIT_EXPIRED | | Participant first name | [[data:grsf_participant_first_name]] | Text | The participant’s first name | | Participant last name | [[data:grsf_participant_last_name]] | Text | The participant’s last name | | Referrer first name | [[data:grsf_referrer_first_name]] | Text | The referrer’s first name, when there is one | | Referrer last name | [[data:grsf_referrer_last_name]] | Text | The referrer’s last name, when there is one | | Referrer email | [[data:grsf_referrer_email]] | Text | The referrer’s email, when there is one | | Total referral count | [[data:grsf_total_referral_count]] | Number | All-time referral count | | Monthly referral count | [[data:grsf_monthly_referral_count]] | Number | Referral count for the current month | | Previous monthly referral count | [[data:grsf_prev_monthly_referral_count]] | Number | Referral count for the previous month | | Next milestone | [[data:grsf_next_milestone]] | Text | The next milestone message, on programs with milestone rewards | | Next monthly milestone | [[data:grsf_next_monthly_milestone]] | Text | The next monthly milestone message, when there is one | | Total invite count | [[data:grsf_total_invite_count]] | Number | All-time invite count | | Total impression count | [[data:grsf_total_impression_count]] | Number | All-time referral-link view count | Mailjet reads stored contact properties with the `[[data:...]]` form. Use them exactly as shown in campaign content. ## Tips #### Both halves, every time An API key without its secret will not authenticate. If you have lost the secret, generate a new pair. #### `data:` is for stored properties Mailjet has several variable forms. GrowSurf writes contact properties, which are read with `[[data:...]]`. #### Connect before the first import The sync does not reach back for contacts added earlier. Recommended Guides [Mailjet logo How to Add Referral Links to Mailjet Campaigns Mailjet’s data variables put each contact’s own referral link into a single campaign. View Guide →](/integration-guides/mailjet-referral-email-personalization/) [Brevo logo How to Sync GrowSurf Referral Data to Brevo Contacts One API key, one list, 15 referral attributes — plus the IP setting that blocks most first attempts. View Guide →](/integration-guides/brevo-referral-contact-sync/) [SendGrid logo How to Send Referral Reminder Emails from SendGrid with GrowSurf Use GrowSurf's SendGrid sync plus referral portal links to build welcome, reminder, and progress emails that keep participants sharing. View Guide →](/integration-guides/sendgrid-referral-transactional-emails/) ## FAQ #### Which Mailjet credentials do I need? Both the API key and the secret key, from Mailjet’s API Key Management page. #### What is the property syntax? `[[data:grsf_share_url]]`. #### Does GrowSurf create the properties? Yes, once connected and a list is selected. ## Turn word of mouth into steady growth from your customers Launch a refer-a-friend or affiliate program that lowers your acquisition costs and builds customer loyalty, with little engineering work. [Launch Your Program](https://app.growsurf.com/signup) 14-day free trial No credit card required Trusted by marketing and product teams that grow through customer, user, and partner referrals. ## Built for lean teams, scaled for category leaders Thanks. You're signed up. Something went wrong. Please try again.