---
agentTools:
  projectIndex: https://wayf-cloud.readme.io/llms.txt
---

# WAYF Widget Integration Steps

How to integrate the WAYF Widget

There are two steps involved in integrating the WAYF Widget with a Service Provider platform

1. Use a unique ID to determine returning visitors and persist this ID at the user's device (browser) by setting a cookie as per the wayf-local cookie requirements detailed below
2. Include the WAYF widget URL in the source of the HTML header of in, at least once HTTP response right after a wayf-local ID is generated.