Skip to main content

1. Creating and Authenticating the Token in Wake

Wake API authentication is done through a Token. This token validates the merchant’s identity and grants permission to access store information.
  1. Go to Settings > Integrations > Tokens.
  2. Click on Add Token.
  3. Define the Application Name to make identification easier.
  4. Configure the permissions that the token will have access to, ensuring it can only access authorized information.
  5. In Permissions, select the minimum recommended access for Nemu integration:
  • In the GestorScript category, select the POST method for /gestorscripts/scripts
  • In the Webhook category, select the POST method for /webhook/inscricao
  • In the Orders category, select the GET method for /pedidos and /pedidos/{pedidoId}
  1. Enter the technical responsible email.
  2. Click on Save.

2. Adding Content Security Policies (CSP) in Wake

For Nemu scripts and network calls to work correctly on your Wake store, add the following trusted origins to the Security Policies (CSP) in the Wake panel.
  1. In the Wake panel, go to SettingsSecuritySecurity Policies (or search for Security Policies).
  2. Add these URLs to the allowed domains list:
    • https://trackings.nemu.com.br
    • https://openfpcdn.io
    • https://ipinfo.io
    • https://api.ipify.org
    • https://api.bigdatacloud.net

3. Connecting Wake to Nemu

  1. In the Nemu Dashboard, go to the Platforms menu.
  2. Click on Wake and then on the Connect button.
  3. Fill in the requested fields:
    • Store URL (your Wake store address)
    • Token (copied earlier in the Wake panel)
  4. Click on Save.

4. Verifying the Nemu Pixel in Wake

After completing the previous step, Nemu automatically creates the Pixel in your store through Wake’s Script Manager. You do not need to copy or paste any script manually. To confirm everything went well:
  1. In the Wake admin panel, go to Admin SettingsScript Manager.
  2. Find the script named Pixel da Nemu in the list and confirm that the Active column is enabled.
If the script does not appear in the list, the Token created in step 1 is probably missing the POST permission for /gestorscripts/scripts in the GestorScript category. Review the Token permissions in Wake, disconnect the platform in Nemu and connect it again.
Wake’s cache time is at least 5 minutes. Wait for this period before validating whether the Pixel is recording events.