# Use TD Javascript SDK to Fetch Profile Segment Ids
You can apply the segment IDs in your tools to push highly personalized communications to profiles or control what is shown to profiles in the specified segments. Typically, this requires that you work with our support or services team.
You add Treasure Data SDK script into your client by including the following:
* **API Request**
* audienceToken: List of Profiles API Tokens
* keys: List of key columns
* **API Response**
* values: Object of values, attributes, key, and audienceId
Your tool (such as Optimizely or Google Chrome Developer Tools) accesses the client to retrieve the segment IDs.
1. Copy the tokens that you created and add them to your JS SDK script as follows.
```html
```
## Example Profile Output
Here’s the example output with Google Chrome Developer Tools.
