> 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="/files/sR1s9oYNhWFbgurU5sQ2" 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="/files/jxmOC56B0BXrFOq0XPeR" alt=""><figcaption></figcaption></figure>

ALlow to run the MCP server

<figure><img src="/files/tSNxQcfPDc40IKC479Dx" alt=""><figcaption></figcaption></figure>

Claude will explain to you how to authenticate the server

<figure><img src="/files/2SEF24yUpX7NBZCcDXVY" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/lc7gxI0fOd1zVggpBPJu" alt=""><figcaption></figcaption></figure>

After Connecting, tell the session to continue

<figure><img src="/files/OnttOexdZyEjS96et414" alt=""><figcaption></figcaption></figure>

Allow Claude to call the DataFLint MCP tools

<figure><img src="/files/uBw5xUlTnkz4Qg6wwr60" alt=""><figcaption></figcaption></figure>

And then you will get the DataFlint flow to get started

<figure><img src="/files/3tw864jB4bdQ8u3UCnkz" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/hDjFzi1zDe1zUcI5rfgY" 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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dataflint.gitbook.io/dataflint-for-spark/dataflint-analyze-your-job/analyze-your-job-in-claude-code.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
