# 我如何将数据传递给artifact？

**URL:** <https://meta.discourse.org/t/how-do-i-pass-data-to-an-artifact/350791>\
**Category:** Feature\
**Tags:** completed, ai, ai-artifacts\
**Created:** [2025年二月5日 19:15 UTC](https://meta.discourse.org/t/how-do-i-pass-data-to-an-artifact/350791 "2025-02-05T19:15:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![markschmucker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markschmucker/32/141599_2.png) [@markschmucker](https://meta.discourse.org/u/markschmucker)\
**Post date:** [2025年二月5日 19:15 UTC](https://meta.discourse.org/t/how-do-i-pass-data-to-an-artifact/350791/1 "2025-02-05T19:15:07Z")

</div>

关于如何向工件传递数据，你有什么建议吗？我想在我的论坛中的许多位置粘贴同一个工件，使用不同的JWT令牌在每个位置。我一直在尝试像这样的方法，但不能让创建者使用它：

```plaintext

div class="ai-artifact" data-jwt-token="my-jwt-token" data-ai-artifact-id="10"/div

```

或者如果网页创建者能弄清楚它在哪个主题ID中，我就可以用那个信息。

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-pass-data-to-an-artifact/350791)._
