Overall, here’s what we’ll do in this doc to get you started with the Archive Pack:
Authorize the Archive Pack to access Coda
I’ll walk you through it!
Step 1: Set Up
First, set up the Archive Pack
Under Private account, select Connect an account, you’ll paste in your Archive Pack token Copy and paste the Archive Pack token I emailed you This is what an Archive Pack token looks like (but don’t use this one, use the one I emailed):
Our goal is going to be to archive this table!
You’re making great progress! Now let’s authorize the Archive Pack
Authorize the Archive Pack to access Coda Step 2: Archive Pack ❤️ Coda
You’ll need to get your Coda API Token. This will be used by the Archive Pack to pull data out of Coda.
For your security, I’ll show you how to limit the permissions of the Coda token you share.
Get your Coda API Token under User Indicator → Triple Dots → Account Settings: 2. Scroll down to API SETTINGS, then click Generate API token
3. Name the token “Archive Pack” so you can find it later.
(Recommended: add security restrictions to the token)
Click “Add a restriction” Select restriction “Doc or table” Select “Read only” (the Archive Pack doesn’t need write permissions) Copy and paste the url of the doc where your table lives (or if you only want the Archive Pack to see one table, use [Your Table].ObjectLink() to get the table url)
4. Click Generate API token
5. Click Copy token and paste it below
Paste Your Coda API Token here
5. Finally, send the Coda API token to the Archive Pack with this button
Should see this pop up :)
Step 3: Archive a Table
Nice work! Now let’s archive a table
Authorize the Archive Pack to access Coda
Now we archive! I’ll show you how to get your
Get your Doc Id (I’ve already done this for you). In general you can get it with the formula thisDocument.ObjectLink().Split("_d").Last().Split("#").First()
This Doc Id: (I already got it for you :) you don’t need to do anything)
2. Get your Table Id by turning on your developer settings
Account Settings
Scroll to the bottom under LABS turn on Enable Developer Mode
Click the triple dots next to the Sample Table below 👇, then clicking Copy table ID
Paste your table id into the box below.
4. Get your Workspace Id
I emailed you your workspace id, it looks something like this:
Workspace Id: ancient-seahorse-of-gallantry
Paste Your Workspace Id
5. Archive!
I’ve already set up the button for you, but this is an example of what it might look like if you set it up yourself:
Should see this pop up again :)
Step 4: See your Archived Table
Last step! Now let’s retrieve the table you archived
Authorize the Archive Pack to access Coda
Now, to pull in your archives:
type /Archive anywhere to open the sidebar Click Archives under Tables: Click and drag Sample Table onto the page Your archived table will look like this!
You’re done! Now you’re all ready to do this with your personal table. To recap: