Share
Explore

icon picker
Getting Started with the Archive Pack

The Quickstart Guide for the Beta Archive Pack
First,
Copy this doc
!

Overall, here’s what we’ll do in this doc to get you started with the Archive Pack:
Copy the doc
Set up the Archive Pack
Authorize the Archive Pack to access Coda
Archive your first table
See your Archived Table

I’ll walk you through it!

Step 1: Set Up

First, set up the Archive Pack
type /Archive Pack
Select the Archive Pack
image.png
Go to Settings
image.png
Under Private account, select Connect an account, you’ll paste in your Archive Pack token
image.png
Copy and paste the Archive Pack token I emailed you
image.png
This is what an Archive Pack token looks like (but don’t use this one, use the one I emailed):
image.png

Our goal is going to be to archive this table!
Your Sample Table 2
2
Name
Height
1
Betty
000
37
2
Charles
000
17
3
Irina
000
88
There are no rows in this table

You’re making great progress! Now let’s authorize the Archive Pack
Copy the doc
Set up the Archive Pack
Authorize the Archive Pack to access Coda
Archive your first table
See your Archived Table

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:
image.png
2. Scroll down to API SETTINGS, then click Generate API token
image.png

3. Name the token “Archive Pack” so you can find it later.
image.png
(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
image.png
5. Click Copy token and paste it below
image.png
Paste Your Coda API Token here

5. Finally, send the Coda API token to the Archive Pack with this button
Authorize archive pack

Should see this pop up :)
image.png

Step 3: Archive a Table

Nice work! Now let’s archive a table
Copy the doc
Set up the Archive Pack
Authorize the Archive Pack to access Coda
Archive your first table
See your Archived Table

Now we archive! I’ll show you how to get your
Doc Id
Table Id
Workspace Id


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:
BkfJ-16hBa
(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
image.png
Scroll to the bottom under LABS turn on Enable Developer Mode

image.png

Click the triple dots next to the Sample Table below 👇, then clicking Copy table ID
image.png
Sample Table 2
2
Name
Height
1
Betty
000
37
2
Charles
000
17
3
Irina
000
88
There are no rows in this table

Paste your table id into the box below.
image.png
Paste Your Table Id

👆 here’s your table


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:
image.png

Click to archive!
Archive table
View 2 of Sample Table
2
Name
Height
1
Betty
000
37
2
Charles
000
17
3
Irina
000
88
There are no rows in this table

Should see this pop up again :)
image.png

Step 4: See your Archived Table

Last step! Now let’s retrieve the table you archived
Copy the doc
Set up the Archive Pack
Authorize the Archive Pack to access Coda
Archive your first table
See your Archived Table

Now, to pull in your archives:
type /Archive anywhere to open the sidebar
Click Archives under Tables:
image.png
Click and drag Sample Table onto the page
image.png
Your archived table will look like this!
image.png
You’re done! Now you’re all ready to do this with your personal table. To recap:
/Archive Pack
image.png
image.png
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.