A Next.js demonstration project showcasing the functionality of the @vectorize-io/vectorize-connect package.
This repository provides a practical implementation of the Vectorize Connect SDK, allowing developers to quickly understand how to integrate and utilize the package's features in a Next.js environment.
- Integration examples with the Vectorize Connect SDK
- Interactive UI components for testing SDK functionality
- Google Drive connectivity demonstration
- Node.js
- npm or yarn
- A Vectorize account and API token
To fully test the features of this demonstration, you'll need to set up the following environment variables:
VECTORIZE_TOKEN=your_vectorize_token
VECTORIZE_ORG=your_vectorize_org_id
To test the Google Drive integration features, the above environment variables are required.
Additionally, if you wish to try the white label connector functionality, you'll need to set these Google-specific variables:
GOOGLE_OAUTH_CLIENT_ID=your_google_oauth_client_id
GOOGLE_OAUTH_CLIENT_SECRET=your_google_oauth_client_secret
GOOGLE_API_KEY=your_google_api_key
- Clone the repository:
git clone https://github.com/yourusername/test-vectorize-connect-sdk.git
cd test-vectorize-connect-sdk
- Install dependencies:
npm install
# or
yarn install
-
Create a
.env.local
file in the root directory and add your environment variables. -
Start the development server:
npm run dev
# or
yarn dev
- Open your browser and navigate to
http://localhost:3000
The demo application provides a user interface to test various features of the Vectorize Connect SDK. You can:
- Test Google Drive integrations
- Try out white label connector functionality
- Explore SDK methods and responses
For questions or support with the Vectorize Connect SDK, please refer to the official documentation or reach out to the Vectorize support team.