> For the complete documentation index, see [llms.txt](https://star-8.gitbook.io/khan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://star-8.gitbook.io/khan/tutorials/private-key.md). Agents can also search and read this documentation through its [MCP server](https://star-8.gitbook.io/khan/~gitbook/mcp).

# Private key

<figure><img src="https://2504448952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGU0ZAv3OpVKv23YIrDUE%2Fuploads%2Fuj9CH3yrbypQbiMwWsHO%2Fimage.png?alt=media&amp;token=a82f882d-368f-423c-8ca5-469fc9287966" alt=""><figcaption></figcaption></figure>

Click on Add / Connect Wallet

<figure><img src="https://2504448952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGU0ZAv3OpVKv23YIrDUE%2Fuploads%2FKkVPGsnaMzDPZebmZcec%2Fimage.png?alt=media&amp;token=8d611605-37ca-4dee-a60d-19fc99411ac0" alt=""><figcaption></figcaption></figure>

Click on Create New Account

<figure><img src="https://2504448952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGU0ZAv3OpVKv23YIrDUE%2Fuploads%2FpC2tyA7Dmr3lj93iRfIw%2Fimage.png?alt=media&amp;token=0477f5db-ae9a-4aab-ab4b-05c629d219d0" alt=""><figcaption></figcaption></figure>

Click on Manage Accounts

<figure><img src="https://2504448952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGU0ZAv3OpVKv23YIrDUE%2Fuploads%2FADAIxbs6gXbwNuUEsyRW%2Fimage.png?alt=media&amp;token=aed13388-0dc4-48c6-932f-65f87f2a98ba" alt=""><figcaption></figcaption></figure>

Find the newly created account

<figure><img src="https://2504448952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGU0ZAv3OpVKv23YIrDUE%2Fuploads%2FwQAIRI9FihqJgL82idbh%2Fimage.png?alt=media&amp;token=ae6399cd-ca7f-4809-a75b-485ed86b5d08" alt=""><figcaption></figcaption></figure>

Click "Show Private Key"

<figure><img src="https://2504448952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGU0ZAv3OpVKv23YIrDUE%2Fuploads%2FYiaWfM6hKdsylzuKrXbF%2Fimage.png?alt=media&amp;token=6331534e-372e-4e7b-8a51-02608a94883d" alt=""><figcaption></figcaption></figure>

Enter your phantom wallet password.&#x20;

<figure><img src="https://2504448952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGU0ZAv3OpVKv23YIrDUE%2Fuploads%2FXoCWxNADVOJdP3q3SBMO%2Fimage.png?alt=media&amp;token=87307f63-262a-4ffc-b9a8-cf6ee072f221" alt=""><figcaption></figcaption></figure>

Select Solana and copy that value.
