# Embedded Signup for creating a WhatsApp Sender Before creating the Embedded Signup (ES) sender, the end customer must connect their Meta account to the Multi-Partner Solution. This can be achieved via Sinch Build, or by following [instructions provided by Meta](https://developers.facebook.com/docs/whatsapp/solution-providers/multi-partner-solutions/#embedded-signup). ## Creating a sender Prior to calling the create sender endpoint, ensure that you have your WhatsApp Business Account (WABA) ID (`wabaId`) and the phone number associated with the WABA (`phoneNumberId`) readily available. The remaining WABA details will be fetched automatically when calling the create sender endpoint. ```javascript async function createSender() { const resp = await fetch( `https://provisioning.api.sinch.com/v1/projects/${PROJECT_ID}/whatsapp/senders`, { method: 'POST', headers: { 'Content-Type': 'application/json', Authorization: 'Basic ' + Buffer.from(ACCESS_KEY + ':' + ACCESS_SECRET).toString('base64'), }, body: JSON.stringify({ region: 'EU', metaLocalStorage: 'DE', wabaId: WABA_ID, phoneNumberId: PHONE_ID, }), } ); const data = await resp.json(); return data; } ``` ## Next steps If the call is successful, the sender will move transition through various states. If there are no issues, the sender will eventually become `ACTIVE`. Once the sender is `ACTIVE`, you can create [templates](/docs/provisioning-api/getting-started/whatsapp/templates) for the sender. ### State transitions for ES Senders ```mermaid stateDiagram-v2 [*] --> IN_PROGRESS IN_PROGRESS --> ERROR IN_PROGRESS --> ACTIVE ACTIVE --> SUSPENDED SUSPENDED --> ACTIVE ACTIVE --> INACTIVE INACTIVE --> [*] note right of INACTIVE Will stay in INACTIVE for up to 30 days end note ```