How do I pin data to a board in Posit Connect Cloud?

I'm working on building a shiny app for Posit Connect Cloud and am wanting to pin data to a board that it can use. The goal is to use GitHub actions to refresh the data on a regular basis. However, the usual way I do it on our licensed instance of Posit Connect doesn't seem to work:

library(pins)
board <- board_connect(auth = "envvar")
board %>% pin_write(mydata,"MyData")

because it's looking for a CONNECT_API_KEY and CONNECT_SERVER. I was able to create a RSCLOUD_CLIENT_ID and RSCLOUD_CLIENT_SECRET, but don't know if those are actually what I need. Any advice would be greatly appreciated.

Hi Andrew,

Although we do not yet support Pin deployment on Connect Cloud, it is on our roadmap, and we expect to expand the number of frameworks covered later this year.

I'll add your note in support of Pins.

Thanks,

Alex

1 Like