A step-by-step guide on how to securely store your browser cookies and use them to automate websites that require a login.
Many websites protect valuable information behind a login wall. When you try to access a page like a personal dashboard or a profile, the site first checks if you are authenticated. This presents a challenge for automation, as the AI agent, by default, is a “guest” and cannot log in on its own.
When you log into a website, it stores small pieces of data called cookies in your browser. These cookies act like a temporary key for your session.
Jsonify allows you to securely store these cookies in a central Credential Store and then use them in any workflow. This method is secure, as your cookies are not exposed directly in the workflow, and reusable.
First, you need to export your active login session from your browser into a cookies.txt
file. We recommend using a simple, open-source browser extension for this.
pinterest.com
) and log in with your credentials.cookies.txt
file by clicking ‘Export’.Next, you need to upload the exported cookies.txt
file into Jsonify’s secure credential manager.
Integrations
section.Website Credentials
tab.+ Add credentials
button. A new, untitled credential store will be created.▼
) on the right side of ‘add a cookie’ button and select Import cookies.txt
. Upload the file you downloaded in Step 1.Importing the cookies.txt file into a newly created Website Credential store.
Now you can use your stored session in any workflow.
Add the Use Credentials Block.
In your workflow editor, add the Input ➙ Advanced ➙ Use Credentials
block. This block should be placed before navigating to the protected page.Selecting the named credential store from the dropdown in the 'Use Credentials' block.
Let’s build a workflow that scrapes the names of your personal boards on Pinterest.
Use Credentials Block:
Open Websites Block:
https://www.pinterest.com/YOUR_USERNAME_HERE/saved/
).Extract Data Block:
board_name
from the list of items on the page.Result: The workflow will successfully run, using your stored credentials to authenticate and access the data behind the login wall.
cookies.txt
file and re-upload it to the same credential store to update it.