### Step 3: Embed the SDK Script (Client-Side)
In your frontend application, add the ChicksX SDK script tag with the required parameters:

```html
<script src="https://develop-api.chicksx.com/v1/sdk/chicksx.js?clientId=your-client-id&env=dev&baseCurrency=cad&targetCurrency=usdt&baseAmount=100&paymentMethod=interac"></script>
```
Then configure and initialize the SDK:

```javascript
window.chicksX.configure({
  clientId: 'your-client-id',
  env: 'dev',
  baseCurrency: 'cad',
  targetCurrency: 'usdt',
  baseAmount: 100,
  paymentMethod: 'interac',
  walletAddress: '0xYourWalletAddressOptional'
});
window.chicksX.init({ authenticationToken: 'your-public-token' });
```
Note: `window.chicksX.init({ authenticationToken: 'your-public-token' })` opens the payment popup/modal. You typically want to call it in response to a user action (e.g., a button click) to avoid unexpected popups:

```javascript
document.getElementById('payButton').addEventListener('click', function () {
  window.chicksX.init({ authenticationToken: 'your-public-token' });
});
```
