> For the complete documentation index, see [llms.txt](https://200ok.gitbook.io/200ok-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://200ok.gitbook.io/200ok-documents/user-manual/most-frequently-used-scenarios/how-to-access-authentication-data-from-a-custom-setting.md).

# How to access authentication data from a custom setting?

User can fetch authentication token stored in custom settings and use it into the header.

<figure><img src="https://1271267903-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F899iGp7icc9A7KXck3HI%2Fuploads%2FWbd2Q3RIlhovNme9vDzG%2Fcustom%20settings%20for%20token.png?alt=media&amp;token=1cb6b2c5-828f-4cb2-8565-dd398d767372" alt=""><figcaption></figcaption></figure>

Go to the channel, in header, give key as token and for value, use data mapper.

Select custom settings, select required field. Pattern will generate into the data mapper .  Click insert. &#x20;

<figure><img src="https://1271267903-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F899iGp7icc9A7KXck3HI%2Fuploads%2FVI7hyL4N8dL5ZLLrIlbv%2Fcustom%20setting%20token.png?alt=media&amp;token=5e7707af-6df0-46b8-a23e-e99d40191d27" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1271267903-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F899iGp7icc9A7KXck3HI%2Fuploads%2F5EmjRQGZSJAAFaVrKYhn%2Fcustom%20setting%20token%20UI.png?alt=media&amp;token=cc2314f9-747a-4672-a8cd-ca625614cfe4" alt=""><figcaption></figcaption></figure>
