> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting started

An application's point of contact with Granta MI Connected Materials is the Granta Integration Service REST API. This API brokers data between Granta services and your application.

Any programming environment that can execute HTTP requests and parse a JSON response should be able to use the Granta Integration Service.

For a simpler and more performant workflow, HTTP SSE (Server-Sent Events) can be used for part of the workflow.

Our examples use Python, but your application environment may restrict your choice of programming language.

### Authentication

In order to use Granta MI Connected Materials, you need an account that has access to the Synopsys hosted instance.

### Prerequisites

* A supported version of Python. You can download Python from [https://www.python.org/downloads/](https://www.python.org/downloads/).
* The following Python packages required by the example:
  * `requests`
  * `msal`
* The example script `SimpleExample.py`, available here: [python\_examples.zip](https://github.com/ansys/DevRelPublic/raw/main/Downloads/granta-connected-data/python_examples.zip)

To get started:

1. Open a Command Prompt and navigate to the working directory.

2. Install the required Python packages using pip:

   ```cmd theme={null}
   python -m pip install requests msal
   ```

3. Edit `SimpleExample.py` and replace the placeholder *`cloudserver.com`* with the URL you are developing against. See [Examples](https://developer.synopsys.com/docs/granta-mi/granta-mi-connected-materials/examples).

4. Run the example script:
   ```cmd theme={null}
   python SimpleExample.py
   ```

This launches the Granta Material Picker:

![Material Picker screenshot](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/granta-mi/granta-mi-connected-materials/images/MMP-web-ui.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=cc7512123c12649911cafe32ee2e2d2d)

You can now browse and search materials data for import to your application. Use the [User guide](https://developer.synopsys.com/docs/granta-mi/granta-mi-connected-materials/user-guide) to review basic concepts and material models, and understand how to integrate the Material Picker into your application.
