Integration guide
Add “Fill with MyFellowPet” to your product in under ten minutes. One script tag, one button, one server-side approval step on our end before you go live.
Get your client ID
Sign up with Google — your client ID is shown on the dashboard Overview tab.
Install the SDK
<script src="https://developers.myfellowpet.com/v1/id.js"></script>Add the button
<button data-mfp-id
data-client-id="<your-uid>"
data-fields="pet_name,pet_breed,pet_age_years,pet_weight_kg">
Fill with MyFellowPet
</button>The library auto-discovers any element with data-mfp-id. When the user authorizes, it populates any matching <input name="..."> on the page. For custom forms, use the programmatic API below.
Programmatic API
MFPID.fill({
clientId: "<your-uid>",
fields: ["pet_name", "pet_breed", "pet_weight_kg"],
onSuccess: (data) => {
// data = { pet_name: "Fluffy", pet_breed: "Golden Retriever", ... }
setForm(data);
},
onError: (err) => console.error(err),
});Field scopes
Fields you request get filtered server-side against your approved scope. Pick what you need in the dashboard's Field Selection tab; an MFP admin approves within one working day. See the full field catalog.
AI summary (premium)
ai_summary is a paid scope. Instead of raw fields, you receive an interpreted paragraph:
“Bruno is a 5yo Lab, anxious around bigger dogs, due for vaccination in 3 weeks, prefers chicken over kibble.”
Email partners@myfellowpet.com to enable.
Domain whitelist
Requests from origins not on your allowed_domains list are rejected. Add domains in your dashboard Settings tab — admin reviews each new entry.
Consent & audit
Every fill needs explicit consent. Pet parents see exactly which fields you're asking for, and can revoke any time. The audit log is parent-owned — partners don't see it.
Ready to ship?
Sign up, paste the snippet, submit fields for review.