Skip to main content
Every Mixpanel project has a unique alphanumerical token for collecting data. A project’s token is not a secret value. In front-end implementation, such as our javascript library, this token will be available to anyone visiting your page. With that in mind, it is important to note that a project’s token is not a form of authorization. It is an identification sent along with each piece of data you send to your project.

Sending data with a Project Token

For Track Events, tokens are provided as values inside of the data sent to Mixpanel. Where this value is stored is dependent on the API endpoint used. Information on the specific location can be found in the Ingestion API’s specification.
If you are are using our SDKs you will notice that that the project token is required when initializing the library. This token will automatically be included in the data sent out from that instance.
For Import Events, the token is provided in the header as the basic auth username value with an empty password.
Import Events

Managing a Project’s Token

A project’s token can be found in the Access Keys section of a project’s settings overview page: https://mixpanel.com/settings/project/. To learn more, view our project settings guide.