> For the complete documentation index, see [llms.txt](https://docs.hackle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackle.io/ab-test/create-and-configure/abtest-parameter.md).

# 파라미터 설정

### 파라미터 설정이란?

* A/B 테스트의 그룹별 변경 사항을 파라미터로 구현할 수 있습니다.
* 텍스트, URL, 숫자와 같은 값을 유연하게 적용하세요. 복잡한 값은 JSON으로 관리할 수 있습니다.
* 파라미터 값은 대시보드에서 변경할 수 있습니다. 변경한 값은 서비스에 바로 적용됩니다.

{% hint style="warning" %}
설정 전 확인 사항

* 설정 및 수정 시점: 운영 환경의 A/B 테스트가 **준비** 상태일 때만 가능합니다
* 테스트 시작 후 변경: 테스트 버전을 만들거나 새 A/B 테스트를 만들어야 합니다.
* 환경: 운영 환경과 개발 환경에서 각각 설정할 수 있습니다.
* 최대 개수: A/B 테스트당 최대 10개의 파라미터를 추가할 수 있습니다.

**운영 환경의 A/B 테스트를 시작한 뒤에는 파라미터를 수정할 수 없습니다.**
{% endhint %}

### 파라미터 설정하기

![파라미터 설정 화면](https://2738466581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHRZjjknm5KdNgPtDsbl%2Fuploads%2Fgit-blob-e95ad2db3fe648ece58c6060c67d49865f3525c0%2F6b1387b-parameter_setting_kr_7d323200325d501a.png?alt=media)

<table><thead><tr><th width="152.1875">항목</th><th width="267.59765625">설명</th><th>제약 사항</th></tr></thead><tbody><tr><td><strong>파라미터 키</strong></td><td>코드에서 사용하는 파라미터 키를 입력합니다.</td><td><p>알파벳, 숫자, <code>_</code>, <code>-</code>, <code>.</code>만 사용할 수 있습니다. 1~128자여야 합니다.</p><p>같은 A/B 테스트에서 중복할 수 없습니다.</p></td></tr><tr><td><strong>파라미터 유형</strong></td><td>파라미터 값의 형식을 선택합니다.</td><td><code>String</code>, <code>Number</code>, <code>Boolean</code>, <code>JSON</code>을 지원합니다. 유형에 따라 입력할 수 있는 값이 다릅니다.</td></tr><tr><td><strong>파라미터 값</strong></td><td>각 그룹에 적용할 값을 입력합니다.</td><td>테스트를 시작하기 전까지 사용자에게 적용되지 않습니다.</td></tr><tr><td><strong>파라미터 추가하기</strong></td><td>새 파라미터 설정을 추가합니다.</td><td>최대 10개까지 추가할 수 있습니다.</td></tr></tbody></table>

### 적용 방법

1. A/B 테스트 상세 페이지에서 관리할 항목의 파라미터 키를 만듭니다.
2. 값에 맞는 파라미터 유형을 선택합니다.
3. 각 그룹에 적용할 파라미터 값을 입력합니다.
4. 그룹별 코드에 파라미터 키를 적용합니다.
5. 배포 후 테스트 기기에서 키와 값이 정상 전달되는지 확인합니다.
6. 적용을 확인한 뒤 A/B 테스트를 시작합니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hackle.io/ab-test/create-and-configure/abtest-parameter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
