Lambda Store: Serverless Database for Redis®
  • Console
  • Blog
  • dev.to
  • Gitter
  • API Docs
  • Contact Us

›How To

Overall

  • Getting Started
  • Database Types
  • Redis® API Compatibility
  • Consistency
  • Use Cases
  • Compare

How To

  • Connect Your Client
  • Connect With TLS
  • Connect From AWS Lambda
  • Upgrade Your Database
  • Metrics and Charts
  • Import/Export Data
  • Developer API
  • Terraform Provider
  • Vercel Integration

Account & Pricing

  • Teams and Users
  • Pricing
  • Add a Payment Method
  • Cost Explorer
  • Set Budget
  • Payment History
  • Audit Logs

Help

  • FAQ
  • Support & Contact Us
  • Legal

Vercel Integration

If you are using Vercel then you can integrate Lambda Store to your project easily.

We have developed an integration that connects your Lambda Store account to your Vercel account.

Developer API Key is required to connect your account.

Add Integration to Your Vercel Account

Visit Vercel Lambda Store Integration webpage and Click the Add button.

Configure Integration

Integration requires Developer API Key which can be created from the console.

Then Setup page should be completed by filling API key and registered email address.

Integration Dashboard

In next screen, your databases will be automatically listed.

New database can be created from the Vercel Integration page or from the Lambda Store Console.

Create Database

After clicking New Database button then configuration for new database page will be loaded.

Connect Database to Your Project

Select your project from the dropdown menu then click Link To Project for any database.

REDIS_URL will be automatically set as environment variable for your project. A new deployment is required for the environment variable to be effective.

Create Your Redis Client

If you completed the integration steps above and redeploy your app; the REDIS_URL environment variable will be accesible inside Vercel functions. You can create your client as below:

const redis = require("redis");

module.exports = async(req, res) => {
    const client = redis.createClient ({
        url : process.env.REDIS_URL
    });

    // read/write with your Redis client

    client.quit()

    res.json({
        body: JSON.stringify("success")
    })
}


Support

You can report your issues in Vercel Lambda Store Integration Repository. Also you can send your questions and feedback via support@lambda.store

← Terraform ProviderTeams and Users →
Lambda Store: Serverless Database for Redis®
Links
ConsoleAPI DocsBlogSupport
Community
Gitterdev.toTwitter
Copyright © 2020 Lambda Store.