Internal database

An internal database syncs all documents related to a company, enabling users within the company to conduct efficient searches

1. Users authorize file storage access

Your user authorizes your application to access their file storage service (e.g., Google Drive, Dropbox) via an OAuth or similar authorization flow through Merge Link.

Your Product's Frontend and Merge

2. Fetch files and folders

Utilize GET /Files and GET /Folders to fetch all relevant documents and folders from the designated file storage platform associated with the company.

Merge and Third-Party Platforms

Set up webhooks so that the latest file updates are being reflected.

3. Check user access to files

You may want to make sure other un-linked users can only see the files they have access to. Use the query parameter expand=permissions with GET /Files to see who has access to a file. Additionally, fetch user’s email addresses in GET /Users to match your product’s users with the 3rd-party platform’s users.

Your Product's Backend

4. Database population

Populate the internal database with the fetched documents, ensuring comprehensive indexing and organization for efficient search capabilities.

Your Product's Backend

5. Build search optimization and filters

Enhance your document search feature with optimized algorithms and filters to facilitate quick and accurate document retrieval based on various search parameters, such as file names, content keywords, and metadata. You can even leverage AI to help get answers to your employees with the documents’ data.

Your Product's Backend

6. Create a friendly UI search experience

Build the frontend of how you want the search user experience to be. Employees can now easily find relevant documents and answers in an instant!

Your Product's Frontend
Build an internal document database with Merge

Integrate today or talk to our sales team to learn how Merge unlocks hundreds of integrations in days - not years.


Get a demo