# Mixpanel mapping with distinct id

**URL:** <https://community.forestadmin.com/t/mixpanel-mapping-with-distinct-id/3640>\
**Category:** Help me!\
**Tags:** howtos\
**Created:** [October 29, 2021, 10:00am UTC](https://community.forestadmin.com/t/mixpanel-mapping-with-distinct-id/3640 "2021-10-29T10:00:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnaudambro](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaudambro/32/1480_2.png) [@arnaudambro](https://community.forestadmin.com/u/arnaudambro)\
**Post date:** [October 29, 2021, 10:00am UTC](https://community.forestadmin.com/t/mixpanel-mapping-with-distinct-id/3640/1 "2021-10-29T10:00:28Z")

</div>

Hello

I try to integrate mixpanel but I have trouble setting things up, I don’t find any documentation

For my first users I was registering the user’s email in mixpanel, but I stopped doing this, no the only way I can relate a mixpanel user with one of my BDD user is the \_id : the `_id` of my user in mongo is the `Distinct Id` of mixpanel.

I’m sure my api is working correctly because for the old user’s with an email in mixpanel, the `mapping: ['User.email']` is working well.

but the `mapping: ['User._id']` is not working : how can I map it to `Distinct Id` ?

Thanks  
Arnaud

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [October 29, 2021, 12:00pm UTC](https://community.forestadmin.com/t/mixpanel-mapping-with-distinct-id/3640/2 "2021-10-29T12:00:39Z")

</div>

Hey @arnaudambro, here’s our documentation on integrating mixpanel [here](https://docs.forestadmin.com/documentation/reference-guide/integrations#mixpanel)

However, I don’t think your expected feature is available right now, so I’ll push it to our product board 🙏

---

<div class="post-metadata">

**Author:** ![arnaudambro](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaudambro/32/1480_2.png) [@arnaudambro](https://community.forestadmin.com/u/arnaudambro)\
**Post date:** [October 29, 2021, 12:11pm UTC](https://community.forestadmin.com/t/mixpanel-mapping-with-distinct-id/3640/3 "2021-10-29T12:11:12Z")

</div>

Hi Jeff

OK thanks !  
You mean right now, the only available mapping is with email ? (No judgement, juste a question)

Thanks

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [October 29, 2021, 1:09pm UTC](https://community.forestadmin.com/t/mixpanel-mapping-with-distinct-id/3640/4 "2021-10-29T13:09:17Z")

</div>

I’m pretty sure that this is currently the case indeed.

As stated, I’ve pushed your suggestion to our productboard, which is the best I can do right now.

Hope this helps 🙏
