# Using data from \`${process.env.DATA_MODEL}\` v${process.env.DATA_MODEL_VERSION}

:::info
Before getting started, make sure the data model and version is the one you want to develop on.
:::

Here you will find the documentation on how to consume data within your data model.

You can do this via directly via GraphQL, Autogenerative-SDK for Python and JS/TS or 3rd party tools like [GraphQL Code Generator](https://www.graphql-code-generator.com/).

## Using GraphQL directly

The URL to access the data model is availble on:

\`${process.env.URL}\`

You can access this URL as long as you also provide a valid Bearer token in the \`Authorization\` header of your request. We support both \`POST\` and \`GET\` requests to the GraphQL endpoint.

You can run directly query against this URL through any 3rd party tools like Postman, GraphIQL, PowerBI and Grafana. More documentation to come soon on this.

## Autogenerative JS SDK

Using the same CLI you ran to get this documentation up and running, you can also create a JS SDK based on your data model.

The SDK is a great way to interact with data in your data model without learning GraphQL, as well it provides all the nicities of TypeScript typings for every query you run on the data model.

To get started, run

\`cdf data-model generate-js-sdk --dm="${process.env.DATA_MODEL}" --dm-v="${process.env.DATA_MODEL_VERSION}"\`

By default, a \`sample.ts\` will be generated at \generated/\` in your working directory. to skip this, feel free to add \`--include-sample=false\` at the end of your command.

Now you can import \`FDMQueryClientBuilder\` from \`@cognite/fdm-client\` like:

\`import { FDMQueryClientBuilder } from
