Using the IDE
One of Stitch's main priorities is delivering a great developer experience.
As part of these efforts, we provide a browser-based IDE allowing developers to connect their own bank accounts and test queries before integrating Stitch into their application.
You can access the IDE by visiting https://stitch.money/ide or by click the
Stitch IDE link
in the top right corner of the menu bar.
Adding a Credential
The IDE comes equipped with test credentials - namely a test user and a test client. To manage these credentials and to add additional credentials you can use the Manage Credentials tab at the top.
Opening the Stitch API Docs and Schema
In GraphQL, the schema file describes the shape of the data that can be requested. This is the core of any GraphQL API. There are three ways to view our GraphQL API schema:
- You can find the most up-to-date version of the schema in the IDE by clicking the Docs tab to the right.
- You can click on the API Reference page mentioned in the docs here.
- You can download the schema to your local machine and review it in either SDL or JSON format.
The GraphQL Explorer
Aside from using the editor to build queries, another way of building queries in the IDE is with the GraphQL Explorer feature. Click the Explorer button, and a new sidebar will appear. This panel allows you to build queries interactively by selecting the various available fields.
The explorer is a useful feature that can help you become more familiar with the capabilities of the API.
Refreshing an Expired User Token
When a user token expires and the token had been granted the
offline_access scope, you'll be able to refresh the
token by following the steps below:
- Open the Credentials dropdown menu
- Tap "Refresh Credential" next to the associated test user credential
- Voila 🪄