- Create a copy of
.env.example
and rename the copy to.env
.
-
Register at https://imagekit.io/registration/
-
Once registerd, go to your dashboard's developer options where you will find your Public Key, Private Key, and URL-endpoint.
-
Add your keys and URL endpoint as environment variables in your machine or copy and paste them in your
.env
file:IMAGEKIT_ENDPOINT_URL=Your ImageKit URL endpoint IMAGEKIT_PUBLIC_KEY=Your ImageKit public key IMAGEKIT_PRIVATE_KEY=Your ImageKit private key
- Create a Google Cloud Project. Follow the instructions here: https://developers.google.com/workspace/guides/create-project
- Create a Google Service Account for the project you just created. Follow the instructions here: https://support.google.com/a/answer/7378726?hl=en
- Create a Service Account Key here: https://console.cloud.google.com/apis/credentials/serviceaccountkey.
-
If the page prompts you to select a project, choose the project you just created.
-
If you see a table that lists the service accounts for the project you selected, click the email of one of the listed service accounts. It should show the details of the service account.
-
Find and click the Keys tab, then find and click the Add Key button.
-
Select Create new key.
-
Select JSON as the key type.
-
Click Create and you should see a JSON file being downloaded from your browser.
-
Once the download completes, rename the JSON file to
certinize-gdrive-client.json
and move it to the project root directory.CAUTION: Do not include your private key or the certinize-gdrive-client.json file in your commits unless you are deploying to hosting services like Heroku.
-