


Note: Applications have access to a limited set of APIs when using the Client Credentials Flow. We can then use the Space HTTP client in spaceClient to access the various Space API endpoints.

Create a ConnectionĪfter installing org.jetbrains:space-sdk-jvm in our project, we can use the Client ID and Client Secret of our Space application to create a SpaceHttpClient that can connect to our Space organization: Make sure to enable the Client Credentials Flow in your application's Authentication settings. There are various application types, all supporting different authentication flows.įor this example, we will use a Client application. We will need to register an application to work with the Space API. Note: The beta version of the Space SDK is available from the following repository: Getting Started Let's have a look at how we can start working with the Space SDK. org.jetbrains:space-sdk-js - Space SDK that can be used with Kotlin/JS.org.jetbrains:space-sdk-jvm - Space SDK that can be used on the Java Virtual Machine (JVM).Any use of this beta Space SDK is at your own risk. By using the current beta Space SDK, you expressly acknowledge that this version of the beta Space SDK may not be reliable, may not work as intended, and may contain errors. It relies on the Space API, which is still in beta and subject to change. The Space SDK is a Kotlin library to work with the JetBrains Space API.ĭisclaimer: This is a beta version of the Space SDK.
