> For the complete documentation index, see [llms.txt](https://dataflint.gitbook.io/dataflint-for-spark/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dataflint.gitbook.io/dataflint-for-spark/dataflint-analyze-your-job/analyze-your-job-in-claude-code.md).

# Analyze Your Job in Claude Code

### Summary

This guide walks you through using DataFlint Analyze Your Job in Claude Code.

You need a DataFlint account. Create one at <https://www.dataflint.io/get-started>. Afterward you will get the following email:

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2Fu2vp2DcsiFrSgNBLZlql%2Fimage.png?alt=media&amp;token=a975835f-1456-44be-b697-f81c3fe2d99d" alt=""><figcaption></figcaption></figure>

### Step-by-step guide

#### 1. Run the prompt from your intro email

Paste the prompt from your intro email into Claude Code session:

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FjuUUZYAtADqcEmu4tP1u%2Fimage.png?alt=media&amp;token=210711f4-76f4-4dd6-88c6-f55574b113cd" alt=""><figcaption></figcaption></figure>

ALlow to run the MCP server

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FnTsffs8TJj8aTUnhQku2%2Fimage.png?alt=media&amp;token=3e70f68b-648b-4fe4-872d-52f6e57f43c5" alt=""><figcaption></figcaption></figure>

Claude will explain to you how to authenticate the server

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FdnfnJBq5HfRpEqdxyi4X%2Fimage.png?alt=media&amp;token=60c5b397-5108-462e-a11a-b308c35acae5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FjILx9i6BKuSYWpQVyIsG%2Fimage.png?alt=media&amp;token=63d171e8-010f-4fa5-9a05-6804d7990555" alt=""><figcaption></figcaption></figure>

After Connecting, tell the session to continue

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FtfQenAfbniCJI1WhiD0w%2Fimage.png?alt=media&amp;token=da541b59-f822-41c0-ba76-e5e2b0e403fc" alt=""><figcaption></figcaption></figure>

Allow Claude to call the DataFLint MCP tools

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FtDHFPED4PnLhwS96zk1B%2Fimage.png?alt=media&amp;token=3b034b6e-4521-4e3d-9599-de142d89ad8f" alt=""><figcaption></figcaption></figure>

And then you will get the DataFlint flow to get started

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FENNV1ZmVv0mxivScrach%2Fimage.png?alt=media&amp;token=1362e2f9-dcbc-4cac-9052-da7e4db1da21" alt=""><figcaption></figcaption></figure>

Complete the process, in the end you will see a message that the upload succeeded.

<figure><img src="https://2982210886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fcg8pTm3VgVaeMncRl8LP%2Fuploads%2FHbWlpFIbncg7enpEUHcm%2Fimage.png?alt=media&amp;token=08624b8e-fa1d-4f2a-a0e9-c008cd3b0e2e" alt=""><figcaption></figcaption></figure>

You will get a second email with DataFlint AI job analysis, and the option to optimize your job via DataFlint Copilot
