> ## Documentation Index
> Fetch the complete documentation index at: https://developers.podero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Heat Pump

> Add a heat pump device using the Podero Connect UI

# Connect a Heat Pump

Create an onboarding session and redirect your user to Connect UI to add their device:

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST \
    'https://app.podero.com/api/partners/v2.0/device-onboarding' \
    -H 'Authorization: Bearer {auth_token}' \
    -H 'Content-Type: application/json' \
    -d '{
      "language": "en",
      "price_zone_default": "DE",
      "success_url": "https://yourapp.com/success",
      "cancel_url": "https://yourapp.com/cancel",
      "user": "{user_id}"
    }'
  ```

  ```python Python theme={null}
  response = requests.post(
      'https://app.podero.com/api/partners/v2.0/device-onboarding',
      headers={
          'Authorization': f'Bearer {auth_token}',
          'Content-Type': 'application/json'
      },
      json={
          'language': 'en',
          'price_zone_default': 'DE',
          'success_url': 'https://yourapp.com/success',
          'cancel_url': 'https://yourapp.com/cancel',
          'user': user_id,
      }
  )

  # Redirect user to this URL
  authentication_url = response.json()['authentication_url']
  print(f"Redirect to: {authentication_url}")
  ```
</CodeGroup>

**What happens next:**

1. User is redirected to Connect UI
2. User selects their device manufacturer
3. User authenticates with manufacturer credentials
4. Device is connected and linked to their account
5. User is redirected back to your `success_url` with `?deviceId={device_id}`

<Tip>
  For testing, use demo credentials: `demomyuplink@nibe.se` / `Demo1234`
</Tip>

**Need more details?** See [Device Onboarding](/partner-api/user-journeys/end-user/device-onboarding) for the complete workflow, screenshots, best practices, and error handling.

***

<Card title="Next: Retrieve Device Data" icon="arrow-right" href="/partner-api/getting-started/retrieve-device-data">
  Read data from your connected device
</Card>
