Arbiter's React SDK is built using React with Vite and Typescript.
To use Arbiter's SDK, the Arbiter infrastructure must first be provisioned using the CLI tool. You can visit the arbiter-cli repository to complete this step if necessary. Once deployed, Arbiter's CLI tool will provide you with a .env.local
file to use with Arbiter's SDK.
To integrate, first download the Arbiter npm package with
npm install @Arbiter/SDK
Then, import into your existing React application like the following example:
import Arbiter 'from @arbiter-framework/sdk';
const App = () => {
# your code here...
<Arbiter />;
};
export default App
Arbiter should work seamlessly with your existing frontend application, and room provisioning will be based on the URL path of the page in question. This allows you to integrate rooms dynamically based on the content. It is important to note that all users who visit that page will be able to join the call for that route, so adding authentication to prevent unauthorized use is a best practice when using Arbiter.
Stephen Watzman Software Engineer • Detroit, MI
Tyler Frye Software Engineer • Tampa Bay, FL
Jay Jayabose Software Engineer • New York, NY